Upload z_image_base LoRA final checkpoint (epoch 80)
Browse files- README.md +18 -0
- adapter_config.json +74 -0
- adapter_model.safetensors +3 -0
- training_config.toml +29 -0
- trigger_word.txt +1 -0
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- lora
|
| 4 |
+
- diffusion-pipe
|
| 5 |
+
- z_image_base
|
| 6 |
+
base_model: z-image/z-image-base
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# romanri85/zimage-base-lora
|
| 10 |
+
|
| 11 |
+
LoRA trained with [diffusion-pipe](https://github.com/tdrussell/diffusion-pipe) via serverless RunPod worker.
|
| 12 |
+
|
| 13 |
+
## Training Details
|
| 14 |
+
|
| 15 |
+
- **Model type**: z_image_base
|
| 16 |
+
- **Epochs**: 80
|
| 17 |
+
- **LoRA rank**: 32
|
| 18 |
+
- **Learning rate**: N/A
|
adapter_config.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": null,
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": false,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 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 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 32,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"4.adaLN_modulation.0",
|
| 33 |
+
"15.adaLN_modulation.0",
|
| 34 |
+
"20.adaLN_modulation.0",
|
| 35 |
+
"16.adaLN_modulation.0",
|
| 36 |
+
"10.adaLN_modulation.0",
|
| 37 |
+
"26.adaLN_modulation.0",
|
| 38 |
+
"27.adaLN_modulation.0",
|
| 39 |
+
"18.adaLN_modulation.0",
|
| 40 |
+
"23.adaLN_modulation.0",
|
| 41 |
+
"29.adaLN_modulation.0",
|
| 42 |
+
"13.adaLN_modulation.0",
|
| 43 |
+
"14.adaLN_modulation.0",
|
| 44 |
+
"7.adaLN_modulation.0",
|
| 45 |
+
"w1",
|
| 46 |
+
"2.adaLN_modulation.0",
|
| 47 |
+
"22.adaLN_modulation.0",
|
| 48 |
+
"8.adaLN_modulation.0",
|
| 49 |
+
"qkv",
|
| 50 |
+
"17.adaLN_modulation.0",
|
| 51 |
+
"19.adaLN_modulation.0",
|
| 52 |
+
"w2",
|
| 53 |
+
"0.adaLN_modulation.0",
|
| 54 |
+
"out",
|
| 55 |
+
"28.adaLN_modulation.0",
|
| 56 |
+
"3.adaLN_modulation.0",
|
| 57 |
+
"25.adaLN_modulation.0",
|
| 58 |
+
"9.adaLN_modulation.0",
|
| 59 |
+
"11.adaLN_modulation.0",
|
| 60 |
+
"24.adaLN_modulation.0",
|
| 61 |
+
"5.adaLN_modulation.0",
|
| 62 |
+
"12.adaLN_modulation.0",
|
| 63 |
+
"21.adaLN_modulation.0",
|
| 64 |
+
"1.adaLN_modulation.0",
|
| 65 |
+
"w3",
|
| 66 |
+
"6.adaLN_modulation.0"
|
| 67 |
+
],
|
| 68 |
+
"target_parameters": null,
|
| 69 |
+
"task_type": null,
|
| 70 |
+
"trainable_token_indices": null,
|
| 71 |
+
"use_dora": false,
|
| 72 |
+
"use_qalora": false,
|
| 73 |
+
"use_rslora": false
|
| 74 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7ef37f2bc69573a8e265ea50a503ae1347ea41cc81fa37dd1750d0e6db6b50a
|
| 3 |
+
size 174083128
|
training_config.toml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
output_dir = "/tmp/job_038749be-6705-42f5-99f9-a94f00a08cf4/training_outputs/z_image_base_lora"
|
| 2 |
+
save_every_n_epochs = 10
|
| 3 |
+
epochs = 80
|
| 4 |
+
pipeline_stages = 1
|
| 5 |
+
micro_batch_size_per_gpu = 1
|
| 6 |
+
gradient_accumulation_steps = 1
|
| 7 |
+
activation_checkpointing = true
|
| 8 |
+
dataset = "/tmp/job_038749be-6705-42f5-99f9-a94f00a08cf4/dataset.toml"
|
| 9 |
+
|
| 10 |
+
[model]
|
| 11 |
+
type = "z_image"
|
| 12 |
+
diffusion_model = "/workspace/models/models/z_image_base/z_image_bf16.safetensors"
|
| 13 |
+
vae = "/workspace/models/models/z_image/ae.safetensors"
|
| 14 |
+
dtype = "bfloat16"
|
| 15 |
+
[[model.text_encoders]]
|
| 16 |
+
path = "/workspace/models/models/z_image/qwen_3_4b.safetensors"
|
| 17 |
+
type = "lumina2"
|
| 18 |
+
|
| 19 |
+
[adapter]
|
| 20 |
+
type = "lora"
|
| 21 |
+
rank = 32
|
| 22 |
+
dtype = "bfloat16"
|
| 23 |
+
|
| 24 |
+
[optimizer]
|
| 25 |
+
type = "adamw_optimi"
|
| 26 |
+
lr = 0.0002
|
| 27 |
+
betas = [ 0.9, 0.99,]
|
| 28 |
+
weight_decay = 0.01
|
| 29 |
+
eps = 1e-8
|
trigger_word.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
t3es9s5a1
|