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.
Files changed (120) hide show
  1. diffsynth/__init__.py +6 -0
  2. diffsynth/configs/__init__.py +0 -0
  3. diffsynth/configs/model_config.py +243 -0
  4. diffsynth/controlnets/__init__.py +2 -0
  5. diffsynth/controlnets/controlnet_unit.py +53 -0
  6. diffsynth/controlnets/processors.py +51 -0
  7. diffsynth/data/__init__.py +1 -0
  8. diffsynth/data/simple_text_image.py +35 -0
  9. diffsynth/data/video.py +148 -0
  10. diffsynth/extensions/ESRGAN/__init__.py +118 -0
  11. diffsynth/extensions/FastBlend/__init__.py +63 -0
  12. diffsynth/extensions/FastBlend/api.py +397 -0
  13. diffsynth/extensions/FastBlend/cupy_kernels.py +119 -0
  14. diffsynth/extensions/FastBlend/data.py +146 -0
  15. diffsynth/extensions/FastBlend/patch_match.py +298 -0
  16. diffsynth/extensions/FastBlend/runners/__init__.py +4 -0
  17. diffsynth/extensions/FastBlend/runners/accurate.py +35 -0
  18. diffsynth/extensions/FastBlend/runners/balanced.py +46 -0
  19. diffsynth/extensions/FastBlend/runners/fast.py +141 -0
  20. diffsynth/extensions/FastBlend/runners/interpolation.py +121 -0
  21. diffsynth/extensions/RIFE/__init__.py +242 -0
  22. diffsynth/extensions/__init__.py +0 -0
  23. diffsynth/models/__init__.py +1 -0
  24. diffsynth/models/attention.py +89 -0
  25. diffsynth/models/downloader.py +66 -0
  26. diffsynth/models/hunyuan_dit.py +451 -0
  27. diffsynth/models/hunyuan_dit_text_encoder.py +163 -0
  28. diffsynth/models/kolors_text_encoder.py +1363 -0
  29. diffsynth/models/lora.py +195 -0
  30. diffsynth/models/model_manager.py +536 -0
  31. diffsynth/models/sd3_dit.py +798 -0
  32. diffsynth/models/sd3_text_encoder.py +1107 -0
  33. diffsynth/models/sd3_vae_decoder.py +81 -0
  34. diffsynth/models/sd3_vae_encoder.py +95 -0
  35. diffsynth/models/sd_controlnet.py +588 -0
  36. diffsynth/models/sd_ipadapter.py +57 -0
  37. diffsynth/models/sd_motion.py +199 -0
  38. diffsynth/models/sd_text_encoder.py +321 -0
  39. diffsynth/models/sd_unet.py +1108 -0
  40. diffsynth/models/sd_vae_decoder.py +336 -0
  41. diffsynth/models/sd_vae_encoder.py +282 -0
  42. diffsynth/models/sdxl_ipadapter.py +122 -0
  43. diffsynth/models/sdxl_motion.py +104 -0
  44. diffsynth/models/sdxl_text_encoder.py +759 -0
  45. diffsynth/models/sdxl_unet.py +1899 -0
  46. diffsynth/models/sdxl_vae_decoder.py +24 -0
  47. diffsynth/models/sdxl_vae_encoder.py +24 -0
  48. diffsynth/models/svd_image_encoder.py +505 -0
  49. diffsynth/models/svd_unet.py +2004 -0
  50. diffsynth/models/svd_vae_decoder.py +578 -0
  51. diffsynth/models/svd_vae_encoder.py +139 -0
  52. diffsynth/models/tiler.py +106 -0
  53. diffsynth/pipelines/__init__.py +9 -0
  54. diffsynth/pipelines/base.py +34 -0
  55. diffsynth/pipelines/dancer.py +178 -0
  56. diffsynth/pipelines/hunyuan_image.py +274 -0
  57. diffsynth/pipelines/pipeline_runner.py +105 -0
  58. diffsynth/pipelines/sd3_image.py +132 -0
  59. diffsynth/pipelines/sd_image.py +173 -0
  60. diffsynth/pipelines/sd_video.py +266 -0
  61. diffsynth/pipelines/sdxl_image.py +191 -0
  62. diffsynth/pipelines/sdxl_video.py +223 -0
  63. diffsynth/pipelines/svd_video.py +297 -0
  64. diffsynth/processors/FastBlend.py +142 -0
  65. diffsynth/processors/PILEditor.py +28 -0
  66. diffsynth/processors/RIFE.py +77 -0
  67. diffsynth/processors/__init__.py +0 -0
  68. diffsynth/processors/base.py +6 -0
  69. diffsynth/processors/sequencial_processor.py +41 -0
  70. diffsynth/prompters/__init__.py +6 -0
  71. diffsynth/prompters/base_prompter.py +57 -0
  72. diffsynth/prompters/hunyuan_dit_prompter.py +69 -0
  73. diffsynth/prompters/kolors_prompter.py +353 -0
  74. diffsynth/prompters/prompt_refiners.py +77 -0
  75. diffsynth/prompters/sd3_prompter.py +92 -0
  76. diffsynth/prompters/sd_prompter.py +73 -0
  77. diffsynth/prompters/sdxl_prompter.py +61 -0
  78. diffsynth/schedulers/__init__.py +3 -0
  79. diffsynth/schedulers/continuous_ode.py +59 -0
  80. diffsynth/schedulers/ddim.py +79 -0
  81. diffsynth/schedulers/flow_match.py +51 -0
  82. diffsynth/tokenizer_configs/__init__.py +0 -0
  83. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/special_tokens_map.json +7 -0
  84. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/tokenizer_config.json +16 -0
  85. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/vocab.txt +47020 -0
  86. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/vocab_org.txt +21128 -0
  87. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/config.json +28 -0
  88. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/special_tokens_map.json +1 -0
  89. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/spiece.model +0 -0
  90. diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/tokenizer_config.json +1 -0
  91. diffsynth/tokenizer_configs/kolors/tokenizer/tokenizer.model +0 -0
  92. diffsynth/tokenizer_configs/kolors/tokenizer/tokenizer_config.json +12 -0
  93. diffsynth/tokenizer_configs/kolors/tokenizer/vocab.txt +0 -0
  94. diffsynth/tokenizer_configs/stable_diffusion/tokenizer/merges.txt +48895 -0
  95. diffsynth/tokenizer_configs/stable_diffusion/tokenizer/special_tokens_map.json +24 -0
  96. diffsynth/tokenizer_configs/stable_diffusion/tokenizer/tokenizer_config.json +34 -0
  97. diffsynth/tokenizer_configs/stable_diffusion/tokenizer/vocab.json +49410 -0
  98. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/merges.txt +48895 -0
  99. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/special_tokens_map.json +30 -0
  100. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/tokenizer_config.json +30 -0
  101. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/vocab.json +49410 -0
  102. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/merges.txt +48895 -0
  103. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/special_tokens_map.json +30 -0
  104. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/tokenizer_config.json +38 -0
  105. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/vocab.json +49410 -0
  106. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/special_tokens_map.json +125 -0
  107. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/spiece.model +0 -0
  108. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/tokenizer.json +129428 -0
  109. diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/tokenizer_config.json +940 -0
  110. diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/merges.txt +40213 -0
  111. diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/special_tokens_map.json +24 -0
  112. diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/tokenizer_config.json +38 -0
  113. diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/vocab.json +49411 -0
  114. diffsynth/trainers/__init__.py +0 -0
  115. diffsynth/trainers/text_to_image.py +253 -0
  116. diffsynth-1.0.0.dist-info/LICENSE +201 -0
  117. diffsynth-1.0.0.dist-info/METADATA +23 -0
  118. diffsynth-1.0.0.dist-info/RECORD +120 -0
  119. diffsynth-1.0.0.dist-info/WHEEL +5 -0
  120. diffsynth-1.0.0.dist-info/top_level.txt +1 -0
