| flux_path: "black-forest-labs/FLUX.1-dev" |
| dtype: "bfloat16" |
|
|
| model: |
| independent_condition: false |
|
|
| train: |
| accumulate_grad_batches: 1 |
| dataloader_workers: 5 |
| save_interval: 1000 |
| sample_interval: 100 |
| max_steps: -1 |
| gradient_checkpointing: false |
| save_path: "runs" |
|
|
| |
| condition_type: "subject" |
| dataset: |
| type: "subject" |
| condition_size: |
| - 512 |
| - 512 |
| target_size: |
| - 512 |
| - 512 |
| image_size: 512 |
| padding: 8 |
| drop_text_prob: 0.1 |
| drop_image_prob: 0.1 |
|
|
| wandb: |
| project: "OminiControRotation" |
|
|
| rotation_adapter_config: |
| r: 4 |
| num_rotations: 4 |
| 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)" |
| |
| |
|
|
| optimizer: |
| type: "Prodigy" |
| params: |
| lr: 1 |
| use_bias_correction: true |
| safeguard_warmup: true |
| weight_decay: 0.01 |
|
|
| |
| |
| |
| |
| |