Zaytron40k commited on
Commit
027c713
·
verified ·
1 Parent(s): 8fa4950

Upload config/Flux2shift_config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config/Flux2shift_config.yaml +123 -0
config/Flux2shift_config.yaml ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: "extension"
2
+ config:
3
+ name: "Flux2Def"
4
+ process:
5
+ - type: "diffusion_trainer"
6
+ training_folder: "/app/ai-toolkit/output"
7
+ sqlite_db_path: "./aitk_db.db"
8
+ device: "cuda"
9
+ trigger_word: null
10
+ performance_log_every: 10
11
+ network:
12
+ type: "lora"
13
+ linear: 128
14
+ linear_alpha: 64
15
+ conv: 64
16
+ conv_alpha: 32
17
+ lokr_full_rank: true
18
+ lokr_factor: -1
19
+ network_kwargs:
20
+ ignore_if_contains: []
21
+ save:
22
+ dtype: "bf16"
23
+ save_every: 250
24
+ max_step_saves_to_keep: 25
25
+ save_format: "diffusers"
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: "/app/ai-toolkit/datasets/fluxy"
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: ""
32
+ caption_ext: "txt"
33
+ caption_dropout_rate: 0.05
34
+ cache_latents_to_disk: false
35
+ is_reg: false
36
+ network_weight: 1
37
+ resolution:
38
+ - 768
39
+ - 1024
40
+ - 512
41
+ - 1280
42
+ - 1328
43
+ - 1536
44
+ controls: []
45
+ shrink_video_to_frames: true
46
+ num_frames: 1
47
+ flip_x: false
48
+ flip_y: false
49
+ num_repeats: 1
50
+ control_path_1: null
51
+ control_path_2: null
52
+ control_path_3: null
53
+ train:
54
+ batch_size: 1
55
+ bypass_guidance_embedding: false
56
+ steps: 5000
57
+ gradient_accumulation: 1
58
+ train_unet: true
59
+ train_text_encoder: false
60
+ gradient_checkpointing: true
61
+ noise_scheduler: "flowmatch"
62
+ optimizer: "adamw8bit"
63
+ timestep_type: "shift"
64
+ content_or_style: "balanced"
65
+ optimizer_params:
66
+ weight_decay: 0.00015
67
+ unload_text_encoder: false
68
+ cache_text_embeddings: false
69
+ lr: 0.000095
70
+ ema_config:
71
+ use_ema: false
72
+ ema_decay: 0.99
73
+ skip_first_sample: false
74
+ force_first_sample: false
75
+ disable_sampling: true
76
+ dtype: "bf16"
77
+ diff_output_preservation: false
78
+ diff_output_preservation_multiplier: 1
79
+ diff_output_preservation_class: "person"
80
+ switch_boundary_every: 1
81
+ loss_type: "mse"
82
+ logging:
83
+ log_every: 1
84
+ use_ui_logger: true
85
+ model:
86
+ name_or_path: "black-forest-labs/FLUX.2-klein-base-9B"
87
+ quantize: false
88
+ qtype: "qfloat8"
89
+ quantize_te: false
90
+ qtype_te: "qfloat8"
91
+ arch: "flux2_klein_9b"
92
+ low_vram: false
93
+ model_kwargs:
94
+ match_target_res: false
95
+ layer_offloading: false
96
+ layer_offloading_text_encoder_percent: 1
97
+ layer_offloading_transformer_percent: 1
98
+ sample:
99
+ sampler: "flowmatch"
100
+ sample_every: 250
101
+ width: 1024
102
+ height: 1024
103
+ samples:
104
+ - prompt: "woman with red hair, playing chess at the park, bomb going off in the background"
105
+ - prompt: "a woman holding a coffee cup, in a beanie, sitting at a cafe"
106
+ - prompt: "a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini"
107
+ - prompt: "a man showing off his cool new t shirt at the beach, a shark is jumping out of the water in the background"
108
+ - prompt: "a bear building a log cabin in the snow covered mountains"
109
+ - prompt: "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
110
+ - prompt: "hipster man with a beard, building a chair, in a wood shop"
111
+ - prompt: "photo of a man, white background, medium shot, modeling clothing, studio lighting, white backdrop"
112
+ - prompt: "a man holding a sign that says, 'this is a sign'"
113
+ - prompt: "a bulldog, in a post apocalyptic world, with a shotgun, in a leather jacket, in a desert, with a motorcycle"
114
+ neg: ""
115
+ seed: 42
116
+ walk_seed: true
117
+ guidance_scale: 4
118
+ sample_steps: 30
119
+ num_frames: 1
120
+ fps: 1
121
+ meta:
122
+ name: "[name]"
123
+ version: "1.0"