akhaliq HF Staff commited on
Commit
8f7964e
·
verified ·
1 Parent(s): 3a3f89b

Document turbo (4-step) mode

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -65,6 +65,22 @@ Every sampling control of the original Space is a reference node wired into the
65
  | Max text length | **Max Text Length** reference (1–4096) |
66
  | Skip-layer modes (Off / Negative-branch skipping / Standard SLG) | **Skip Layers** (`22` = negative-branch skipping, empty = off), **SLG Layers**, **SLG Scale**, **Skip Start**, **Skip Stop** references |
67
  | Example gallery with one-click restore | **Examples strip** under the hero: the original Space's 20 showcase images, hot-linked; clicking one fetches its `parameters.json` and restores prompt, model, size, sampling and SLG settings into the form |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
 
69
  Not ported: showcase add/delete with live refresh (the Workflow App view is
70
  generated from the graph and has no upload-to-gallery mechanism), and ZeroGPU AOT
 
65
  | Max text length | **Max Text Length** reference (1–4096) |
66
  | Skip-layer modes (Off / Negative-branch skipping / Standard SLG) | **Skip Layers** (`22` = negative-branch skipping, empty = off), **SLG Layers**, **SLG Scale**, **Skip Start**, **Skip Stop** references |
67
  | Example gallery with one-click restore | **Examples strip** under the hero: the original Space's 20 showcase images, hot-linked; clicking one fetches its `parameters.json` and restores prompt, model, size, sampling and SLG settings into the form |
68
+ | — | **Turbo mode**: set **Model** to `turbo` for the 4-step distilled LoRA (see below) |
69
+
70
+ ## Turbo (4-step) mode
71
+
72
+ Set the **Model** field to `turbo` to run the 4-step distilled LoRA from
73
+ [akhaliq/MOSS-Image-SFT-4-steps](https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps)
74
+ (distilled via data-space/Euler-native DMD, [arXiv:2610.12102](https://arxiv.org/abs/2610.12102))
75
+ — roughly 10x faster per image than the 50-step sampler.
76
+
77
+ - The fp32 LoRA is wrapped on the SFT transformer at startup, unmerged
78
+ (`turbo_lora.py`, vendored from the model repo), and toggled per request by its
79
+ alpha — so Base and SFT generations are unchanged, and no third transformer is
80
+ loaded into GPU memory.
81
+ - Turbo always runs at **CFG 1**; the negative prompt is ignored.
82
+ - Left at the default 50, Steps auto-maps by resolution per the model card:
83
+ **4** up to 1024px, **6** at ~1536px, **8** at 2048px. Set Steps yourself to override.
84
 
85
  Not ported: showcase add/delete with live refresh (the Workflow App view is
86
  generated from the graph and has no upload-to-gallery mechanism), and ZeroGPU AOT