File size: 9,890 Bytes
8a86f91
 
 
 
 
 
 
c246c7a
 
8a86f91
 
c246c7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1595aa1
6fba01a
c246c7a
 
 
 
 
 
 
1595aa1
 
c246c7a
 
 
 
 
 
 
1595aa1
6fba01a
c246c7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8a86f91
 
c246c7a
 
 
 
8a86f91
 
 
 
 
 
 
 
dc548e7
8a86f91
c246c7a
 
 
8fd3f06
c246c7a
f581f61
c246c7a
 
8fd3f06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c246c7a
8fd3f06
8a86f91
 
 
 
 
 
 
 
 
 
 
 
 
 
1595aa1
8a86f91
 
 
c246c7a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
---
tags:
- text-to-image
- sd3
- lora
- diffusers
- template:sd-lora
- StableDiffusion3
- StableDiffusion3.5
- ai-toolkit
widget:
- text: >-
    /@step 4000 weights:/ HST style autochrome photo of a drugged God
    Christ-insect in wooden pillbox being pinned needle-poked by a giant Marina
    Tsvetaeva in a long red gown, arcane symbolism, colorful HD realistic film
    in Yury Annenkov & David Lynch styles, detailed face worrying, full-height
    red-robed woman roams European city circa 1930
  output:
    url: samples/1729711624663__000004000_4.jpg
- text: >-
    /@step 1600 weights:/HST style autochrome photo of a drugged God
    Christ-insect in wooden pillbox being pinned needle-poked by a giant Marina
    Tsvetaeva in a long red gown, arcane symbolism, colorful HD realistic film
    in Yury Annenkov & David Lynch styles, detailed face worrying, full-height
    red-robed woman roams European city circa 1930
  output:
    url: samples/1729700659095__000001600_4.jpg
- text: >-
    /@step 1800 weights:/HST style autochrome photo of a drugged God
    Christ-insect in wooden pillbox being pinned needle-poked by a giant Marina
    Tsvetaeva in a long red gown, arcane symbolism, colorful HD realistic film
    in Yury Annenkov & David Lynch styles, detailed face worrying, full-height
    red-robed woman roams European city circa 1930
  output:
    url: samples/1729701571749__000001800_4.jpg
- text: >-
    /@step 800 weights:/HHST style autochrome photo of a drugged God
    Christ-insect in wooden pillbox being pinned needle-poked by a giant Marina
    Tsvetaeva in a long red gown, arcane symbolism, colorful HD realistic film
    in Yury Annenkov & David Lynch styles, detailed face worrying, full-height
    red-robed woman roams European city circa 1930
  output:
    url: samples/1729696985671__000000800_4.jpg
- 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, 
    dancing with red feathered drunken dinosaur, an early conceptual artist.
    Lenin is full of contageous awe, his blemished skin flushing  with anxious
    excitement, his famous bald spot sweatily glistening under warm lights. In
    the back, Krupskaya and Inessa Armand laugh. 
  output:
    url: samples/1729701488064__000001800_0.jpg
- 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, 
    dancing with red feathered drunken dinosaur, an early conceptual artist.
    Lenin is full of contageous awe, his blemished skin flushing  with anxious
    excitement, his famous bald spot sweatily glistening under warm lights. In
    the back, Krupskaya and Inessa Armand laugh. 
  output:
    url: samples/1729711540947__000004000_0.jpg
- 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, 
    dancing with red feathered drunken dinosaur, an early conceptual artist.
    Lenin is full of contageous awe, his blemished skin flushing  with anxious
    excitement, his famous bald spot sweatily glistening under warm lights. In
    the back, Krupskaya and Inessa Armand laugh. 
  output:
    url: samples/1729700575417__000001600_0.jpg
- text: >-
    /@step 1600 weights:/ HST autochrome style analog dslr award-winning 8k art
    photo showing a nurse battling a giant cell phone, above text caption of
    \ONCE WE WERE ALL HARRY GARDNER!\, in a highly realistic modern American
    medical hospital 
  output:
    url: samples/1729700596338__000001600_1.jpg
- text: >-
    /@step 1000 weights:/ HST autochrome style analog dslr award-winning 8k art
    photo showing a nurse battling a giant cell phone, above text caption of
    \ONCE WE WERE ALL HARRY GARDNER!\, in a highly realistic modern American
    medical hospital 
  output:
    url: samples/1729697845170__000001000_1.jpg
- text: >-
    /@step 3600 weights:/ HST style autochrome photograph of a dark CIA agent
    Koala leaping at the throat of goth freedom-fighter Julian Assange, tragic
    atmosphere, award-winning art photo
  output:
    url: samples/1729709764758__000003600_2.jpg
