File size: 10,861 Bytes
0ed6b0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
LICENSE
README.md
pyproject.toml
diffsynth/__init__.py
diffsynth/version.py
diffsynth.egg-info/PKG-INFO
diffsynth.egg-info/SOURCES.txt
diffsynth.egg-info/dependency_links.txt
diffsynth.egg-info/requires.txt
diffsynth.egg-info/top_level.txt
diffsynth/configs/__init__.py
diffsynth/configs/model_configs.py
diffsynth/configs/vram_management_module_maps.py
diffsynth/core/__init__.py
diffsynth/core/attention/__init__.py
diffsynth/core/attention/attention.py
diffsynth/core/data/__init__.py
diffsynth/core/data/operators.py
diffsynth/core/data/unified_dataset.py
diffsynth/core/device/__init__.py
diffsynth/core/device/npu_compatible_device.py
diffsynth/core/gradient/__init__.py
diffsynth/core/gradient/gradient_checkpoint.py
diffsynth/core/loader/__init__.py
diffsynth/core/loader/config.py
diffsynth/core/loader/file.py
diffsynth/core/loader/model.py
diffsynth/core/npu_patch/npu_fused_operator.py
diffsynth/core/offload_training/__init__.py
diffsynth/core/offload_training/manager.py
diffsynth/core/offload_training/memory_buffer.py
diffsynth/core/offload_training/offloader.py
diffsynth/core/quant/__init__.py
diffsynth/core/quant/base.py
diffsynth/core/quant/config.py
diffsynth/core/quant/backends/__init__.py
diffsynth/core/quant/backends/bitsandbytes.py
diffsynth/core/quant/backends/comfy_kitchen.py
diffsynth/core/quant/backends/torchao.py
diffsynth/core/vram/__init__.py
diffsynth/core/vram/disk_map.py
diffsynth/core/vram/initialization.py
diffsynth/core/vram/layers.py
diffsynth/diffusion/__init__.py
diffsynth/diffusion/base_pipeline.py
diffsynth/diffusion/ddim_scheduler.py
diffsynth/diffusion/dmd2.py
diffsynth/diffusion/flow_match.py
diffsynth/diffusion/logger.py
diffsynth/diffusion/loss.py
diffsynth/diffusion/parsers.py
diffsynth/diffusion/runner.py
diffsynth/diffusion/template.py
diffsynth/diffusion/training_module.py
diffsynth/metrics/__init__.py
diffsynth/metrics/aesthetic.py
diffsynth/metrics/base.py
diffsynth/metrics/bioclip.py
diffsynth/metrics/clip.py
diffsynth/metrics/fid.py
diffsynth/metrics/hpsv2.py
diffsynth/metrics/hpsv3.py
diffsynth/metrics/image_reward.py
diffsynth/metrics/lpips.py
diffsynth/metrics/pickscore.py
diffsynth/metrics/qwen_image_bench.py
diffsynth/metrics/unified_reward_2.py
diffsynth/metrics/unified_reward_edit.py
diffsynth/models/ace_step_conditioner.py
diffsynth/models/ace_step_dit.py
diffsynth/models/ace_step_residual_fsq.py
diffsynth/models/ace_step_text_encoder.py
diffsynth/models/ace_step_tokenizer.py
diffsynth/models/ace_step_vae.py
diffsynth/models/aesthetic.py
diffsynth/models/anima_dit.py
diffsynth/models/bioclip.py
diffsynth/models/boogu_image_dit.py
diffsynth/models/clip.py
diffsynth/models/demucs.py
diffsynth/models/dinov3_image_encoder.py
diffsynth/models/ernie_image_dit.py
diffsynth/models/ernie_image_text_encoder.py
diffsynth/models/fid.py
diffsynth/models/flux2_dit.py
diffsynth/models/flux2_text_encoder.py
diffsynth/models/flux2_vae.py
diffsynth/models/flux_controlnet.py
diffsynth/models/flux_dit.py
diffsynth/models/flux_infiniteyou.py
diffsynth/models/flux_ipadapter.py
diffsynth/models/flux_lora_encoder.py
diffsynth/models/flux_lora_patcher.py
diffsynth/models/flux_redux.py
diffsynth/models/flux_text_encoder_clip.py
diffsynth/models/flux_text_encoder_t5.py
diffsynth/models/flux_vae.py
diffsynth/models/flux_value_control.py
diffsynth/models/general_modules.py
diffsynth/models/hidream_common.py
diffsynth/models/hidream_o1_image_dit.py
diffsynth/models/hpsv2.py
diffsynth/models/hpsv3.py
diffsynth/models/ideogram4_dit.py
diffsynth/models/ideogram4_text_encoder.py
diffsynth/models/ideogram4_vae.py
diffsynth/models/image_reward.py
diffsynth/models/joyai_image_dit.py
diffsynth/models/joyai_image_text_encoder.py
diffsynth/models/krea2_dit.py
diffsynth/models/krea2_text_encoder.py
diffsynth/models/lingbot_video_dit.py
diffsynth/models/longcat_video_dit.py
diffsynth/models/lpips.py
diffsynth/models/ltx2_audio_vae.py
diffsynth/models/ltx2_common.py
diffsynth/models/ltx2_dit.py
diffsynth/models/ltx2_text_encoder.py
diffsynth/models/ltx2_upsampler.py
diffsynth/models/ltx2_video_vae.py
diffsynth/models/minimax_h3_audio_vae.py
diffsynth/models/minimax_h3_dit.py
diffsynth/models/minimax_h3_dit_comfy.py
diffsynth/models/minimax_h3_text_encoder.py
diffsynth/models/minimax_h3_video_vae.py
diffsynth/models/minimax_music3_condition_encoder.py
diffsynth/models/minimax_music3_dit.py
diffsynth/models/minimax_music3_rvq_depth_decoder.py
diffsynth/models/minimax_music3_text_encoder.py
diffsynth/models/minimax_music3_vocoder.py
diffsynth/models/model_loader.py
diffsynth/models/mova_audio_dit.py
diffsynth/models/mova_audio_vae.py
diffsynth/models/mova_dual_tower_bridge.py
diffsynth/models/nexus_gen.py
diffsynth/models/nexus_gen_ar_model.py
diffsynth/models/nexus_gen_projector.py
diffsynth/models/pickscore.py
diffsynth/models/qwen_image_bench.py
diffsynth/models/qwen_image_controlnet.py
diffsynth/models/qwen_image_dit.py
diffsynth/models/qwen_image_image2lora.py
diffsynth/models/qwen_image_text_encoder.py
diffsynth/models/qwen_image_vae.py
diffsynth/models/qwen_video_edit_dit.py
diffsynth/models/sd_text_encoder.py
diffsynth/models/siglip2_image_encoder.py
diffsynth/models/stable_diffusion_text_encoder.py
diffsynth/models/stable_diffusion_unet.py
diffsynth/models/stable_diffusion_vae.py
diffsynth/models/stable_diffusion_xl_text_encoder.py
diffsynth/models/stable_diffusion_xl_unet.py
diffsynth/models/step1x_connector.py
diffsynth/models/step1x_text_encoder.py
diffsynth/models/unified_reward_2.py
diffsynth/models/unified_reward_edit.py
diffsynth/models/wan_animate_2_dit.py
diffsynth/models/wan_video_animate_adapter.py
diffsynth/models/wan_video_camera_controller.py
diffsynth/models/wan_video_dit.py
diffsynth/models/wan_video_dit_s2v.py
diffsynth/models/wan_video_image_encoder.py
diffsynth/models/wan_video_mot.py
diffsynth/models/wan_video_motion_controller.py
diffsynth/models/wan_video_text_encoder.py
diffsynth/models/wan_video_vace.py
diffsynth/models/wan_video_vae.py
diffsynth/models/wantodance.py
diffsynth/models/wav2vec.py
diffsynth/models/z_image_controlnet.py
diffsynth/models/z_image_dit.py
diffsynth/models/z_image_image2lora.py
diffsynth/models/z_image_text_encoder.py
diffsynth/pipelines/ace_step.py
diffsynth/pipelines/anima_image.py
diffsynth/pipelines/boogu_image.py
diffsynth/pipelines/ernie_image.py
diffsynth/pipelines/flux2_image.py
diffsynth/pipelines/flux_image.py
diffsynth/pipelines/hidream_o1_image.py
diffsynth/pipelines/ideogram4.py
diffsynth/pipelines/joyai_image.py
diffsynth/pipelines/krea2.py
diffsynth/pipelines/lingbot_video.py
diffsynth/pipelines/ltx2_audio_video.py
diffsynth/pipelines/minimax_h3_audio_video.py
diffsynth/pipelines/minimax_music3.py
diffsynth/pipelines/mova_audio_video.py
diffsynth/pipelines/qwen_image.py
diffsynth/pipelines/qwen_video_edit.py
diffsynth/pipelines/stable_diffusion.py
diffsynth/pipelines/stable_diffusion_xl.py
diffsynth/pipelines/wan_video.py
diffsynth/pipelines/z_image.py
diffsynth/utils/controlnet/__init__.py
diffsynth/utils/controlnet/annotator.py
diffsynth/utils/controlnet/controlnet_input.py
diffsynth/utils/data/__init__.py
diffsynth/utils/data/audio.py
diffsynth/utils/data/audio_video.py
diffsynth/utils/data/media_io_ltx2.py
diffsynth/utils/data/minimax_h3.py
diffsynth/utils/demucs/__init__.py
diffsynth/utils/dequantizer/__init__.py
diffsynth/utils/lora/__init__.py
diffsynth/utils/lora/flux.py
diffsynth/utils/lora/flux_timestep.py
diffsynth/utils/lora/general.py
diffsynth/utils/lora/krea2.py
diffsynth/utils/lora/merge.py
diffsynth/utils/lora/minimax_h3.py
diffsynth/utils/lora/reset_rank.py
diffsynth/utils/lora/sdxl.py
diffsynth/utils/quant/serialization.py
diffsynth/utils/ses/__init__.py
diffsynth/utils/ses/ses.py
diffsynth/utils/state_dict_converters/__init__.py
diffsynth/utils/state_dict_converters/ace_step_conditioner.py
diffsynth/utils/state_dict_converters/ace_step_dit.py
diffsynth/utils/state_dict_converters/ace_step_text_encoder.py
diffsynth/utils/state_dict_converters/ace_step_tokenizer.py
diffsynth/utils/state_dict_converters/anima_dit.py
diffsynth/utils/state_dict_converters/dino_v3.py
diffsynth/utils/state_dict_converters/ernie_image_text_encoder.py
diffsynth/utils/state_dict_converters/flux2_text_encoder.py
diffsynth/utils/state_dict_converters/flux_controlnet.py
diffsynth/utils/state_dict_converters/flux_dit.py
diffsynth/utils/state_dict_converters/flux_infiniteyou.py
diffsynth/utils/state_dict_converters/flux_ipadapter.py
diffsynth/utils/state_dict_converters/flux_text_encoder_clip.py
diffsynth/utils/state_dict_converters/flux_text_encoder_t5.py
diffsynth/utils/state_dict_converters/flux_vae.py
diffsynth/utils/state_dict_converters/ideogram4_text_encoder.py
diffsynth/utils/state_dict_converters/image_metrics.py
diffsynth/utils/state_dict_converters/joyai_image_text_encoder.py
diffsynth/utils/state_dict_converters/krea2_dit.py
diffsynth/utils/state_dict_converters/krea2_text_encoder.py
diffsynth/utils/state_dict_converters/lingbot_video_dit.py
diffsynth/utils/state_dict_converters/ltx2_audio_vae.py
diffsynth/utils/state_dict_converters/ltx2_dit.py
diffsynth/utils/state_dict_converters/ltx2_text_encoder.py
diffsynth/utils/state_dict_converters/ltx2_video_vae.py
diffsynth/utils/state_dict_converters/minimax_h3_audio_vae.py
diffsynth/utils/state_dict_converters/minimax_h3_text_encoder.py
diffsynth/utils/state_dict_converters/minimax_h3_video_vae.py
diffsynth/utils/state_dict_converters/minimax_music3_text_encoder.py
diffsynth/utils/state_dict_converters/nexus_gen.py
diffsynth/utils/state_dict_converters/nexus_gen_projector.py
diffsynth/utils/state_dict_converters/qwen_image_text_encoder.py
diffsynth/utils/state_dict_converters/qwen_video_edit.py
diffsynth/utils/state_dict_converters/sdxl.py
diffsynth/utils/state_dict_converters/sdxl_text_encoder.py
diffsynth/utils/state_dict_converters/sdxl_text_encoder_2.py
diffsynth/utils/state_dict_converters/sdxl_vae.py
diffsynth/utils/state_dict_converters/stable_diffusion_text_encoder.py
diffsynth/utils/state_dict_converters/stable_diffusion_vae.py
diffsynth/utils/state_dict_converters/stable_diffusion_xl_text_encoder.py
diffsynth/utils/state_dict_converters/step1x_connector.py
diffsynth/utils/state_dict_converters/wan_video_animate_adapter.py
diffsynth/utils/state_dict_converters/wan_video_dit.py
diffsynth/utils/state_dict_converters/wan_video_image_encoder.py
diffsynth/utils/state_dict_converters/wan_video_mot.py
diffsynth/utils/state_dict_converters/wan_video_vace.py
diffsynth/utils/state_dict_converters/wan_video_vae.py
diffsynth/utils/state_dict_converters/wans2v_audio_encoder.py
diffsynth/utils/state_dict_converters/z_image_dit.py
diffsynth/utils/state_dict_converters/z_image_text_encoder.py
diffsynth/utils/tile/__init__.py
diffsynth/utils/tile/tile_worker.py
diffsynth/utils/xfuser/__init__.py
diffsynth/utils/xfuser/xdit_context_parallel.py