File without changes
@@ -0,0 +1,253 @@
1
+ import lightning as pl
2
+ from peft import LoraConfig, inject_adapter_in_model
3
+ import torch, os
4
+ from ..data.simple_text_image import TextImageDataset
5
+ from modelscope.hub.api import HubApi
6
+
7
+
8
+
9
+ class LightningModelForT2ILoRA(pl.LightningModule):
10
+ def __init__(
11
+ self,
12
+ learning_rate=1e-4,
13
+ use_gradient_checkpointing=True,
14
+ ):
15
+ super().__init__()
16
+ # Set parameters
17
+ self.learning_rate = learning_rate
18
+ self.use_gradient_checkpointing = use_gradient_checkpointing
19
+
20
+
21
+ def load_models(self):
22
+ # This function is implemented in other modules
23
+ self.pipe = None
24
+
25
+
26
+ def freeze_parameters(self):
27
+ # Freeze parameters
28
+ self.pipe.requires_grad_(False)
29
+ self.pipe.eval()
30
+ self.pipe.denoising_model().train()
31
+
32
+
33
+ def add_lora_to_model(self, model, lora_rank=4, lora_alpha=4, lora_target_modules="to_q,to_k,to_v,to_out"):
34
+ # Add LoRA to UNet
35
+ lora_config = LoraConfig(
36
+ r=lora_rank,
37
+ lora_alpha=lora_alpha,
38
+ init_lora_weights="gaussian",
39
+ target_modules=lora_target_modules.split(","),
40
+ )
41
+ model = inject_adapter_in_model(lora_config, model)
42
+ for param in model.parameters():
43
+ # Upcast LoRA parameters into fp32
44
+ if param.requires_grad:
45
+ param.data = param.to(torch.float32)
46
+
47
+
48
+ def training_step(self, batch, batch_idx):
49
+ # Data
50
+ text, image = batch["text"], batch["image"]
51
+
52
+ # Prepare input parameters
53
+ self.pipe.device = self.device
54
+ prompt_emb = self.pipe.encode_prompt(text, positive=True)
55
+ latents = self.pipe.vae_encoder(image.to(dtype=self.pipe.torch_dtype, device=self.device))
56
+ noise = torch.randn_like(latents)
57
+ timestep_id = torch.randint(0, self.pipe.scheduler.num_train_timesteps, (1,))
58
+ timestep = self.pipe.scheduler.timesteps[timestep_id].to(self.device)
59
+ extra_input = self.pipe.prepare_extra_input(latents)
60
+ noisy_latents = self.pipe.scheduler.add_noise(latents, noise, timestep)
61
+ training_target = self.pipe.scheduler.training_target(latents, noise, timestep)
62
+
63
+ # Compute loss
64
+ noise_pred = self.pipe.denoising_model()(
65
+ noisy_latents, timestep=timestep, **prompt_emb, **extra_input,
66
+ use_gradient_checkpointing=self.use_gradient_checkpointing
67
+ )
68
+ loss = torch.nn.functional.mse_loss(noise_pred, training_target)
69
+
70
+ # Record log
71
+ self.log("train_loss", loss, prog_bar=True)
72
+ return loss
73
+
74
+
75
+ def configure_optimizers(self):
76
+ trainable_modules = filter(lambda p: p.requires_grad, self.pipe.denoising_model().parameters())
77
+ optimizer = torch.optim.AdamW(trainable_modules, lr=self.learning_rate)
78
+ return optimizer
79
+
80
+
81
+ def on_save_checkpoint(self, checkpoint):
82
+ checkpoint.clear()
83
+ trainable_param_names = list(filter(lambda named_param: named_param[1].requires_grad, self.pipe.denoising_model().named_parameters()))
84
+ trainable_param_names = set([named_param[0] for named_param in trainable_param_names])
85
+ state_dict = self.pipe.denoising_model().state_dict()
86
+ for name, param in state_dict.items():
87
+ if name in trainable_param_names:
88
+ checkpoint[name] = param
89
+
90
+
91
+
92
+ def add_general_parsers(parser):
93
+ parser.add_argument(
94
+ "--dataset_path",
95
+ type=str,
96
+ default=None,
97
+ required=True,
98
+ help="The path of the Dataset.",
99
+ )
100
+ parser.add_argument(
101
+ "--output_path",
102
+ type=str,
103
+ default="./",
104
+ help="Path to save the model.",
105
+ )
106
+ parser.add_argument(
107
+ "--steps_per_epoch",
108
+ type=int,
109
+ default=500,
110
+ help="Number of steps per epoch.",
111
+ )
112
+ parser.add_argument(
113
+ "--height",
114
+ type=int,
115
+ default=1024,
116
+ help="Image height.",
117
+ )
118
+ parser.add_argument(
119
+ "--width",
120
+ type=int,
121
+ default=1024,
122
+ help="Image width.",
123
+ )
124
+ parser.add_argument(
125
+ "--center_crop",
126
+ default=False,
127
+ action="store_true",
128
+ help=(
129
+ "Whether to center crop the input images to the resolution. If not set, the images will be randomly"
130
+ " cropped. The images will be resized to the resolution first before cropping."
131
+ ),
132
+ )
133
+ parser.add_argument(
134
+ "--random_flip",
135
+ default=False,
136
+ action="store_true",
137
+ help="Whether to randomly flip images horizontally",
138
+ )
139
+ parser.add_argument(
140
+ "--batch_size",
141
+ type=int,
142
+ default=1,
143
+ help="Batch size (per device) for the training dataloader.",
144
+ )
145
+ parser.add_argument(
146
+ "--dataloader_num_workers",
147
+ type=int,
148
+ default=0,
149
+ help="Number of subprocesses to use for data loading. 0 means that the data will be loaded in the main process.",
150
+ )
151
+ parser.add_argument(
152
+ "--precision",
153
+ type=str,
154
+ default="16-mixed",
155
+ choices=["32", "16", "16-mixed"],
156
+ help="Training precision",
157
+ )
158
+ parser.add_argument(
159
+ "--learning_rate",
160
+ type=float,
161
+ default=1e-4,
162
+ help="Learning rate.",
163
+ )
164
+ parser.add_argument(
165
+ "--lora_rank",
166
+ type=int,
167
+ default=4,
168
+ help="The dimension of the LoRA update matrices.",
169
+ )
170
+ parser.add_argument(
171
+ "--lora_alpha",
172
+ type=float,
173
+ default=4.0,
174
+ help="The weight of the LoRA update matrices.",
175
+ )
176
+ parser.add_argument(
177
+ "--use_gradient_checkpointing",
178
+ default=False,
179
+ action="store_true",
180
+ help="Whether to use gradient checkpointing.",
181
+ )
182
+ parser.add_argument(
183
+ "--accumulate_grad_batches",
184
+ type=int,
185
+ default=1,
186
+ help="The number of batches in gradient accumulation.",
187
+ )
188
+ parser.add_argument(
189
+ "--training_strategy",
190
+ type=str,
191
+ default="auto",
192
+ choices=["auto", "deepspeed_stage_1", "deepspeed_stage_2", "deepspeed_stage_3"],
193
+ help="Training strategy",
194
+ )
195
+ parser.add_argument(
196
+ "--max_epochs",
197
+ type=int,
198
+ default=1,
199
+ help="Number of epochs.",
200
+ )
201
+ parser.add_argument(
202
+ "--modelscope_model_id",
203
+ type=str,
204
+ default=None,
205
+ help="Model ID on ModelScope (https://www.modelscope.cn/). The model will be uploaded to ModelScope automatically if you provide a Model ID.",
206
+ )
207
+ parser.add_argument(
208
+ "--modelscope_access_token",
209
+ type=str,
210
+ default=None,
211
+ help="Access key on ModelScope (https://www.modelscope.cn/). Required if you want to upload the model to ModelScope.",
212
+ )
213
+ return parser
214
+
215
+
216
+ def launch_training_task(model, args):
217
+ # dataset and data loader
218
+ dataset = TextImageDataset(
219
+ args.dataset_path,
220
+ steps_per_epoch=args.steps_per_epoch * args.batch_size,
221
+ height=args.height,
222
+ width=args.width,
223
+ center_crop=args.center_crop,
224
+ random_flip=args.random_flip
225
+ )
226
+ train_loader = torch.utils.data.DataLoader(
227
+ dataset,
228
+ shuffle=True,
229
+ batch_size=args.batch_size,
230
+ num_workers=args.dataloader_num_workers
231
+ )
232
+
233
+ # train
234
+ trainer = pl.Trainer(
235
+ max_epochs=args.max_epochs,
236
+ accelerator="gpu",
237
+ devices="auto",
238
+ precision=args.precision,
239
+ strategy=args.training_strategy,
240
+ default_root_dir=args.output_path,
241
+ accumulate_grad_batches=args.accumulate_grad_batches,
242
+ callbacks=[pl.pytorch.callbacks.ModelCheckpoint(save_top_k=-1)]
243
+ )
244
+ trainer.fit(model=model, train_dataloaders=train_loader)
245
+
246
+ # Upload models
247
+ if args.modelscope_model_id is not None and args.modelscope_access_token is not None:
248
+ print(f"Uploading models to modelscope. model_id: {args.modelscope_model_id} local_path: {trainer.log_dir}")
249
+ with open(os.path.join(trainer.log_dir, "configuration.json"), "w", encoding="utf-8") as f:
250
+ f.write('{"framework":"Pytorch","task":"text-to-image-synthesis"}\n')
251
+ api = HubApi()
252
+ api.login(args.modelscope_access_token)
253
+ api.push_model(model_id=args.modelscope_model_id, model_dir=trainer.log_dir)
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [2023] [Zhongjie Duan]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,23 @@
1
+ Metadata-Version: 2.1
2
+ Name: diffsynth
3
+ Version: 1.0.0
4
+ Summary: Enjoy the magic of Diffusion models!
5
+ Author: Artiprocher
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: Apache Software License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.6
10
+ License-File: LICENSE
11
+ Requires-Dist: torch >=2.0.0
12
+ Requires-Dist: cupy-cuda12x
13
+ Requires-Dist: transformers
14
+ Requires-Dist: controlnet-aux ==0.0.7
15
+ Requires-Dist: streamlit
16
+ Requires-Dist: streamlit-drawable-canvas
17
+ Requires-Dist: imageio
18
+ Requires-Dist: imageio[ffmpeg]
19
+ Requires-Dist: safetensors
20
+ Requires-Dist: einops
21
+ Requires-Dist: sentencepiece
22
+ Requires-Dist: modelscope
23
+
@@ -0,0 +1,120 @@
1
+ diffsynth/__init__.py,sha256=c51i5iiSthyx2IRYzdvrOkE2im6ewjmFYz5qTJUodDQ,145
2
+ diffsynth/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ diffsynth/configs/model_config.py,sha256=mhxFl10QKWDZHCT8-Zw91vbDQ-CfwhMIrDoH9X4DIXU,14483
4
+ diffsynth/controlnets/__init__.py,sha256=2PO7IRUXVx7LK5Px-nC2FQc_6W8vx6edII9TvS5dKAo,124
5
+ diffsynth/controlnets/controlnet_unit.py,sha256=o4Djkwr6UO3rQVEL-WU7Kdqz80O1CSCIKKfs3cSZfOw,1919
6
+ diffsynth/controlnets/processors.py,sha256=kQmBJvr3gC_x-aAvc9GVyQ46JCNMUtrGRJpIooxUUmw,2158
7
+ diffsynth/data/__init__.py,sha256=3jZz4TkEsgYefndERMUEF9uWtCaRoKSV1pHn50divzM,54
8
+ diffsynth/data/simple_text_image.py,sha256=JbxW_EAZEBoyqFk9alDQ0bDRXvS_o3a2DWI6bx92e8Q,1472
9
+ diffsynth/data/video.py,sha256=0eS1EIMwizq1o2SKq-2qGhBEkGDqH5uljcpdHaUWjek,4654
10
+ diffsynth/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ diffsynth/extensions/ESRGAN/__init__.py,sha256=bh0INLrazWRqYgmJ5gegEvf4gOpCCO7F7qfreMF5PAw,4615
12
+ diffsynth/extensions/FastBlend/__init__.py,sha256=-aMxnqQF6n5jj24O9uX3ea3oMLc5o1ajncxCBIA7ukw,2823
13
+ diffsynth/extensions/FastBlend/api.py,sha256=2VVmoeZjCgAy_j_sCIoLU6wCzL-wrCjmKYSHwkFxFCU,20243
14
+ diffsynth/extensions/FastBlend/cupy_kernels.py,sha256=2LYwo_rMATJ9lgw2ks-vABN-bBe61bRkiWdol27JlAE,4430
15
+ diffsynth/extensions/FastBlend/data.py,sha256=l0TZG6BzwRF91bVr31JD4rYnkq3hZ9hb_BvpAym1VBE,4094
16
+ diffsynth/extensions/FastBlend/patch_match.py,sha256=yooXqPwguyGBar9IbFpLVXoMLWy6wmNTQeTKZzaCajo,13837
17
+ diffsynth/extensions/FastBlend/runners/__init__.py,sha256=2xiabPAIwPa62RTZe26hzVzTxT5xuDyrzbYRNMJM7Xg,202
18
+ diffsynth/extensions/FastBlend/runners/accurate.py,sha256=J8pIb6kN85bPym9sBOSSPETJh8bDuUCdmxR5UBMN4Bc,1531
19
+ diffsynth/extensions/FastBlend/runners/balanced.py,sha256=06glD0EBPOIWwKNyl4zCobsPfW1MD4k5DDufF8w1pdU,2142
20
+ diffsynth/extensions/FastBlend/runners/fast.py,sha256=bXm_36DGAnGUa59mbM1j8TUrithay41wII_HTHbtdbY,6648
21
+ diffsynth/extensions/FastBlend/runners/interpolation.py,sha256=T_Vcx9RyT3lwV_lCRyYn9aFrWHRVKdVljJgvRQKhfXc,5286
22
+ diffsynth/extensions/RIFE/__init__.py,sha256=CQMqura2jFtAizRTR52aoxZIygmMaAQudpDKdTnk8W0,10663
23
+ diffsynth/models/__init__.py,sha256=kcEpBwnZa24cQngaUXQOyU9psjI_rOb1PssuaQQgU64,29
24
+ diffsynth/models/attention.py,sha256=UXpXveHLJcJejFxeILyRVhGchJJGNFJvYvoL-T-ibk4,3957
25
+ diffsynth/models/downloader.py,sha256=9olf78YpYypC9SeJLz5rgrzvOQh_fbwxchJoq4En09w,2948
26
+ diffsynth/models/hunyuan_dit.py,sha256=KSKNBxRYV7nZJoJLRJBmAlzUHNSSOnT1Zm1nVVrowPE,20172
27
+ diffsynth/models/hunyuan_dit_text_encoder.py,sha256=CoTxoDDWYuK-Q8QQsUiR7F6-A1_y9ihfbLxjZHe9t88,5565
28
+ diffsynth/models/kolors_text_encoder.py,sha256=vwKse5n6FwDOi6LfgD732C6qBd9C5-XjCtJcprLm-4Q,58119
29
+ diffsynth/models/lora.py,sha256=SL9-soTcWOw03WB3kO3G6FsUGykj6JrDFoUfSXsi33g,8667
30
+ diffsynth/models/model_manager.py,sha256=ex7jbk66BFW1RY_tVwzoraQPA-TmmedxiMNxe8ZIAjY,23279
31
+ diffsynth/models/sd3_dit.py,sha256=nYuTLPULiJVC5NgEyPpIUWeQCGUszz8XgZUK2QSFaW0,73103
32
+ diffsynth/models/sd3_text_encoder.py,sha256=n8XotmIrgVY8PAZe9_RTuBcHzcqnbSy8dqWGMrLIsfc,109627
33
+ diffsynth/models/sd3_vae_decoder.py,sha256=2F377grvuHqK6dMeJAkCsZaNAK3q4Vm3qglei6eV3Hc,3006
34
+ diffsynth/models/sd3_vae_encoder.py,sha256=fXtIbIehwjhFSJnmSnza-FdRpV9941B2-yaBgSbN_I8,3599
35
+ diffsynth/models/sd_controlnet.py,sha256=vWrEa5NhK_8OzTAKUl-hv0a0ao-ncmpWbonZl2TjHB4,48249
36
+ diffsynth/models/sd_ipadapter.py,sha256=sd072gRQePtcsuVUmF-mTIZ3nLPO0rCaDV8TE6q44Bk,2362
37
+ diffsynth/models/sd_motion.py,sha256=DKWYg0wLt72IqVhARn260t6GxEmCGhFBimiKQLD49GY,8323
38
+ diffsynth/models/sd_text_encoder.py,sha256=oX4mmaTAO6sfyQIoUNrNUiJfJ5aBSs6Ax6jqJEhcoPE,28750
39
+ diffsynth/models/sd_unet.py,sha256=UC1JA5z4VgylcWrje-EfCfxtb655KNK74cFwPdauTxE,99140
40
+ diffsynth/models/sd_vae_decoder.py,sha256=skWVBUUx8OIsPCmjIRS58ox3cJ5az90yLWA4_IQIBC0,20845
41
+ diffsynth/models/sd_vae_encoder.py,sha256=KFUXQ9HgxyxTXxCTX-XexpC9YVCTGdZfTBKWzBUxF5w,17272
42
+ diffsynth/models/sdxl_ipadapter.py,sha256=n24MPVRArJg3fRdPXOpLOBt6-efY_7kgjUdFRcyAsSM,4918
43
+ diffsynth/models/sdxl_motion.py,sha256=6xM0NsKVaPOrBv4ZkwEnKP4onIaM_612Y4oVE2cy4es,4209
44
+ diffsynth/models/sdxl_text_encoder.py,sha256=mk1_87jRpztDRKUn6zyQyftshpqcGSRE2-BiNr13DNs,79460
45
+ diffsynth/models/sdxl_unet.py,sha256=ChYncBBLz9sgybxKX03IEZOwD_uwbufcYbzvjbjCd3s,234750
46
+ diffsynth/models/sdxl_vae_decoder.py,sha256=QlnRvif0l47DrCv10M_PBATwzLEee8SkIhJDoXnmdm0,762
47
+ diffsynth/models/sdxl_vae_encoder.py,sha256=o8aZBpn4kkYhMaKWDDwJ49RjPuGXOVzmOyQYmaOm09w,762
48
+ diffsynth/models/svd_image_encoder.py,sha256=8drhyPL4t82iOcApwD-WAwaJaZWPjWOYC9PY6X3AICc,60869
49
+ diffsynth/models/svd_unet.py,sha256=1BLSPr9iWLWnepJL4tKEkpks2Vlm95rdYj7hKA7xcr4,200456
50
+ diffsynth/models/svd_vae_decoder.py,sha256=Uf0xdrfJ38TfI5BrNIEgarVNSu6twLwTjY1H5E_fb6c,40309
51
+ diffsynth/models/svd_vae_encoder.py,sha256=uIWE9n8P6_gE_N3fIGK0Luheit0jpte4EcdoOEmdgOo,12377
52
+ diffsynth/models/tiler.py,sha256=QXSQ4JELh2sGGo-W6ZkeUqPEFwc0pPBLDz4pM7fI7Sc,4433
53
+ diffsynth/pipelines/__init__.py,sha256=MZkyC-FOeJpIE5ZAfQQVz-yRrXRyPbx9yyO5ieMtdOs,382
54
+ diffsynth/pipelines/base.py,sha256=hO1xfaLSvoJbvcA9gDz63fAauXTT391YR1_tzTbJbQk,1005
55
+ diffsynth/pipelines/dancer.py,sha256=hX4HFcjTiXCcvgacGzoAmpKZNhXtYWhfnvQ63Suvwuw,7200
56
+ diffsynth/pipelines/hunyuan_image.py,sha256=_cMqJ2bho77mw8zZKp6wxuYHPiqoAwjodnuxo0uEQn4,11058
57
+ diffsynth/pipelines/pipeline_runner.py,sha256=gRNyaEf6QKpqep9xU3Wd8QYHKZsvCU_3WyN08pFeVWc,5185
58
+ diffsynth/pipelines/sd3_image.py,sha256=OQ667v36iMjXUEGiUTI7aq-GC_z6DciaVGuWCTAZnRc,5144
59
+ diffsynth/pipelines/sd_image.py,sha256=MJf8MFGAGhfO44r6dYmd0HR8h4Fif3RuMv3s-Lfp4jc,7350
60
+ diffsynth/pipelines/sd_video.py,sha256=RPKocH3RtRM7CbJ4yKZlMz2A9hjvGXeTdX_iq-3Xjxc,11864
61
+ diffsynth/pipelines/sdxl_image.py,sha256=NEZ1mvpzXGeB_S8B1NukrH51qVGi-R5uMPOwXCK9vnE,8239
62
+ diffsynth/pipelines/sdxl_video.py,sha256=xWaGrhkb2S2GW6wkZvAhOapvNlwHNjLETldkhe6dWyY,10398
63
+ diffsynth/pipelines/svd_video.py,sha256=Trh9Zig6rV-7NIbg-ydZsrfaBmlXrfgY62I0_Dj0mwQ,11280
64
+ diffsynth/processors/FastBlend.py,sha256=AjshQORndz7MCFsD0eIUddRUmeUJfjlsWEsItvd1ZxE,7027
65
+ diffsynth/processors/PILEditor.py,sha256=13DPisZdtzMgypi1_6d7qv_3io18MRhcpCNu-37bn2M,855
66
+ diffsynth/processors/RIFE.py,sha256=i3k7G89JlniW9DVDWEs5fzrZzZd1uwjpGDU3o_Hyn34,3118
67
+ diffsynth/processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
+ diffsynth/processors/base.py,sha256=vrpALSR2lAoiRyE-nu1WVFhf4pOqmL8f3_lmcqU-RsE,118
69
+ diffsynth/processors/sequencial_processor.py,sha256=vVJfYpQwrbJw2ll4YU4PlIW0kr8PCJ8SsYVwsXgDWLI,1582
70
+ diffsynth/prompters/__init__.py,sha256=t9Z73sVvJ7n7bGptYy_we26vV0sEl3SX82E5cBMGEZg,268
71
+ diffsynth/prompters/base_prompter.py,sha256=kcs-JCqxbKxOqgIrYmcaBo-M3loqOsJ3TduuNEB8G6w,1722
72
+ diffsynth/prompters/hunyuan_dit_prompter.py,sha256=3YNB9pYdIaxsmvQzuSKv4PIkED9t7g8kl_MfconG1WM,2743
73
+ diffsynth/prompters/kolors_prompter.py,sha256=PnkyTa7Wytj1JVeW2YEw6sJDNq3OXbi6PZQoG7pJ6-k,14062
74
+ diffsynth/prompters/prompt_refiners.py,sha256=aYKcHDH3F4dpHUsOsF9SSLJmqwKbpFQZavmu1iwBE4g,3127
75
+ diffsynth/prompters/sd3_prompter.py,sha256=72WEz5rzDaYS4jBe-pXlJ9U3ZXAT_Pfh87-TEcxS1dQ,3839
76
+ diffsynth/prompters/sd_prompter.py,sha256=yKm2_BenQf5T6pV5Hfu_6J1Sxm5_kF3MeEEZ82kTuZI,3483
77
+ diffsynth/prompters/sdxl_prompter.py,sha256=6UpMYayHW_OhL21P3UzShZ1cnQW9VAxV7DArG7h6prs,2451
78
+ diffsynth/schedulers/__init__.py,sha256=VI_wuPo3vBePxTXSRKg9kqRP7Ihxy8vef_PAnYLcOVI,134
79
+ diffsynth/schedulers/continuous_ode.py,sha256=qiqq0qUzbKS7Bya-v5VcaEWT2iPBIFxKgS4gg_MAG-Y,2452
80
+ diffsynth/schedulers/ddim.py,sha256=SaPK3S4Zf4Uj6WnYGc361gjOeAMsTEfCt3CHGRfDltE,4173
81
+ diffsynth/schedulers/flow_match.py,sha256=kvcMsZ1tFzL-jgG3A1TRXrJjwzJFJ88jIJ4gpjByCXs,1899
82
+ diffsynth/tokenizer_configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/special_tokens_map.json,sha256=ttNGvjZqfR1IMy28n987-JYLXYeVIrd5ndulnnYjfuM,125
84
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/tokenizer_config.json,sha256=i1IiBcAxVYvb7Tt3qFiFoEAKBx8qFWTsrTNVt2CdHOM,559
85
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/vocab.txt,sha256=5NW1j9PkdW1pc6zTAZ9d4faBFNTmwcEbX2H0zsgqEqo,316627
86
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer/vocab_org.txt,sha256=RbusazQcMZrcmKUyUyiC6Rqc78AymqV7rJrnYcJ7KRw,109540
87
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/config.json,sha256=q0ATWv0tpbuz_xgudCTbWVsR_-5dyBvr2AifYoivsd8,688
88
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/special_tokens_map.json,sha256=CQWc7cJrxGvAmlLwW5LUki4RkX6H87kgWbsaY6WassQ,65
89
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/spiece.model,sha256=73j4ZWDYCQZ9ErrGwJ8ZpGLLOvP1TSuKy7om4UMxJdY,4309802
90
+ diffsynth/tokenizer_configs/hunyuan_dit/tokenizer_t5/tokenizer_config.json,sha256=PxgjGNKm0Cq2-2VzUyOcnwEE8p-LqcBy-3urjSZUNWc,248
91
+ diffsynth/tokenizer_configs/kolors/tokenizer/tokenizer.model,sha256=59xMOTQjt25Dc-UVfdw0gDoBibqWsh3btAJp0xRopvI,1018370
92
+ diffsynth/tokenizer_configs/kolors/tokenizer/tokenizer_config.json,sha256=KEc3DIUU239FXblPUkOacBM03WhxCCA2TmDaBILIXDY,249
93
+ diffsynth/tokenizer_configs/kolors/tokenizer/vocab.txt,sha256=59xMOTQjt25Dc-UVfdw0gDoBibqWsh3btAJp0xRopvI,1018370
94
+ diffsynth/tokenizer_configs/stable_diffusion/tokenizer/merges.txt,sha256=n9aR98gDkhDg_O0VhlRmxlgg0JtjmIsBdL_iXeKZBRo,524619
95
+ diffsynth/tokenizer_configs/stable_diffusion/tokenizer/special_tokens_map.json,sha256=xIZKk3aoQBkYQlvtcfwU_A6B-bWexFwc-WzMst9Qjqw,472
96
+ diffsynth/tokenizer_configs/stable_diffusion/tokenizer/tokenizer_config.json,sha256=AEOQZvy6c95XZEz0Hk47ny27Cdfz_CAFiYulI5kEWII,806
97
+ diffsynth/tokenizer_configs/stable_diffusion/tokenizer/vocab.json,sha256=4Imtkro2g3oNMUM-VVyPRf5gGrXCIdT2B97TLZ96Q0k,1059962
98
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/merges.txt,sha256=n9aR98gDkhDg_O0VhlRmxlgg0JtjmIsBdL_iXeKZBRo,524619
99
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/special_tokens_map.json,sha256=LNs7gzGmDJL8HlWhPp_WH9IpPFpRJ1_czNYreABSUw4,588
100
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/tokenizer_config.json,sha256=a9zunMzioWyitMDF7QC0LFDqIl9EcqjEweljopAsKIE,705
101
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_1/vocab.json,sha256=4Imtkro2g3oNMUM-VVyPRf5gGrXCIdT2B97TLZ96Q0k,1059962
102
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/merges.txt,sha256=n9aR98gDkhDg_O0VhlRmxlgg0JtjmIsBdL_iXeKZBRo,524619
103
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/special_tokens_map.json,sha256=xNu5bacD-zjxDM8EkN8v1HaBHFo-cbfgGJz_7tMiTiU,576
104
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/tokenizer_config.json,sha256=5w6z4rhaUI4yu4HDLBP8PysBVUjKRpuUYnwvMuRFy6E,856
105
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_2/vocab.json,sha256=4Imtkro2g3oNMUM-VVyPRf5gGrXCIdT2B97TLZ96Q0k,1059962
106
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/special_tokens_map.json,sha256=ehmFqZTEGIbbOMcZ0qPS9AYGZjzBnXxdaoXTSTIOBtI,2543
107
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/spiece.model,sha256=1grLEoz3t_JTbo84pbGKBVNcnhTHo1WQQnDhWwlF6oY,791656
108
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/tokenizer.json,sha256=ZS_9_DeWBrrY7ftlP5Lc8o4uXb8c3-UNaF0pssrRLdY,2424035
109
+ diffsynth/tokenizer_configs/stable_diffusion_3/tokenizer_3/tokenizer_config.json,sha256=g7Pnc37vdU78pgfZ9YB5jMNUV9qpYFLMYBefCVo3XBQ,20617
110
+ diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/merges.txt,sha256=IdB49dDupkGElwbyN6adebuCPD8_LYSGQrrKdxpF-FE,425984
111
+ diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/special_tokens_map.json,sha256=VsqCyemFKnkutYp55pKnL6CC3jqr9Zx2wc6s8otWLk8,503
112
+ diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/tokenizer_config.json,sha256=M4BlsbUVozdk5C8zCxv5HK7wqtKuE97PIdOVw3uw7DQ,854
113
+ diffsynth/tokenizer_configs/stable_diffusion_xl/tokenizer_2/vocab.json,sha256=fwLzliCb6_SJmHFs5McVg08IUBmwdostHPGjz7h0zKg,1158780
114
+ diffsynth/trainers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
+ diffsynth/trainers/text_to_image.py,sha256=ONmJocdZOfC5YwjyTEz_Lq0GW2SbGJ2xX2tmVRTHKEY,8274
116
+ diffsynth-1.0.0.dist-info/LICENSE,sha256=1DuWES1g2DWVOVZJ5hxrwhX1aAUql5MgSJVWxsEmLrE,11347
117
+ diffsynth-1.0.0.dist-info/METADATA,sha256=VB6tIeCyoCVpEtSo4w6bq0F7HvInTGFJkmTKTfA5THY,670
118
+ diffsynth-1.0.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
119
+ diffsynth-1.0.0.dist-info/top_level.txt,sha256=_z5Rn8AKTXO96Z9jc2HJL1j1L1Ym5p-r8p99AsrK864,10
120
+ diffsynth-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.43.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ diffsynth