diffsynth 1.0.0__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/__init__.py +6 -0
- diffsynth/configs/__init__.py +0 -0
- diffsynth/configs/model_config.py +243 -0
- diffsynth/controlnets/__init__.py +2 -0
- diffsynth/controlnets/controlnet_unit.py +53 -0
- diffsynth/controlnets/processors.py +51 -0
- diffsynth/data/__init__.py +1 -0
- diffsynth/data/simple_text_image.py +35 -0
- diffsynth/data/video.py +148 -0
- diffsynth/extensions/ESRGAN/__init__.py +118 -0
- diffsynth/extensions/FastBlend/__init__.py +63 -0
- diffsynth/extensions/FastBlend/api.py +397 -0
- diffsynth/extensions/FastBlend/cupy_kernels.py +119 -0
- diffsynth/extensions/FastBlend/data.py +146 -0
- diffsynth/extensions/FastBlend/patch_match.py +298 -0
- diffsynth/extensions/FastBlend/runners/__init__.py +4 -0
- diffsynth/extensions/FastBlend/runners/accurate.py +35 -0
- diffsynth/extensions/FastBlend/runners/balanced.py +46 -0
- diffsynth/extensions/FastBlend/runners/fast.py +141 -0
- diffsynth/extensions/FastBlend/runners/interpolation.py +121 -0
- diffsynth/extensions/RIFE/__init__.py +242 -0
- diffsynth/extensions/__init__.py +0 -0
- diffsynth/models/__init__.py +1 -0
- diffsynth/models/attention.py +89 -0
- diffsynth/models/downloader.py +66 -0
- diffsynth/models/hunyuan_dit.py +451 -0
- diffsynth/models/hunyuan_dit_text_encoder.py +163 -0
- diffsynth/models/kolors_text_encoder.py +1363 -0
- diffsynth/models/lora.py +195 -0
- diffsynth/models/model_manager.py +536 -0
- diffsynth/models/sd3_dit.py +798 -0
- diffsynth/models/sd3_text_encoder.py +1107 -0
- diffsynth/models/sd3_vae_decoder.py +81 -0
- diffsynth/models/sd3_vae_encoder.py +95 -0
- diffsynth/models/sd_controlnet.py +588 -0
- diffsynth/models/sd_ipadapter.py +57 -0
- diffsynth/models/sd_motion.py +199 -0
- diffsynth/models/sd_text_encoder.py +321 -0
- diffsynth/models/sd_unet.py +1108 -0
- diffsynth/models/sd_vae_decoder.py +336 -0
- diffsynth/models/sd_vae_encoder.py +282 -0
- diffsynth/models/sdxl_ipadapter.py +122 -0
- diffsynth/models/sdxl_motion.py +104 -0
- diffsynth/models/sdxl_text_encoder.py +759 -0
- diffsynth/models/sdxl_unet.py +1899 -0
- diffsynth/models/sdxl_vae_decoder.py +24 -0
- diffsynth/models/sdxl_vae_encoder.py +24 -0
- diffsynth/models/svd_image_encoder.py +505 -0
- diffsynth/models/svd_unet.py +2004 -0
- diffsynth/models/svd_vae_decoder.py +578 -0
- diffsynth/models/svd_vae_encoder.py +139 -0
- diffsynth/models/tiler.py +106 -0
- diffsynth/pipelines/__init__.py +9 -0
- diffsynth/pipelines/base.py +34 -0
- diffsynth/pipelines/dancer.py +178 -0
- diffsynth/pipelines/hunyuan_image.py +274 -0
- diffsynth/pipelines/pipeline_runner.py +105 -0
- diffsynth/pipelines/sd3_image.py +132 -0
- diffsynth/pipelines/sd_image.py +173 -0
- diffsynth/pipelines/sd_video.py +266 -0
- diffsynth/pipelines/sdxl_image.py +191 -0
- diffsynth/pipelines/sdxl_video.py +223 -0
- diffsynth/pipelines/svd_video.py +297 -0
- diffsynth/processors/FastBlend.py +142 -0
- diffsynth/processors/PILEditor.py +28 -0
- diffsynth/processors/RIFE.py +77 -0
- diffsynth/processors/__init__.py +0 -0
- diffsynth/processors/base.py +6 -0
- diffsynth/processors/sequencial_processor.py +41 -0
- diffsynth/prompters/__init__.py +6 -0
- diffsynth/prompters/base_prompter.py +57 -0
- diffsynth/prompters/hunyuan_dit_prompter.py +69 -0
- diffsynth/prompters/kolors_prompter.py +353 -0
- diffsynth/prompters/prompt_refiners.py +77 -0
- diffsynth/prompters/sd3_prompter.py +92 -0
- diffsynth/prompters/sd_prompter.py +73 -0
- diffsynth/prompters/sdxl_prompter.py +61 -0
- diffsynth/schedulers/__init__.py +3 -0
- diffsynth/schedulers/continuous_ode.py +59 -0
- diffsynth/schedulers/ddim.py +79 -0
- diffsynth/schedulers/flow_match.py +51 -0
- diffsynth/tokenizer_configs/__init__.py +0 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/special_tokens_map.json +7 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/tokenizer_config.json +16 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/vocab.txt +47020 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/vocab_org.txt +21128 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/config.json +28 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/special_tokens_map.json +1 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/spiece.model +0 -0
- diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/tokenizer_config.json +1 -0
- diffsynth/tokenizer_configs/kolors/tokenizer/tokenizer.model +0 -0
- diffsynth/tokenizer_configs/kolors/tokenizer/tokenizer_config.json +12 -0
- diffsynth/tokenizer_configs/kolors/tokenizer/vocab.txt +0 -0
- diffsynth/tokenizer_configs/stable_diffusion/tokenizer/merges.txt +48895 -0
- diffsynth/tokenizer_configs/stable_diffusion/tokenizer/special_tokens_map.json +24 -0
- diffsynth/tokenizer_configs/stable_diffusion/tokenizer/tokenizer_config.json +34 -0
- diffsynth/tokenizer_configs/stable_diffusion/tokenizer/vocab.json +49410 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/merges.txt +48895 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/special_tokens_map.json +30 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/tokenizer_config.json +30 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/vocab.json +49410 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/merges.txt +48895 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/special_tokens_map.json +30 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/tokenizer_config.json +38 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/vocab.json +49410 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/special_tokens_map.json +125 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/spiece.model +0 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/tokenizer.json +129428 -0
- diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/tokenizer_config.json +940 -0
- diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/merges.txt +40213 -0
- diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/special_tokens_map.json +24 -0
- diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/tokenizer_config.json +38 -0
- diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/vocab.json +49411 -0
- diffsynth/trainers/__init__.py +0 -0
- diffsynth/trainers/text_to_image.py +253 -0
- diffsynth-1.0.0.dist-info/LICENSE +201 -0
- diffsynth-1.0.0.dist-info/METADATA +23 -0
- diffsynth-1.0.0.dist-info/RECORD +120 -0
- diffsynth-1.0.0.dist-info/WHEEL +5 -0
- diffsynth-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"additional_special_tokens": [
|
|
3
|
+
"<extra_id_0>",
|
|
4
|
+
"<extra_id_1>",
|
|
5
|
+
"<extra_id_2>",
|
|
6
|
+
"<extra_id_3>",
|
|
7
|
+
"<extra_id_4>",
|
|
8
|
+
"<extra_id_5>",
|
|
9
|
+
"<extra_id_6>",
|
|
10
|
+
"<extra_id_7>",
|
|
11
|
+
"<extra_id_8>",
|
|
12
|
+
"<extra_id_9>",
|
|
13
|
+
"<extra_id_10>",
|
|
14
|
+
"<extra_id_11>",
|
|
15
|
+
"<extra_id_12>",
|
|
16
|
+
"<extra_id_13>",
|
|
17
|
+
"<extra_id_14>",
|
|
18
|
+
"<extra_id_15>",
|
|
19
|
+
"<extra_id_16>",
|
|
20
|
+
"<extra_id_17>",
|
|
21
|
+
"<extra_id_18>",
|
|
22
|
+
"<extra_id_19>",
|
|
23
|
+
"<extra_id_20>",
|
|
24
|
+
"<extra_id_21>",
|
|
25
|
+
"<extra_id_22>",
|
|
26
|
+
"<extra_id_23>",
|
|
27
|
+
"<extra_id_24>",
|
|
28
|
+
"<extra_id_25>",
|
|
29
|
+
"<extra_id_26>",
|
|
30
|
+
"<extra_id_27>",
|
|
31
|
+
"<extra_id_28>",
|
|
32
|
+
"<extra_id_29>",
|
|
33
|
+
"<extra_id_30>",
|
|
34
|
+
"<extra_id_31>",
|
|
35
|
+
"<extra_id_32>",
|
|
36
|
+
"<extra_id_33>",
|
|
37
|
+
"<extra_id_34>",
|
|
38
|
+
"<extra_id_35>",
|
|
39
|
+
"<extra_id_36>",
|
|
40
|
+
"<extra_id_37>",
|
|
41
|
+
"<extra_id_38>",
|
|
42
|
+
"<extra_id_39>",
|
|
43
|
+
"<extra_id_40>",
|
|
44
|
+
"<extra_id_41>",
|
|
45
|
+
"<extra_id_42>",
|
|
46
|
+
"<extra_id_43>",
|
|
47
|
+
"<extra_id_44>",
|
|
48
|
+
"<extra_id_45>",
|
|
49
|
+
"<extra_id_46>",
|
|
50
|
+
"<extra_id_47>",
|
|
51
|
+
"<extra_id_48>",
|
|
52
|
+
"<extra_id_49>",
|
|
53
|
+
"<extra_id_50>",
|
|
54
|
+
"<extra_id_51>",
|
|
55
|
+
"<extra_id_52>",
|
|
56
|
+
"<extra_id_53>",
|
|
57
|
+
"<extra_id_54>",
|
|
58
|
+
"<extra_id_55>",
|
|
59
|
+
"<extra_id_56>",
|
|
60
|
+
"<extra_id_57>",
|
|
61
|
+
"<extra_id_58>",
|
|
62
|
+
"<extra_id_59>",
|
|
63
|
+
"<extra_id_60>",
|
|
64
|
+
"<extra_id_61>",
|
|
65
|
+
"<extra_id_62>",
|
|
66
|
+
"<extra_id_63>",
|
|
67
|
+
"<extra_id_64>",
|
|
68
|
+
"<extra_id_65>",
|
|
69
|
+
"<extra_id_66>",
|
|
70
|
+
"<extra_id_67>",
|
|
71
|
+
"<extra_id_68>",
|
|
72
|
+
"<extra_id_69>",
|
|
73
|
+
"<extra_id_70>",
|
|
74
|
+
"<extra_id_71>",
|
|
75
|
+
"<extra_id_72>",
|
|
76
|
+
"<extra_id_73>",
|
|
77
|
+
"<extra_id_74>",
|
|
78
|
+
"<extra_id_75>",
|
|
79
|
+
"<extra_id_76>",
|
|
80
|
+
"<extra_id_77>",
|
|
81
|
+
"<extra_id_78>",
|
|
82
|
+
"<extra_id_79>",
|
|
83
|
+
"<extra_id_80>",
|
|
84
|
+
"<extra_id_81>",
|
|
85
|
+
"<extra_id_82>",
|
|
86
|
+
"<extra_id_83>",
|
|
87
|
+
"<extra_id_84>",
|
|
88
|
+
"<extra_id_85>",
|
|
89
|
+
"<extra_id_86>",
|
|
90
|
+
"<extra_id_87>",
|
|
91
|
+
"<extra_id_88>",
|
|
92
|
+
"<extra_id_89>",
|
|
93
|
+
"<extra_id_90>",
|
|
94
|
+
"<extra_id_91>",
|
|
95
|
+
"<extra_id_92>",
|
|
96
|
+
"<extra_id_93>",
|
|
97
|
+
"<extra_id_94>",
|
|
98
|
+
"<extra_id_95>",
|
|
99
|
+
"<extra_id_96>",
|
|
100
|
+
"<extra_id_97>",
|
|
101
|
+
"<extra_id_98>",
|
|
102
|
+
"<extra_id_99>"
|
|
103
|
+
],
|
|
104
|
+
"eos_token": {
|
|
105
|
+
"content": "</s>",
|
|
106
|
+
"lstrip": false,
|
|
107
|
+
"normalized": false,
|
|
108
|
+
"rstrip": false,
|
|
109
|
+
"single_word": false
|
|
110
|
+
},
|
|
111
|
+
"pad_token": {
|
|
112
|
+
"content": "<pad>",
|
|
113
|
+
"lstrip": false,
|
|
114
|
+
"normalized": false,
|
|
115
|
+
"rstrip": false,
|
|
116
|
+
"single_word": false
|
|
117
|
+
},
|
|
118
|
+
"unk_token": {
|
|
119
|
+
"content": "<unk>",
|
|
120
|
+
"lstrip": false,
|
|
121
|
+
"normalized": false,
|
|
122
|
+
"rstrip": false,
|
|
123
|
+
"single_word": false
|
|
124
|
+
}
|
|
125
|
+
}
|
|
Binary file
|