Upload config.yaml with huggingface_hub
Browse files- config.yaml +40 -0
config.yaml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dtype: bfloat16
|
| 2 |
+
flux_path: black-forest-labs/FLUX.1-dev
|
| 3 |
+
model:
|
| 4 |
+
independent_condition: false
|
| 5 |
+
train:
|
| 6 |
+
accumulate_grad_batches: 1
|
| 7 |
+
condition_type: canny
|
| 8 |
+
dataloader_workers: 5
|
| 9 |
+
dataset:
|
| 10 |
+
cache_name: data_512_2M
|
| 11 |
+
condition_size:
|
| 12 |
+
- 512
|
| 13 |
+
- 512
|
| 14 |
+
drop_image_prob: 0.1
|
| 15 |
+
drop_text_prob: 0.1
|
| 16 |
+
target_size:
|
| 17 |
+
- 512
|
| 18 |
+
- 512
|
| 19 |
+
type: img
|
| 20 |
+
urls:
|
| 21 |
+
- https://huggingface.co/datasets/jackyhate/text-to-image-2M/resolve/main/data_512_2M/data_000045.tar
|
| 22 |
+
- https://huggingface.co/datasets/jackyhate/text-to-image-2M/resolve/main/data_512_2M/data_000046.tar
|
| 23 |
+
gradient_checkpointing: false
|
| 24 |
+
max_steps: -1
|
| 25 |
+
optimizer:
|
| 26 |
+
params:
|
| 27 |
+
lr: 1
|
| 28 |
+
safeguard_warmup: true
|
| 29 |
+
use_bias_correction: true
|
| 30 |
+
weight_decay: 0.01
|
| 31 |
+
type: Prodigy
|
| 32 |
+
rotation_adapter_config:
|
| 33 |
+
num_rotations: 4
|
| 34 |
+
r: 4
|
| 35 |
+
target_modules: (.*x_embedder|.*(?<!single_)transformer_blocks\.[0-9]+\.norm1\.linear|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_k|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_q|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_v|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_out\.0|.*(?<!single_)transformer_blocks\.[0-9]+\.ff\.net\.2|.*single_transformer_blocks\.[0-9]+\.norm\.linear|.*single_transformer_blocks\.[0-9]+\.proj_mlp|.*single_transformer_blocks\.[0-9]+\.proj_out|.*single_transformer_blocks\.[0-9]+\.attn.to_k|.*single_transformer_blocks\.[0-9]+\.attn.to_q|.*single_transformer_blocks\.[0-9]+\.attn.to_v|.*single_transformer_blocks\.[0-9]+\.attn.to_out)
|
| 36 |
+
sample_interval: 100
|
| 37 |
+
save_interval: 1000
|
| 38 |
+
save_path: runs
|
| 39 |
+
wandb:
|
| 40 |
+
project: OminiControlRotation
|