Text-to-Image
Diffusers
Safetensors
diffusion
image-generation
reinforcement-learning
self-distillation
lora
Instructions to use WeiChow/DiffusionOPSD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WeiChow/DiffusionOPSD with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-3.5-medium,Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("WeiChow/DiffusionOPSD") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Remove training-only old adapters
Browse files- sd35-m-hpsv3/old/adapter_config.json +0 -41
- sd35-m-hpsv3/old/adapter_model.safetensors +0 -3
- z-image-turbo-hpsv3/old/adapter_config.json +0 -45
- z-image-turbo-hpsv3/old/adapter_model.safetensors +0 -3
- z-image-turbo-pointwise/old/adapter_config.json +0 -45
- z-image-turbo-pointwise/old/adapter_model.safetensors +0 -3
sd35-m-hpsv3/old/adapter_config.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"alpha_pattern": {},
|
| 3 |
-
"auto_mapping": {
|
| 4 |
-
"base_model_class": "SD3Transformer2DModel",
|
| 5 |
-
"parent_library": "diffusers.models.transformers.transformer_sd3"
|
| 6 |
-
},
|
| 7 |
-
"base_model_name_or_path": null,
|
| 8 |
-
"bias": "none",
|
| 9 |
-
"eva_config": null,
|
| 10 |
-
"exclude_modules": null,
|
| 11 |
-
"fan_in_fan_out": false,
|
| 12 |
-
"inference_mode": true,
|
| 13 |
-
"init_lora_weights": "gaussian",
|
| 14 |
-
"layer_replication": null,
|
| 15 |
-
"layers_pattern": null,
|
| 16 |
-
"layers_to_transform": null,
|
| 17 |
-
"loftq_config": {},
|
| 18 |
-
"lora_alpha": 64,
|
| 19 |
-
"lora_bias": false,
|
| 20 |
-
"lora_dropout": 0.0,
|
| 21 |
-
"megatron_config": null,
|
| 22 |
-
"megatron_core": "megatron.core",
|
| 23 |
-
"modules_to_save": null,
|
| 24 |
-
"peft_type": "LORA",
|
| 25 |
-
"r": 32,
|
| 26 |
-
"rank_pattern": {},
|
| 27 |
-
"revision": null,
|
| 28 |
-
"target_modules": [
|
| 29 |
-
"attn.add_v_proj",
|
| 30 |
-
"attn.add_q_proj",
|
| 31 |
-
"attn.to_k",
|
| 32 |
-
"attn.to_out.0",
|
| 33 |
-
"attn.to_add_out",
|
| 34 |
-
"attn.to_v",
|
| 35 |
-
"attn.add_k_proj",
|
| 36 |
-
"attn.to_q"
|
| 37 |
-
],
|
| 38 |
-
"task_type": null,
|
| 39 |
-
"use_dora": false,
|
| 40 |
-
"use_rslora": false
|
| 41 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sd35-m-hpsv3/old/adapter_model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:20036e7635bb78c1ed00e8cff8eb85aaf4eabf932cb4d6057002ecb4c7466165
|
| 3 |
-
size 75156544
|
|
|
|
|
|
|
|
|
|
|
|
z-image-turbo-hpsv3/old/adapter_config.json
DELETED
|
@@ -1,45 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"alpha_pattern": {},
|
| 3 |
-
"auto_mapping": {
|
| 4 |
-
"base_model_class": "ZImageTransformer2DModel",
|
| 5 |
-
"parent_library": "diffusers.models.transformers.transformer_z_image"
|
| 6 |
-
},
|
| 7 |
-
"base_model_name_or_path": null,
|
| 8 |
-
"bias": "none",
|
| 9 |
-
"corda_config": null,
|
| 10 |
-
"eva_config": null,
|
| 11 |
-
"exclude_modules": null,
|
| 12 |
-
"fan_in_fan_out": false,
|
| 13 |
-
"inference_mode": true,
|
| 14 |
-
"init_lora_weights": "gaussian",
|
| 15 |
-
"layer_replication": null,
|
| 16 |
-
"layers_pattern": null,
|
| 17 |
-
"layers_to_transform": null,
|
| 18 |
-
"loftq_config": {},
|
| 19 |
-
"lora_alpha": 64,
|
| 20 |
-
"lora_bias": false,
|
| 21 |
-
"lora_dropout": 0.0,
|
| 22 |
-
"megatron_config": null,
|
| 23 |
-
"megatron_core": "megatron.core",
|
| 24 |
-
"modules_to_save": null,
|
| 25 |
-
"peft_type": "LORA",
|
| 26 |
-
"qalora_group_size": 16,
|
| 27 |
-
"r": 32,
|
| 28 |
-
"rank_pattern": {},
|
| 29 |
-
"revision": null,
|
| 30 |
-
"target_modules": [
|
| 31 |
-
"to_k",
|
| 32 |
-
"w1",
|
| 33 |
-
"to_out.0",
|
| 34 |
-
"to_v",
|
| 35 |
-
"to_q",
|
| 36 |
-
"w3",
|
| 37 |
-
"w2"
|
| 38 |
-
],
|
| 39 |
-
"target_parameters": null,
|
| 40 |
-
"task_type": null,
|
| 41 |
-
"trainable_token_indices": null,
|
| 42 |
-
"use_dora": false,
|
| 43 |
-
"use_qalora": false,
|
| 44 |
-
"use_rslora": false
|
| 45 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
z-image-turbo-hpsv3/old/adapter_model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:337decfb951ef768ef7c2a6573ce718c52738cf4ef7c80ebc5e33278cb6ffbcf
|
| 3 |
-
size 158823032
|
|
|
|
|
|
|
|
|
|
|
|
z-image-turbo-pointwise/old/adapter_config.json
DELETED
|
@@ -1,45 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"alpha_pattern": {},
|
| 3 |
-
"auto_mapping": {
|
| 4 |
-
"base_model_class": "ZImageTransformer2DModel",
|
| 5 |
-
"parent_library": "diffusers.models.transformers.transformer_z_image"
|
| 6 |
-
},
|
| 7 |
-
"base_model_name_or_path": null,
|
| 8 |
-
"bias": "none",
|
| 9 |
-
"corda_config": null,
|
| 10 |
-
"eva_config": null,
|
| 11 |
-
"exclude_modules": null,
|
| 12 |
-
"fan_in_fan_out": false,
|
| 13 |
-
"inference_mode": true,
|
| 14 |
-
"init_lora_weights": "gaussian",
|
| 15 |
-
"layer_replication": null,
|
| 16 |
-
"layers_pattern": null,
|
| 17 |
-
"layers_to_transform": null,
|
| 18 |
-
"loftq_config": {},
|
| 19 |
-
"lora_alpha": 64,
|
| 20 |
-
"lora_bias": false,
|
| 21 |
-
"lora_dropout": 0.0,
|
| 22 |
-
"megatron_config": null,
|
| 23 |
-
"megatron_core": "megatron.core",
|
| 24 |
-
"modules_to_save": null,
|
| 25 |
-
"peft_type": "LORA",
|
| 26 |
-
"qalora_group_size": 16,
|
| 27 |
-
"r": 32,
|
| 28 |
-
"rank_pattern": {},
|
| 29 |
-
"revision": null,
|
| 30 |
-
"target_modules": [
|
| 31 |
-
"w2",
|
| 32 |
-
"to_v",
|
| 33 |
-
"w1",
|
| 34 |
-
"to_out.0",
|
| 35 |
-
"to_k",
|
| 36 |
-
"w3",
|
| 37 |
-
"to_q"
|
| 38 |
-
],
|
| 39 |
-
"target_parameters": null,
|
| 40 |
-
"task_type": null,
|
| 41 |
-
"trainable_token_indices": null,
|
| 42 |
-
"use_dora": false,
|
| 43 |
-
"use_qalora": false,
|
| 44 |
-
"use_rslora": false
|
| 45 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
z-image-turbo-pointwise/old/adapter_model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bb09fa265c0f5fc9cfaddeb3b2f634d6cee781b3aaf63732531d56e1949d1e54
|
| 3 |
-
size 158823032
|
|
|
|
|
|
|
|
|
|
|
|