pixelchar-lora / config.yaml
Limbicnation's picture
Initial commit: Add pixelchar LORA model with LFS
fabd218
job: extension
config:
name: pixelchar_refined_v6
process:
- type: sd_trainer
training_folder: output/pixelrealm_lora_refined_v6
device: cuda:0
trigger_word: pixelrealm
network:
type: lora
linear: 16
linear_alpha: 16
conv: 8
conv_alpha: 8
save:
dtype: float16
save_every: 200
max_step_saves_to_keep: 4
push_to_hub: false
datasets:
- folder_path: ./dataset/PixelRealm_LoRA-Dataset_v3_2025-05-19
caption_ext: txt
caption_dropout_rate: 0.05
shuffle_tokens: false
cache_latents_to_disk: true
resolution:
- 512
- 768
- 1024
train:
batch_size: 1
steps: 1500
gradient_accumulation_steps: 4
train_unet: true
train_text_encoder: false
gradient_checkpointing: true
noise_scheduler: flowmatch
optimizer: adamw8bit
lr: 0.0001
skip_first_sample: true
low_vram: true
mixed_precision: fp16
gradient_clip_norm: 1.0
max_grad_norm: 1.0
use_8bit_adam: true
ema_config:
use_ema: false
dtype: fp16
model:
name_or_path: black-forest-labs/FLUX.1-dev
is_flux: true
quantize: true
qtype: qint4
low_vram: true
revision: main
local_files_only: true
use_safetensors: true
enable_xformers: true
model_cpu_offload: true
sequential_cpu_offload: true
offload_to_cpu: true
attention_mode: xformers
max_memory:
'0': 12GB
device_map: sequential
sample:
sampler: flowmatch
sample_every: 500
width: 1024
height: 1024
prompts:
- '[trigger] a girl with blue hair wearing a red dress against a brown background'
- '[trigger] a warrior princess with long flowing hair wielding a pixel sword'
- '[trigger] an adventurer exploring a retro-style dungeon with torches and
treasure chests'
- '[trigger] a cheerful merchant character standing in front of a pixel art
shop with potions and equipment'
neg: ''
seed: 678
walk_seed: true
guidance_scale: 4
sample_steps: 20
meta:
name: pixelchar_refined_v6
version: '1.0'