- text: >-
    /@step 1200 weights:/ HST style autochrome photograph of a dark CIA agent
    Koala leaping at the throat of goth freedom-fighter Julian Assange, tragic
    atmosphere, award-winning art photo
  output:
    url: samples/1729698783304__000001200_2.jpg
- text: >-
    /@step 1000 weights:/ HST style autochrome photograph of a dark CIA agent
    Koala leaping at the throat of goth freedom-fighter Julian Assange, tragic
    atmosphere, award-winning art photo
  output:
    url: samples/1729697866093__000001000_2.jpg
- text: >-
    /@step 4000 weights:/ HST style autochrome photo of realistic green-eyed
    black cat, with prominent regions of white fur, playing a piano and singing,
    amateur 2004 photograph shot on a cell phone in a Los Angeles apartment
    kitchen
  output:
    url: samples/1729711603742__000004000_3.jpg
- text: >-
    /@step 3000 weights:/ HST style autochrome photo of realistic green-eyed
    black cat, with prominent regions of white fur, playing a piano and singing,
    amateur 2004 photograph shot on a cell phone in a Los Angeles apartment
    kitchen
  output:
    url: samples/1729707029633__000003000_3.jpg
- text: >-
    /@step 1800 weights:/ HST style autochrome photo of realistic green-eyed
    black cat, with prominent regions of white fur, playing a piano and singing,
    amateur 2004 photograph shot on a cell phone in a Los Angeles apartment
    kitchen
  output:
    url: samples/1729701550832__000001800_3.jpg
- text: >-
    /@step 1000 weights:/ HST style autochrome photo of realistic green-eyed
    black cat, with prominent regions of white fur, playing a piano and singing,
    amateur 2004 photograph shot on a cell phone in a Los Angeles apartment
    kitchen
  output:
    url: samples/1729697887015__000001000_3.jpg
base_model: stabilityai/stable-diffusion-3.5-large
license: creativeml-openrail-m
language:
- en
pipeline_tag: text-to-image
library_name: diffusers
---

# HSTsd3ii
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
<Gallery />

## Trigger words

'HST style autochrome photo'

## Config Parameters
*Dim:16 Alpha:32 Optimizer:Ademamix8bit LR:2e-4* **More info below!** <br>
Fine-tuned using the **Google Colab Notebook*** Version of **ai-toolkit**.<br>
I've used A100 via Colab Pro.
However, training SD3.5 may potentially work with Free Colab or lower Vram in general:<br> 
Especially if one were to use:<br> ...Say, *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.* <br>
Generally, VRAM expenditures tend to be lower than for Flux during training. So, try it! I certainly will.<br>
**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)!
```
job: extension
config:
  name: HSTsd3ii
  process:
  - type: sd_trainer
    training_folder: /content/drive/MyDrive/HSTsd3ii
    performance_log_every: 600
    device: cuda:0
    network:
      type: lora
      linear: 16
      linear_alpha: 32
    save:
      dtype: float16
      save_every: 250
      push_to_hub: true
      hf_repo_id: AlekseyCalvin/HSTsd3iii
      hf_private: true
      max_step_saves_to_keep: 16
    datasets:
    - folder_path: /content/dataset
      caption_ext: txt
      caption_dropout_rate: 0.0
      shuffle_tokens: false
      cache_latents_to_disk: true
      resolution:
      - 1024
    train:
      batch_size: 4
      steps: 4000
      gradient_accumulation_steps: 1
      train_unet: true
      train_text_encoder: false
      gradient_checkpointing: true
      noise_scheduler: flowmatch
      timestep_type: linear
      optimizer: ademamix8bit
      lr: 0.0002
      skip_first_sample: true
      ema_config:
        use_ema: true
        ema_decay: 0.8
      dtype: bf16
    model:
      name_or_path: stabilityai/stable-diffusion-3.5-large
      is_v3: true
      quantize: true
```
Plus validation settings:<br> Prompts like the above, at 1024, guidance scale 4, 25 steps, seed 42, no negatives.

## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.

Weights for this model are available in Safetensors format.

[Download](/AlekseyCalvin/HSTsd3iii/tree/main) them in the Files & versions tab.

## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)

```py
from diffusers import AutoPipelineForText2Image
import torch

pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-3.5-large', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('AlekseyCalvin/HSTsd3iii', weight_name='HSTsd3ii.safetensors')
image = pipeline('HST style communist poster with text "JOIN RCA!", over autochrome color photo of Vladimir Lenin at a Dada cabaret in 1916 Zurich, dancing with red feathered drunken dinosaur, an early conceptual artist. Lenin is full of contageous awe, his blemished skin flushing with anxious excitement, his famous bald spot sweatily glistening under warm lights. In the back, Krupskaya and Inessa Armand laugh. ').images[0]
image.save("my_image.png")
```

For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)