maver1chh commited on
Commit
5e671c3
·
1 Parent(s): 83e943c

Add terry.yaml configuration file

Browse files
Files changed (1) hide show
  1. terry.yaml +75 -0
terry.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ job: extension
3
+ config:
4
+ name: "terry"
5
+ process:
6
+ - type: 'sd_trainer'
7
+ training_folder: "output"
8
+ device: cuda:0
9
+ network:
10
+ type: "lora"
11
+ linear: 16
12
+ linear_alpha: 16
13
+ save:
14
+ dtype: float16
15
+ save_every: 500
16
+ max_step_saves_to_keep: 4
17
+ push_to_hub: true
18
+ hf_repo_id: maver1chh/terry
19
+ hf_private: false
20
+ datasets:
21
+ - folder_path: "/home/user0/PDam/ai-toolkit/data/terry"
22
+ caption_ext: "txt"
23
+ caption_dropout_rate: 0.05
24
+ shuffle_tokens: false
25
+ cache_latents_to_disk: true
26
+ resolution: [ 512, 768, 1024 ]
27
+ train:
28
+ batch_size: 1
29
+ steps: 6000
30
+ gradient_accumulation_steps: 1
31
+ train_unet: true
32
+ train_text_encoder: false # probably won't work with flux
33
+ gradient_checkpointing: true # need the on unless you have a ton of vram
34
+ noise_scheduler: "flowmatch"
35
+ optimizer: "adamw8bit"
36
+ lr: 1e-4
37
+ # uncomment this to skip the pre training sample
38
+ # skip_first_sample: true
39
+ # uncomment to completely disable sampling
40
+ # disable_sampling: true
41
+ # uncomment to use new vell curved weighting. Experimental but may produce better results
42
+ # linear_timesteps: true
43
+
44
+ # ema will smooth out learning, but could slow it down. Recommended to leave on.
45
+ ema_config:
46
+ use_ema: true
47
+ ema_decay: 0.99
48
+
49
+ # will probably need this if gpu supports it for flux, other dtypes may not work correctly
50
+ dtype: bf16
51
+ model:
52
+ # huggingface model name or path
53
+ name_or_path: "black-forest-labs/FLUX.1-dev"
54
+ is_flux: true
55
+ quantize: true # run 8bit mixed precision
56
+ # low_vram: true # uncomment this if the GPU is connected to your monitors. It will use less vram to quantize, but is slower.
57
+ sample:
58
+ sampler: "flowmatch" # must match train.noise_scheduler
59
+ sample_every: 250 # sample every this many steps
60
+ width: 1024
61
+ height: 1024
62
+ prompts:
63
+ # you can add [trigger] to the prompts here and it will be replaced with the trigger word
64
+ # - "[trigger] holding a sign that says 'I LOVE PROMPTS!'"\
65
+ - "Spider-Man as an astronaut traveling to the universe, wearing a futuristic white and red space suit with the signature spider logo on his chest. The suit is highly detailed, with glowing blue lights and web-like textures across the helmet visor and armor plates. Spider-Man is floating weightlessly in deep space, surrounded by vibrant nebulas, distant stars, and glowing planets in the background. His pose is dynamic and heroic, one hand reaching out as if he’s about to shoot a web in zero gravity. The helmet reflects the cosmic scenery, and faint spider-web patterns glimmer in the cosmic light. The atmosphere is awe-inspiring, cinematic, and full of sci-fi realism, blending Spider-Man's iconic superhero aesthetics with the wonders of space."
66
+ - "A superhero sitting at a wooden table in a cozy sushi restaurant, eating sushi with chopsticks. The superhero wears a vibrant, detailed costume with a cape and mask, reflecting their iconic persona. The scene is illustrated in the style of Vincent van Gogh’s paintings, featuring swirling brush strokes, rich colors, and textured patterns reminiscent of Starry Night or Café Terrace at Night. The sushi rolls are meticulously painted with vibrant reds, greens, and whites, arranged beautifully on a wooden platter. The background glows warmly, with the restaurant interior full of swirling lights, lanterns, and dreamy textures. The superhero's pose is relaxed and joyful, appreciating the sushi in this unique, painterly world. The overall atmosphere is whimsical, colorful, and artistic."
67
+ neg: "" # not used on flux
68
+ seed: 42
69
+ walk_seed: true
70
+ guidance_scale: 4
71
+ sample_steps: 20
72
+ # you can add any additional meta info here. [name] is replaced with config name at top
73
+ meta:
74
+ name: "[name]"
75
+ version: '1.0'