r/StableDiffusion • • 1h ago

Resource - Update MOSS-Image SFT - Update - Checkpoint 60K - 4-Step Distillation LoRA, eDMD + LADD - high detail images (T2I, T2I with Layout Boxes, I2I Edits)

I have another update for you guys, Release Checkpoint 60K (21K more training than the last one).

A LoRA for MOSS-Image SFT that renders in 4 steps without CFG (see note also for use with CFG) what the model renders in 50 steps at CFG 3 — MOSS's own sampler and schedule, one model call per step instead of two, trained by distribution matching against the 50-step teacher, with a critic that compares its pictures with the teacher's and with real photographs.

Changes: https://huggingface.co/lvladikov/MOSS-SFT-Distill-4step-LoRA/blob/main/DETAILED-README.md#chk00060000-vs-chk00039000

chk00060000 continues the line past chk00039000, the previous release: 21,000 more samples. The main aim was to keep the very high level of detail/texture/energy as in previous releases, so training recipe probes and tweaks were done during the process.

  • ⚡ 4 steps, CFG 1 — 4 model calls against the teacher's 100 (50 steps, two calls each at CFG 3), on MOSS's own 4-step schedule
  • ⏱️ About 14× less GPU time — 26.6 s against 387.3 s for the same 22 pictures at 1024×1024 on Comfy Cloud (one job each, the whole job's billed GPU time)
  • 🎯 The teacher's fine detail, a touch lighter — against the teacher on the same 22 test prompts and noise at 1024×1024 in ComfyUI: fine texture 1.07× the teacher's, haze 0.94×, colour 0.98×; on average 3.4 L* lighter than the teacher's pictures (scale 0–100)
  • 🔤 Writes the words a prompt spells out — every requested string right on 14 of the 15 text test prompts at 1024×1024 (the teacher 15, akhaliq's 4-step LoRA 12)
  • 📐 12 trained resolutions — wide, tall and square, from 768×512 and 512×768 up to 1824×1024 and 1024×1824
  • 🔌 Two files, one LoRA — the exact LoRA for diffusers / Python, and a ComfyUI file that is right at strength 1.0 in ComfyUI's standard loader
  • 🧩 Ten ComfyUI workflows — text to image, layout, image edit and PiD 4×, plus an experimental text to image with a negative prompt at a higher CFG (CFG 2 and negative prompt), each for local ComfyUI and for Comfy Cloud
  • 🎲 34,000 prompts from Lakonik's 3M-prompt dataset and 2,877 prompts that spell out words — signs, menus, posters, labels
  • 📷 About 8,000 captioned photo crops and the teacher's own pictures in the critic's real set — 3,600, supersampled (rendered larger and shrunk back) at 768×512 and 512×768 from 30,000 samples on and at all 12 sizes from 39,000
  • 🔢 60,000 training samples in the shipped weights — rank 64, 252 modules
  • 📅 Trained on a single NVIDIA B300 to 51,000 samples (about 102 hours), then on a single NVIDIA H200 for the last 9,000 (about 11 hours)

Model Card and Files updated, including example images - all available at: https://huggingface.co/lvladikov/MOSS-SFT-Distill-4step-LoRA

If you already have the 39,000 version

  • diffusers / hf_hub_download: the next online call fetches the new file, unless you pinned a revision.
  • Local ComfyUI: download the _comfyui file again and replace the old one in ComfyUI/models/loras/ (same name).
  • Comfy Cloud: an earlier import keeps the old file under the same name. Delete it from your model library, then import the file again from its Hugging Face URL; the workflows load it by the same name.

The 39,000 files stay in _archive/checkpoints/ (moss_sft_4step_rank_64_lora_chk00039000.safetensors and moss_sft_4step_rank_64_lora_chk00039000_comfyui.safetensors) if you prefer them.

12 Upvotes

7 comments sorted by

1

u/gago_gaamdhani 1h ago

Been following you since you started those crazy krea2 turbo to turbo loras May I request/suggest an experiment on a MOSS base side turbo lora with teacher as MOSS base at 4/5cfg 50 steps instead of 3 cfg.

2

u/TimeTruth2490 34m ago

Thank you! As for the teacher - it has been the SFT model which OpenMOSS team themselves have tweaked more to produce better images than the Moss Base, and recommend using it with cfg 3, at 50 steps, so I've been following their guidance. You can try this LoRA on MOSS Base, for experimental runs, but it's not trained on/for it, so can't guarantee results. If you use my LoRA with cfg with Base, I would say use around cfg 2 max (and negative prompt if you need) as more will cause issues.

For normal use - use the LoRA with SFT :) at 4 steps (or more, 8 might give you even more details in some cases).

1

u/gago_gaamdhani 21m ago

It's just that I personally prefer MOSS Base's aesthetics over the SFT version. A lot of the demo images and examples shared by the dev team were generated using Base, and I noticed their settings were around CFG 4.

That's why I was suggesting an experimental Turbo LoRA trained with MOSS Base as the teacher, using CFG 4–5 at 50 steps, rather than CFG 3.

Either way, thanks a lot for all the amazing LoRA work you've been doing!

2

u/TimeTruth2490 20m ago edited 8m ago

I'll think about it. Btw Base official recommendation is still CFG 3 - https://huggingface.co/OpenMOSS-Team/MOSS-Image-Base

"... A lot of the demo images and examples shared by the dev team were generated using Base, and I noticed their settings were around CFG 4." - can you show me where/which images?

•

u/TimeTruth2490 3m ago

ComfyUI workflow even defaults it to CFG 2.5 so lower than the official 3, not higher. I suppose you like more punchy images hence you go for higher 4?

1

u/Arctic_Shadow_Aurora 43m ago

Keep it up, king!