Add step8064
Browse files- step8064/adapter_config.json +45 -0
- step8064/adapter_model.safetensors +3 -0
- step8064/train_low.toml +54 -0
step8064/adapter_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 16,
|
| 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": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"ffn.2",
|
| 33 |
+
"q",
|
| 34 |
+
"k",
|
| 35 |
+
"v",
|
| 36 |
+
"o",
|
| 37 |
+
"ffn.0"
|
| 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 |
+
}
|
step8064/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e0ba54ed8ab8f44648de986737de9518f5328abb3ccb680e0ef3c9b5ba2cf1c
|
| 3 |
+
size 153453160
|
step8064/train_low.toml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Wan 2.2 I2V 14B - LOW NOISE LoRA training
|
| 2 |
+
# Low noise model handles details, anatomy, fine textures
|
| 3 |
+
|
| 4 |
+
output_dir = '/workspace/work/output_low'
|
| 5 |
+
dataset = '/workspace/work/diffusion-pipe/configs/dataset_blink.toml'
|
| 6 |
+
|
| 7 |
+
# training settings
|
| 8 |
+
epochs = 1000
|
| 9 |
+
max_steps = 1875
|
| 10 |
+
micro_batch_size_per_gpu = 2
|
| 11 |
+
pipeline_stages = 1
|
| 12 |
+
gradient_accumulation_steps = 1
|
| 13 |
+
gradient_clipping = 1.0
|
| 14 |
+
warmup_steps = 100
|
| 15 |
+
|
| 16 |
+
# eval settings
|
| 17 |
+
eval_every_n_epochs = 1
|
| 18 |
+
eval_before_first_step = true
|
| 19 |
+
eval_micro_batch_size_per_gpu = 1
|
| 20 |
+
eval_gradient_accumulation_steps = 1
|
| 21 |
+
|
| 22 |
+
# misc settings
|
| 23 |
+
save_every_n_steps = 63
|
| 24 |
+
checkpoint_every_n_minutes = 60
|
| 25 |
+
activation_checkpointing = true
|
| 26 |
+
compile = true
|
| 27 |
+
partition_method = 'parameters'
|
| 28 |
+
save_dtype = 'bfloat16'
|
| 29 |
+
caching_batch_size = 1
|
| 30 |
+
steps_per_print = 1
|
| 31 |
+
video_clip_mode = 'single_beginning'
|
| 32 |
+
|
| 33 |
+
[model]
|
| 34 |
+
type = 'wan'
|
| 35 |
+
ckpt_path = '/workspace/work/models/Wan2.2-I2V-A14B'
|
| 36 |
+
transformer_path = '/workspace/work/models/comfyui/split_files/diffusion_models/wan2.2_i2v_low_noise_14B_fp16.safetensors'
|
| 37 |
+
llm_path = '/workspace/work/models/comfyui/split_files/text_encoders/umt5_xxl_fp16.safetensors'
|
| 38 |
+
dtype = 'bfloat16'
|
| 39 |
+
transformer_dtype = 'float8'
|
| 40 |
+
timestep_sample_method = 'logit_normal'
|
| 41 |
+
# Full timestep range for low noise — helps with high->low switching at inference
|
| 42 |
+
# (advice from PENISLORA author: train low on 0-1 instead of restricted range)
|
| 43 |
+
|
| 44 |
+
[adapter]
|
| 45 |
+
type = 'lora'
|
| 46 |
+
rank = 16
|
| 47 |
+
dtype = 'bfloat16'
|
| 48 |
+
|
| 49 |
+
[optimizer]
|
| 50 |
+
type = 'adamw_optimi'
|
| 51 |
+
lr = 2e-5
|
| 52 |
+
betas = [0.9, 0.99]
|
| 53 |
+
weight_decay = 0.01
|
| 54 |
+
eps = 1e-8
|