diffsynth-engine 0.7.1.dev6__py3-none-any.whl → 0.7.1.dev8__py3-none-any.whl

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.
@@ -695,7 +695,7 @@ class QwenImagePipeline(BasePipeline):
695
695
 
696
696
  if width is None and height is None:
697
697
  width, height = 1328, 1328
698
- self.validate_image_size(height, width, minimum=64, multiple_of=16)
698
+ self.validate_image_size(height, width, minimum=16, multiple_of=16)
699
699
 
700
700
  if not isinstance(controlnet_params, list):
701
701
  controlnet_params = [controlnet_params]
@@ -8,8 +8,9 @@ logger = logging.get_logger(__name__)
8
8
 
9
9
  def check_module_available(module_path: str, module_name: str = None) -> bool:
10
10
  try:
11
- available = importlib.util.find_spec(module_path) is not None
12
- except (ModuleNotFoundError, AttributeError, ValueError):
11
+ importlib.import_module(module_path)
12
+ available = True
13
+ except Exception:
13
14
  available = False
14
15
 
15
16
  if module_name:
@@ -26,7 +27,7 @@ FLASH_ATTN_4_AVAILABLE = check_module_available("flash_attn.cute.interface", "Fl
26
27
  FLASH_ATTN_3_AVAILABLE = check_module_available("flash_attn_interface", "Flash attention 3")
27
28
  FLASH_ATTN_2_AVAILABLE = check_module_available("flash_attn", "Flash attention 2")
28
29
  XFORMERS_AVAILABLE = check_module_available("xformers", "XFormers")
29
- AITER_AVAILABLE = check_module_available("aiter", "Aiter")
30
+ AITER_AVAILABLE = check_module_available("aiter.flash_attn_fp8_pertensor_func", "Aiter")
30
31
 
31
32
  SDPA_AVAILABLE = hasattr(torch.nn.functional, "scaled_dot_product_attention")
32
33
  if SDPA_AVAILABLE:
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diffsynth_engine
3
- Version: 0.7.1.dev6
3
+ Version: 0.7.1.dev8
4
4
  Author: MuseAI x ModelScope
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Operating System :: OS Independent
7
7
  Requires-Python: >=3.10
8
8
  License-File: LICENSE
9
- Requires-Dist: torch>=2.6
9
+ Requires-Dist: torch<=2.8,>=2.6
10
10
  Requires-Dist: torchvision
11
11
  Requires-Dist: numpy
12
12
  Requires-Dist: safetensors
@@ -161,7 +161,7 @@ diffsynth_engine/pipelines/base.py,sha256=h6xOqT1LMFGrJYoTD68_VoHcfRX04je8KUE_y3
161
161
  diffsynth_engine/pipelines/flux2_klein_image.py,sha256=ZNdr0j_o4JlHfdKT1MaRhAiPivv3iuLF6R5tXOyl1Es,24908
162
162
  diffsynth_engine/pipelines/flux_image.py,sha256=L0ggxpthLD8a5-zdPHu9z668uWBei9YzPb4PFVypDNU,50707
163
163
  diffsynth_engine/pipelines/hunyuan3d_shape.py,sha256=TNV0Wr09Dj2bzzlpua9WioCClOj3YiLfE6utI9aWL8A,8164
164
- diffsynth_engine/pipelines/qwen_image.py,sha256=Xc3H5LiQj2MUdi2KgFD2G2VqDwUa2ehqj4H35sr8iro,35627
164
+ diffsynth_engine/pipelines/qwen_image.py,sha256=0GvGoZ1Ju5MPzZcszbSp8vvVKi3IIhPg8zMw6tsFjz4,35627
165
165
  diffsynth_engine/pipelines/sd_image.py,sha256=nr-Nhsnomq8CsUqhTM3i2l2zG01YjwXdfRXgr_bC3F0,17891
166
166
  diffsynth_engine/pipelines/sdxl_image.py,sha256=v7ZACGPb6EcBunL6e5E9jynSQjE7GQx8etEV-ZLP91g,21704
167
167
  diffsynth_engine/pipelines/utils.py,sha256=HZbJHErNJS1DhlwJKvZ9dY7Kh8Zdlsw3zE2e88TYGRY,2277
@@ -192,7 +192,7 @@ diffsynth_engine/utils/cache.py,sha256=Ivef22pCuhEq-4H00gSvkLS8ceVZoGis7OSitYL6g
192
192
  diffsynth_engine/utils/constants.py,sha256=Tsn3EAByfZra-nGcx0NEcP9nWTPKaDGdatosE3BuPGE,3846
193
193
  diffsynth_engine/utils/download.py,sha256=w9QQjllPfTUEY371UTREU7o_vvdMY-Q2DymDel3ZEZY,6792
194
194
  diffsynth_engine/utils/env.py,sha256=k749eYt_qKGq38GocDiXfkhp8nZrowFefNVTZ8R755I,363
195
- diffsynth_engine/utils/flag.py,sha256=Ubm7FF0vHG197bmJGEplp4XauBlUaQVv-zr-w6VyEIM,2493
195
+ diffsynth_engine/utils/flag.py,sha256=PSssT1agxSMMAVRZXBnilQ1q3rZwzk8lGCGfTJgtqa4,2483
196
196
  diffsynth_engine/utils/fp8_linear.py,sha256=k34YFWo2dc3t8aKjHaCW9CbQMOTqXxaDHk8aw8aKif4,3857
197
197
  diffsynth_engine/utils/gguf.py,sha256=ZWvw46V4g4uVyAR_oCq-4K5nPdKVrYk3u47uXMgA9lU,14092
198
198
  diffsynth_engine/utils/image.py,sha256=jqx-UKfdc2YRBtHoL-RP2M8yce_0h2rTIJgf6mux-aU,12695
@@ -209,8 +209,8 @@ diffsynth_engine/utils/video.py,sha256=8FCaeqIdUsWMgWI_6SO9SPynsToGcLCQAVYFTc4CD
209
209
  diffsynth_engine/utils/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
210
  diffsynth_engine/utils/memory/linear_regression.py,sha256=oW_EQEw13oPoyUrxiL8A7Ksa5AuJ2ynI2qhCbfAuZbg,3930
211
211
  diffsynth_engine/utils/memory/memory_predcit_model.py,sha256=EXprSl_zlVjgfMWNXP-iw83Ot3hyMcgYaRPv-dvyL84,3943
212
- diffsynth_engine-0.7.1.dev6.dist-info/licenses/LICENSE,sha256=x7aBqQuVI0IYnftgoTPI_A0I_rjdjPPQkjnU6N2nikM,11346
213
- diffsynth_engine-0.7.1.dev6.dist-info/METADATA,sha256=rriiDgtLmHVUmFGOPEP7kuSGi6wOYR8gggOZ9EGdSG8,1163
214
- diffsynth_engine-0.7.1.dev6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
215
- diffsynth_engine-0.7.1.dev6.dist-info/top_level.txt,sha256=6zgbiIzEHLbhgDKRyX0uBJOV3F6VnGGBRIQvSiYYn6w,17
216
- diffsynth_engine-0.7.1.dev6.dist-info/RECORD,,
212
+ diffsynth_engine-0.7.1.dev8.dist-info/licenses/LICENSE,sha256=x7aBqQuVI0IYnftgoTPI_A0I_rjdjPPQkjnU6N2nikM,11346
213
+ diffsynth_engine-0.7.1.dev8.dist-info/METADATA,sha256=a759WbefN2oq3WE6oagw4_ZrjNzOdLSo_cmnjw-7wUg,1169
214
+ diffsynth_engine-0.7.1.dev8.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
215
+ diffsynth_engine-0.7.1.dev8.dist-info/top_level.txt,sha256=6zgbiIzEHLbhgDKRyX0uBJOV3F6VnGGBRIQvSiYYn6w,17
216
+ diffsynth_engine-0.7.1.dev8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.10.2)
2
+ Generator: setuptools (82.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5