AlekseyCalvin commited on
Commit
8fd3f06
1 Parent(s): 6fba01a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +71 -14
README.md CHANGED
@@ -7,80 +7,80 @@ tags:
7
  - template:sd-lora
8
  - ai-toolkit
9
  widget:
10
- - text: HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
11
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
12
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
13
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
14
  European city circa 1930
15
  output:
16
  url: samples/1729711624663__000004000_4.jpg
17
- - text: HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
18
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
19
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
20
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
21
  European city circa 1930
22
  output:
23
  url: samples/1729700659095__000001600_4.jpg
24
- - text: HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
25
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
26
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
27
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
28
  European city circa 1930
29
  output:
30
  url: samples/1729701571749__000001800_4.jpg
31
- - text: HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
32
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
33
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
34
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
35
  European city circa 1930
36
  output:
37
  url: samples/1729696985671__000000800_4.jpg
38
- - text: 'HST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich,
39
  dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing
40
  with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. '
41
  output:
42
  url: samples/1729701488064__000001800_0.jpg
43
- - text: 'HST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich,
44
  dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing
45
  with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. '
46
  output:
47
  url: samples/1729711540947__000004000_0.jpg
48
- - text: 'HST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich,
49
  dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing
50
  with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. '
51
  output:
52
  url: samples/1729700575417__000001600_0.jpg
53
- - text: 'HST autochrome style analog dslr award-winning 8k art photo showing a nurse
54
  battling a giant cell phone, above text caption of \ONCE WE WERE ALL HARRY
55
  GARDNER!\, in a highly realistic modern American medical hospital '
56
  output:
57
  url: samples/1729700596338__000001600_1.jpg
58
- - text: 'HST autochrome style analog dslr award-winning 8k art photo showing a nurse
59
  battling a giant cell phone, above text caption of \ONCE WE WERE ALL HARRY
60
  GARDNER!\, in a highly realistic modern American medical hospital '
61
  output:
62
  url: samples/1729697845170__000001000_1.jpg
63
- - text: HST style autochrome photograph of a dark CIA agent Koala leaping at the
64
  throat of goth freedom-fighter Julian Assange, tragic atmosphere, award-winning
65
  art photo
66
  output:
67
  url: samples/1729709764758__000003600_2.jpg
68
- - text: HST style autochrome photograph of a dark CIA agent Koala leaping at the
69
  throat of goth freedom-fighter Julian Assange, tragic atmosphere, award-winning
70
  art photo
71
  output:
72
  url: samples/1729698783304__000001200_2.jpg
73
- - text: HST style autochrome photograph of a dark CIA agent Koala leaping at the
74
  throat of goth freedom-fighter Julian Assange, tragic atmosphere, award-winning
75
  art photo
76
  output:
77
  url: samples/1729697866093__000001000_2.jpg
78
- - text: HST style autochrome photo of realistic green-eyed black cat, with prominent
79
  regions of white fur, playing a piano and singing, amateur 2004 photograph
80
  shot on a cell phone in a Los Angeles apartment kitchen
81
  output:
82
  url: samples/1729711603742__000004000_3.jpg
83
- - text: HST style autochrome photo of realistic green-eyed black cat, with prominent
84
  regions of white fur, playing a piano and singing, amateur 2004 photograph
85
  shot on a cell phone in a Los Angeles apartment kitchen
86
  output:
@@ -100,6 +100,63 @@ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
100
 
101
  'HST style autochrome photo'
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
104
 
105
  Weights for this model are available in Safetensors format.
 
7
  - template:sd-lora
8
  - ai-toolkit
9
  widget:
10
+ - text: /@step 4000 weights:/ HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
11
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
12
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
13
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
14
  European city circa 1930
15
  output:
16
  url: samples/1729711624663__000004000_4.jpg
17
+ - text: /@step 1600 weights:/HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
18
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
19
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
20
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
21
  European city circa 1930
22
  output:
23
  url: samples/1729700659095__000001600_4.jpg
24
+ - text: /@step 1800 weights:/HST style autochrome photo of a drugged God Christ-insect in wooden pillbox
25
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
26
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
27
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
28
  European city circa 1930
29
  output:
30
  url: samples/1729701571749__000001800_4.jpg
31
+ - text: /@step 800 weights:/HHST style autochrome photo of a drugged God Christ-insect in wooden pillbox
32
  being pinned needle-poked by a giant Marina Tsvetaeva in a long
33
  red gown, arcane symbolism, colorful HD realistic film in Yury Annenkov &
34
  David Lynch styles, detailed face worrying, full-height red-robed woman roams
35
  European city circa 1930
36
  output:
37
  url: samples/1729696985671__000000800_4.jpg
38
+ - text: '/@step 1800 weights:/HST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich,
39
  dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing
40
  with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. '
41
  output:
42
  url: samples/1729701488064__000001800_0.jpg
43
+ - text: '/@step 4000 weights:/HHST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich,
44
  dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing
45
  with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. '
46
  output:
47
  url: samples/1729711540947__000004000_0.jpg
48
+ - text: '/@step 1600 weights:/ HST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich,
49
  dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing
