diffsynth-engine 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/PKG-INFO +1 -1
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/pipelines/base.py +7 -6
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/pipelines/flux_image.py +2 -1
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine.egg-info/PKG-INFO +1 -1
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/.gitignore +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/.pre-commit-config.yaml +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/LICENSE +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/MANIFEST.in +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/README.md +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/assets/dingtalk.png +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/assets/showcase.jpeg +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/base_scheduler.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/flow_match/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/flow_match/flow_beta.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/flow_match/flow_ddim.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/flow_match/recifited_flow.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/beta.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/ddim.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/exponential.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/karras.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/linear.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/noise_scheduler/stable_diffusion/sgm_uniform.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/flow_match/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/flow_match/flow_match_euler.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/brownian_tree.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/ddpm.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/deis.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/dpmpp_2m.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/dpmpp_2m_sde.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/dpmpp_3m_sde.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/epsilon.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/euler.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/stable_diffusion/euler_ancestral.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/components/vae.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/flux/flux_dit.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/flux/flux_text_encoder.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/flux/flux_vae.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sd/sd_text_encoder.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sd/sd_unet.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sd3/sd3_dit.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sd3/sd3_text_encoder.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sdxl/sdxl_text_encoder.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sdxl/sdxl_unet.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/1.3b-t2v.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/14b-flf2v.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/14b-i2v.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/14b-t2v.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_1/merges.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_1/special_tokens_map.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_1/tokenizer_config.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_1/vocab.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_2/special_tokens_map.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_2/spiece.model +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_2/tokenizer.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/flux/tokenizer_2/tokenizer_config.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer/merges.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer/special_tokens_map.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer/tokenizer_config.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer/vocab.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer_2/merges.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer_2/special_tokens_map.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer_2/tokenizer_config.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/sdxl/tokenizer_2/vocab.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/wan/umt5-xxl/special_tokens_map.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/wan/umt5-xxl/spiece.model +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/wan/umt5-xxl/tokenizer.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/tokenizers/wan/umt5-xxl/tokenizer_config.json +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/kernels/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/base.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/attention.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/lora.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/relative_position_emb.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/timestep.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/transformer_helper.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/unet_helper.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_controlnet.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_dit.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_ipadapter.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_redux.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_text_encoder.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_vae.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd/sd_text_encoder.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd/sd_unet.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd/sd_vae.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd3/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd3/sd3_dit.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd3/sd3_text_encoder.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd3/sd3_vae.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sdxl/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sdxl/sdxl_text_encoder.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sdxl/sdxl_unet.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sdxl/sdxl_vae.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/clip.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/siglip.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/t5.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/utils.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/vae/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/vae/vae.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/wan_dit.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/wan_image_encoder.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/wan_text_encoder.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/wan_vae.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/pipelines/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/pipelines/sd_image.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/pipelines/sdxl_image.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/pipelines/wan_video.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/processor/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/processor/canny_processor.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/processor/depth_processor.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tokenizers/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tokenizers/base.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tokenizers/clip.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tokenizers/t5.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tokenizers/wan.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_inpainting_tool.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_outpainting_tool.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_reference_tool.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_replace_tool.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/__init__.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/constants.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/download.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/env.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/flag.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/fp8_linear.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/gguf.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/image.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/loader.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/lock.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/logging.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/offload.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/onnx.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/parallel.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/platform.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/prompt.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/utils/video.py +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine.egg-info/SOURCES.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine.egg-info/dependency_links.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine.egg-info/requires.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine.egg-info/top_level.txt +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/docs/tutorial.md +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/docs/tutorial_zh.md +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/pyproject.toml +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/setup.cfg +0 -0
- {diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/setup.py +0 -0
|
@@ -151,11 +151,11 @@ class BasePipeline:
|
|
|
151
151
|
noise = torch.randn(shape, generator=generator, device=device, dtype=dtype)
|
|
152
152
|
return noise
|
|
153
153
|
|
|
154
|
-
def encode_image(
|
|
154
|
+
def encode_image(
|
|
155
|
+
self, image: torch.Tensor, tiled: bool = False, tile_size: int = 64, tile_stride: int = 32
|
|
156
|
+
) -> torch.Tensor:
|
|
155
157
|
image = image.to(self.device, self.vae_encoder.dtype)
|
|
156
|
-
latents = self.vae_encoder(
|
|
157
|
-
image, tiled=self.vae_tiled, tile_size=self.vae_tile_size, tile_stride=self.vae_tile_stride
|
|
158
|
-
)
|
|
158
|
+
latents = self.vae_encoder(image, tiled=tiled, tile_size=tile_size, tile_stride=tile_stride)
|
|
159
159
|
return latents
|
|
160
160
|
|
|
161
161
|
def decode_image(self, latent: torch.Tensor) -> torch.Tensor:
|
|
@@ -187,7 +187,7 @@ class BasePipeline:
|
|
|
187
187
|
self.load_models_to_device(["vae_encoder"])
|
|
188
188
|
noise = latents
|
|
189
189
|
image = self.preprocess_image(input_image).to(device=self.device, dtype=self.dtype)
|
|
190
|
-
latents = self.encode_image(image, tiled, tile_size, tile_stride)
|
|
190
|
+
latents = self.encode_image(image, tiled=tiled, tile_size=tile_size, tile_stride=tile_stride)
|
|
191
191
|
init_latents = latents.clone()
|
|
192
192
|
latents = self.sampler.add_noise(latents, noise, sigma_start)
|
|
193
193
|
else:
|
|
@@ -196,7 +196,8 @@ class BasePipeline:
|
|
|
196
196
|
# if you have any questions about this, please ask @dizhipeng.dzp for more details
|
|
197
197
|
latents = latents * sigmas[0] / ((sigmas[0] ** 2 + 1) ** 0.5)
|
|
198
198
|
init_latents = latents.clone()
|
|
199
|
-
sigmas, timesteps = sigmas.to(device=self.device), timesteps.to(self.device)
|
|
199
|
+
sigmas, timesteps = sigmas.to(device=self.device, dtype=self.dtype), timesteps.to(device=self.device, dtype=self.dtype)
|
|
200
|
+
init_latents, latents = init_latents.to(device=self.device, dtype=self.dtype), latents.to(device=self.device, dtype=self.dtype)
|
|
200
201
|
return init_latents, latents, sigmas, timesteps
|
|
201
202
|
|
|
202
203
|
def eval(self):
|
|
@@ -676,7 +676,8 @@ class FluxImagePipeline(BasePipeline):
|
|
|
676
676
|
num_inference_steps, mu=mu, sigma_min=1 / num_inference_steps, sigma_max=1.0
|
|
677
677
|
)
|
|
678
678
|
init_latents = latents.clone()
|
|
679
|
-
sigmas, timesteps = sigmas.to(device=self.device), timesteps.to(self.device)
|
|
679
|
+
sigmas, timesteps = sigmas.to(device=self.device, dtype=self.dtype), timesteps.to(device=self.device, dtype=self.dtype)
|
|
680
|
+
init_latents, latents = init_latents.to(device=self.device, dtype=self.dtype), latents.to(device=self.device, dtype=self.dtype)
|
|
680
681
|
return init_latents, latents, sigmas, timesteps
|
|
681
682
|
|
|
682
683
|
def prepare_masked_latent(self, image: Image.Image, mask: Image.Image | None, height: int, width: int):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/algorithm/sampler/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/components/vae.json
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/flux/flux_dit.json
RENAMED
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/flux/flux_vae.json
RENAMED
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sd/sd_unet.json
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sd3/sd3_dit.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/sdxl/sdxl_unet.json
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/1.3b-t2v.json
RENAMED
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/14b-i2v.json
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/conf/models/wan/dit/14b-t2v.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/attention.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/basic/unet_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_controlnet.py
RENAMED
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_ipadapter.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_redux.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/flux/flux_text_encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd/sd_text_encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sd3/sd3_text_encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/sdxl/sdxl_text_encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/__init__.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/clip.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/siglip.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/text_encoder/t5.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/wan_image_encoder.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/models/wan/wan_text_encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/processor/canny_processor.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/processor/depth_processor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_inpainting_tool.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_outpainting_tool.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_reference_tool.py
RENAMED
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine/tools/flux_replace_tool.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{diffsynth_engine-0.3.0 → diffsynth_engine-0.3.2}/diffsynth_engine.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|