diffsynth-engine 0.7.1.dev6__py3-none-any.whl → 0.7.1.dev7__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.
- diffsynth_engine/pipelines/qwen_image.py +1 -1
- diffsynth_engine/utils/flag.py +4 -3
- {diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/METADATA +1 -1
- {diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/RECORD +7 -7
- {diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/WHEEL +1 -1
- {diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/licenses/LICENSE +0 -0
- {diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/top_level.txt +0 -0
|
@@ -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=
|
|
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]
|
diffsynth_engine/utils/flag.py
CHANGED
|
@@ -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
|
-
|
|
12
|
-
|
|
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:
|
|
@@ -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=
|
|
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=
|
|
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.
|
|
213
|
-
diffsynth_engine-0.7.1.
|
|
214
|
-
diffsynth_engine-0.7.1.
|
|
215
|
-
diffsynth_engine-0.7.1.
|
|
216
|
-
diffsynth_engine-0.7.1.
|
|
212
|
+
diffsynth_engine-0.7.1.dev7.dist-info/licenses/LICENSE,sha256=x7aBqQuVI0IYnftgoTPI_A0I_rjdjPPQkjnU6N2nikM,11346
|
|
213
|
+
diffsynth_engine-0.7.1.dev7.dist-info/METADATA,sha256=Tv8IEL6r7NbkQjxss_9VKtc59mXWTFyAWmWqYh5f6Nk,1163
|
|
214
|
+
diffsynth_engine-0.7.1.dev7.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
215
|
+
diffsynth_engine-0.7.1.dev7.dist-info/top_level.txt,sha256=6zgbiIzEHLbhgDKRyX0uBJOV3F6VnGGBRIQvSiYYn6w,17
|
|
216
|
+
diffsynth_engine-0.7.1.dev7.dist-info/RECORD,,
|
{diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{diffsynth_engine-0.7.1.dev6.dist-info → diffsynth_engine-0.7.1.dev7.dist-info}/top_level.txt
RENAMED
|
File without changes
|