50
  with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. '
51
  output:
52
  url: samples/1729700575417__000001600_0.jpg
53
+ - text: '/@step 1600 weights:/ HST autochrome style analog dslr award-winning 8k art photo showing a nurse
54
  battling a giant cell phone, above text caption of \ONCE WE WERE ALL HARRY
55
  GARDNER!\, in a highly realistic modern American medical hospital '
56
  output:
57
  url: samples/1729700596338__000001600_1.jpg
58
+ - text: '/@step 1000 weights:/ HST autochrome style analog dslr award-winning 8k art photo showing a nurse
59
  battling a giant cell phone, above text caption of \ONCE WE WERE ALL HARRY
60
  GARDNER!\, in a highly realistic modern American medical hospital '
61
  output:
62
  url: samples/1729697845170__000001000_1.jpg
63
+ - text: /@step 3600 weights:/ HST style autochrome photograph of a dark CIA agent Koala leaping at the
64
  throat of goth freedom-fighter Julian Assange, tragic atmosphere, award-winning
65
  art photo
66
  output:
67
  url: samples/1729709764758__000003600_2.jpg
68
+ - text: /@step 1200 weights:/ HST style autochrome photograph of a dark CIA agent Koala leaping at the
69
  throat of goth freedom-fighter Julian Assange, tragic atmosphere, award-winning
70
  art photo
71
  output:
72
  url: samples/1729698783304__000001200_2.jpg
73
+ - text: /@step 1000 weights:/ HST style autochrome photograph of a dark CIA agent Koala leaping at the
74
  throat of goth freedom-fighter Julian Assange, tragic atmosphere, award-winning
75
  art photo
76
  output:
77
  url: samples/1729697866093__000001000_2.jpg
78
+ - text: /@step 4000 weights:/ HST style autochrome photo of realistic green-eyed black cat, with prominent
79
  regions of white fur, playing a piano and singing, amateur 2004 photograph
80
  shot on a cell phone in a Los Angeles apartment kitchen
81
  output:
82
  url: samples/1729711603742__000004000_3.jpg
83
+ - text: /@step 1800 weights:/ HST style autochrome photo of realistic green-eyed black cat, with prominent
84
  regions of white fur, playing a piano and singing, amateur 2004 photograph
85
  shot on a cell phone in a Los Angeles apartment kitchen
86
  output:
 
100
 
101
  'HST style autochrome photo'
102
 
103
+ ## Config Parameters
104
+ Using the Google Colab Notebook Version of #ai-toolkit#.
105
+ I've used A100 via Colab Pro.
106
+ But training SD3.5 may potentially work with Free Colab or lower Vram in general, especially if one used lower rank (try 4 or 8), dataset size (in terms of caching/bucketing/pre-loading impacts), 1 batch size, Adamw8bit optimizer, 512 resolution, maybe adding the "lowvram, true" argument, and plausibly specifying alternate quantization variants!
107
+ Generally, VRAM expenditures tend to be lower than for Flux during training. So, try it! I certainly will.
108
+ To use on Colab, modify a Flux template Notebook from [here](https://github.com/ostris/ai-toolkit/tree/main/notebooks) with parameters from Ostris' example config for SD3.5 [here](https://github.com/ostris/ai-toolkit/blob/main/config/examples/train_lora_sd35_large_24gb.yaml)!
109
+ ```
110
+ job: extension
111
+ config:
112
+ name: HSTsd3ii
113
+ process:
114
+ - type: sd_trainer
115
+ training_folder: /content/drive/MyDrive/HSTsd3ii
116
+ performance_log_every: 600
117
+ device: cuda:0
118
+ network:
119
+ type: lora
120
+ linear: 16
121
+ linear_alpha: 32
122
+ save:
123
+ dtype: float16
124
+ save_every: 250
125
+ push_to_hub: true
126
+ hf_repo_id: AlekseyCalvin/HSTsd3iii
127
+ hf_private: true
128
+ max_step_saves_to_keep: 16
129
+ datasets:
130
+ - folder_path: /content/dataset
131
+ caption_ext: txt
132
+ caption_dropout_rate: 0.0
133
+ shuffle_tokens: false
134
+ cache_latents_to_disk: true
135
+ resolution:
136
+ - 1024
137
+ train:
138
+ batch_size: 4
139
+ steps: 4000
140
+ gradient_accumulation_steps: 1
141
+ train_unet: true
142
+ train_text_encoder: false
143
+ gradient_checkpointing: true
144
+ noise_scheduler: flowmatch
145
+ timestep_type: linear
146
+ optimizer: ademamix8bit
147
+ lr: 0.0002
148
+ skip_first_sample: true
149
+ ema_config:
150
+ use_ema: true
151
+ ema_decay: 0.8
152
+ dtype: bf16
153
+ model:
154
+ name_or_path: stabilityai/stable-diffusion-3.5-large
155
+ is_v3: true
156
+ quantize: true
157
+ ```
158
+ Plus validation settings: Prompts like the above, at 1024, guidance scale 4, 25 steps, seed 42, no negatives.
159
+
160
  ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
161
 
162
  Weights for this model are available in Safetensors format.