Views
No views yet
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: true1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-3.5-large', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('AlekseyCalvin/HSTsd3iii', weight_name='HSTsd3ii.safetensors')
6image = 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]
7image.save("my_image.png")