diffsynth-engine 0.7.1.dev1__py3-none-any.whl → 0.7.1.dev2__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/models/z_image/qwen3.py +4 -1
- diffsynth_engine/models/z_image/z_image_dit.py +2 -1
- {diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/METADATA +1 -1
- {diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/RECORD +7 -7
- {diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/WHEEL +1 -1
- {diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/licenses/LICENSE +0 -0
- {diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/top_level.txt +0 -0
|
@@ -59,8 +59,11 @@ class Qwen3Model(PreTrainedModel):
|
|
|
59
59
|
device: str = "cuda:0",
|
|
60
60
|
dtype: torch.dtype = torch.bfloat16,
|
|
61
61
|
):
|
|
62
|
-
|
|
62
|
+
with torch.device("meta"):
|
|
63
|
+
model = cls(config=config, device="meta", dtype=dtype)
|
|
63
64
|
model.requires_grad_(False)
|
|
65
|
+
|
|
66
|
+
model.rotary_emb = Qwen3RotaryEmbedding(config=config, device=device)
|
|
64
67
|
model.load_state_dict(state_dict, assign=True)
|
|
65
68
|
model.to(device=device, dtype=dtype, non_blocking=True)
|
|
66
69
|
return model
|
|
@@ -584,7 +584,8 @@ class ZImageDiT(PreTrainedModel):
|
|
|
584
584
|
dtype: torch.dtype,
|
|
585
585
|
**kwargs,
|
|
586
586
|
):
|
|
587
|
-
|
|
587
|
+
with torch.device("meta"):
|
|
588
|
+
model = cls(device="meta", dtype=dtype, **kwargs)
|
|
588
589
|
model = model.requires_grad_(False)
|
|
589
590
|
model.load_state_dict(state_dict, assign=True)
|
|
590
591
|
model.to(device=device, dtype=dtype, non_blocking=True)
|
|
@@ -152,9 +152,9 @@ diffsynth_engine/models/wan/wan_s2v_dit.py,sha256=j63ulcWLY4XGITOKUMGX292LtSEtP-
|
|
|
152
152
|
diffsynth_engine/models/wan/wan_text_encoder.py,sha256=ePeOifbTI_o650mckzugyWPuHn5vhM-uFMcDVCijxPM,11394
|
|
153
153
|
diffsynth_engine/models/wan/wan_vae.py,sha256=dC7MoUFeXRL7SIY0LG1OOUiZW-pp9IbXCghutMxpXr4,38889
|
|
154
154
|
diffsynth_engine/models/z_image/__init__.py,sha256=7sQvTYf984sK6ke3Wr-_Pt3Qkqw_s540wPswn4nThkY,305
|
|
155
|
-
diffsynth_engine/models/z_image/qwen3.py,sha256=
|
|
155
|
+
diffsynth_engine/models/z_image/qwen3.py,sha256=QIS0ToOMa6p8-KsRla0s6hR9CUlLud8joo88mkdchwI,4698
|
|
156
156
|
diffsynth_engine/models/z_image/siglip.py,sha256=PjB6ECXXJKgEpU9gF5Fyyt8twjKNA5_jCAG_8qQkoc8,2661
|
|
157
|
-
diffsynth_engine/models/z_image/z_image_dit.py,sha256=
|
|
157
|
+
diffsynth_engine/models/z_image/z_image_dit.py,sha256=la_fcNRbLBuP7FS26ixS0hkcEo-NLmCLhvVeECEYSB0,23845
|
|
158
158
|
diffsynth_engine/models/z_image/z_image_dit_omni_base.py,sha256=cfdUFTwGFYRiyBhB_4ptn0lAvYuLAulF6zf0ABqlAzs,44854
|
|
159
159
|
diffsynth_engine/pipelines/__init__.py,sha256=pcqwWR-K3jOMYiko82gSKjixYPTrfWCpZAa6qrPmdFg,880
|
|
160
160
|
diffsynth_engine/pipelines/base.py,sha256=h6xOqT1LMFGrJYoTD68_VoHcfRX04je8KUE_y3BUZfM,17279
|
|
@@ -208,8 +208,8 @@ diffsynth_engine/utils/video.py,sha256=8FCaeqIdUsWMgWI_6SO9SPynsToGcLCQAVYFTc4CD
|
|
|
208
208
|
diffsynth_engine/utils/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
209
209
|
diffsynth_engine/utils/memory/linear_regression.py,sha256=oW_EQEw13oPoyUrxiL8A7Ksa5AuJ2ynI2qhCbfAuZbg,3930
|
|
210
210
|
diffsynth_engine/utils/memory/memory_predcit_model.py,sha256=EXprSl_zlVjgfMWNXP-iw83Ot3hyMcgYaRPv-dvyL84,3943
|
|
211
|
-
diffsynth_engine-0.7.1.
|
|
212
|
-
diffsynth_engine-0.7.1.
|
|
213
|
-
diffsynth_engine-0.7.1.
|
|
214
|
-
diffsynth_engine-0.7.1.
|
|
215
|
-
diffsynth_engine-0.7.1.
|
|
211
|
+
diffsynth_engine-0.7.1.dev2.dist-info/licenses/LICENSE,sha256=x7aBqQuVI0IYnftgoTPI_A0I_rjdjPPQkjnU6N2nikM,11346
|
|
212
|
+
diffsynth_engine-0.7.1.dev2.dist-info/METADATA,sha256=XWeya3ltnWaFkIu_ffP3vcuYZZzCC1FD9P4jJrFYv30,1163
|
|
213
|
+
diffsynth_engine-0.7.1.dev2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
214
|
+
diffsynth_engine-0.7.1.dev2.dist-info/top_level.txt,sha256=6zgbiIzEHLbhgDKRyX0uBJOV3F6VnGGBRIQvSiYYn6w,17
|
|
215
|
+
diffsynth_engine-0.7.1.dev2.dist-info/RECORD,,
|
{diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{diffsynth_engine-0.7.1.dev1.dist-info → diffsynth_engine-0.7.1.dev2.dist-info}/top_level.txt
RENAMED
|
File without changes
|