Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(create): Turbo, Lightning, Hyper and LCM checkpoints start at 4 steps, CFG 1

purple49da38f803e4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 879bfe8e..ef0cb543 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -56,6 +56,9 @@ cloud catalogue. It also fixes the bugs reported on GitHub and Discord since
bin, because LM Studio offers no way to delete a model from outside, and
Details showed nothing. Details now says to delete it in LM Studio under
My Models, and does the same for other local servers.
+- **Turbo checkpoints start at a few steps.** SD-Turbo, SDXL-Turbo,
+ Lightning, Hyper-SD and LCM checkpoints start at 4 steps and CFG 1 instead
+ of the family's 25 steps.
- **No download offer while ComfyUI is starting.** Right after launch the
Create stage could offer the 6.5 GB starter download while ComfyUI was still
coming up and the models were already on disk. It now waits.
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts
index 86bef8a8..ebbf6bcf 100644
--- a/src/lib/release-notes.ts
+++ b/src/lib/release-notes.ts
@@ -156,7 +156,7 @@ export const RELEASE_NOTES: ReleaseNote[] = [
},
{
title: 'Fixes from GitHub and Discord.',
- detail: 'A group chat answers with every LU Engine model in it, also when the models sit in your Model Storage folder. Ollama models download without one already installed. A GGUF from the CivitAI search lands where ComfyUI reads it. A fresh ComfyUI install on Windows gets its own Python environment, which fixes "hipdnn_backend.dll Bad Image" on AMD cards. The window no longer disappears on Linux. A character trained on your own machine takes up to 100 photos, and Details on an LM Studio model says where to delete it. A newer image or video model with a missing encoder or VAE names that file and offers the download, instead of ending in "Value not in list". A LoRA deleted from the loras folder leaves the stack, a run only sends LoRAs ComfyUI lists, and Clear turns the stack off. The Code agent runs tool calls a cloud model writes into its answer or sends under the name "function", instead of stopping on them. A downloaded render is always the one you picked, and Download in the gallery strip opens the Save dialog on Windows. Create no longer offers the starter download while ComfyUI is still starting.',
+ detail: 'A group chat answers with every LU Engine model in it, also when the models sit in your Model Storage folder. Ollama models download without one already installed. A GGUF from the CivitAI search lands where ComfyUI reads it. A fresh ComfyUI install on Windows gets its own Python environment, which fixes "hipdnn_backend.dll Bad Image" on AMD cards. The window no longer disappears on Linux. A character trained on your own machine takes up to 100 photos, and Details on an LM Studio model says where to delete it. A newer image or video model with a missing encoder or VAE names that file and offers the download, instead of ending in "Value not in list". A LoRA deleted from the loras folder leaves the stack, a run only sends LoRAs ComfyUI lists, and Clear turns the stack off. The Code agent runs tool calls a cloud model writes into its answer or sends under the name "function", instead of stopping on them. A downloaded render is always the one you picked, and Download in the gallery strip opens the Save dialog on Windows. Create no longer offers the starter download while ComfyUI is still starting, and Turbo or Lightning checkpoints start at 4 steps.',
},
{
title: 'Writing a long file no longer ends the run.',
diff --git a/src/stores/__tests__/a-turbo-checkpoint-starts-at-four-steps.test.ts b/src/stores/__tests__/a-turbo-checkpoint-starts-at-four-steps.test.ts
new file mode 100644
index 00000000..ec1241dd
--- /dev/null
+++ b/src/stores/__tests__/a-turbo-checkpoint-starts-at-four-steps.test.ts
@@ -0,0 +1,29 @@
+/**
+ * 3.0.4 Gegenprobe on the Windows box (02.10.2026): sd_turbo started at the SD
+ * family's 25 steps. Distilled checkpoints run at a few steps and CFG 1.
+ *
+ * Run: npx vitest run src/stores/__tests__/a-turbo-checkpoint-starts-at-four-steps.test.ts
+ */
+import { describe, it, expect } from 'vitest'
+import { useCreateStore, distilledImageCheckpoint, MODEL_TYPE_DEFAULTS } from '../createStore'
+
+describe('distilled image checkpoints', () => {
+ it('Turbo, Lightning, Hyper and LCM files of the SD families are recognised', () => {
+ for (const n of ['sd_turbo.safetensors', 'sdxl_turbo_1.0_fp16.safetensors', 'juggernautXL_v9Rdphoto2Lightning.safetensors', 'Hyper-SDXL-8steps.safetensors', 'dreamshaper_8_LCM.safetensors']) {
+ expect(distilledImageCheckpoint(n, 'sdxl')).toBe(true)
+ }
+ })
+
+ it('leaves ordinary checkpoints and other families alone', () => {
+ expect(distilledImageCheckpoint('juggernautXL_v9.safetensors', 'sdxl')).toBe(false)
+ expect(distilledImageCheckpoint('turbovision_xl.safetensors', 'sdxl')).toBe(false)
+ expect(distilledImageCheckpoint('z_image_turbo_bf16.safetensors', 'zimage')).toBe(false)
+ })
+
+ it('picking sd_turbo sets 4 steps at CFG 1, a plain checkpoint keeps the family defaults', () => {
+ useCreateStore.getState().setImageModel('sd_turbo.safetensors', 'sd15')
+ expect(useCreateStore.getState()).toMatchObject({ steps: 4, cfgScale: 1 })
+ useCreateStore.getState().setImageModel('juggernautXL_v9.safetensors', 'sdxl')
+ expect(useCreateStore.getState()).toMatchObject({ steps: MODEL_TYPE_DEFAULTS.sdxl.steps, cfgScale: MODEL_TYPE_DEFAULTS.sdxl.cfgScale })
+ })
+})
diff --git a/src/stores/createStore.ts b/src/stores/createStore.ts
index 80a6aeab..1f2b08bf 100644
--- a/src/stores/createStore.ts
+++ b/src/stores/createStore.ts
@@ -563,6 +563,19 @@ function releaseReplacedMediaRef(previous: MediaRef | null, next: MediaRef | nul
releaseDroppedMediaRefs(previous ? [previous] : [], next ? [next] : [])
}
+/**
+ * SD-Turbo, SDXL-Turbo, Lightning, Hyper-SD and LCM checkpoints are distilled
+ * to a few steps at CFG 1. The family defaults (25 steps, CFG 7) cost several
+ * times the time and overcook them. Seen in the 3.0.4 Gegenprobe on the
+ * Windows box (02.10.2026): sd_turbo started at 25 steps. Only the SD and SDXL
+ * checkpoint families; Z-Image Turbo and the other UNET families carry their
+ * own tuned defaults.
+ */
+export function distilledImageCheckpoint(model: string, type: ModelType): boolean {
+ if (type !== 'sd15' && type !== 'sdxl' && type !== 'unknown') return false
+ return /(^|[^a-z])(turbo|lightning|hyper|lcm)([^a-z]|$)/i.test(model.replace(/^.*[\\/]/, ''))
+}
+
export const useCreateStore = create<CreateState>()(
persist(
// Explicit param/return types: LU compiles with `strict: true` (the web
@@ -682,9 +695,10 @@ export const useCreateStore = create<CreateState>()(
}
if (mode === 'image' && state.imageModel) {
const defaults = MODEL_TYPE_DEFAULTS[state.imageModelType] || MODEL_TYPE_DEFAULTS.unknown
+ const distilled = distilledImageCheckpoint(state.imageModel, state.imageModelType)
return {
mode,
- steps: defaults.steps, cfgScale: defaults.cfgScale,
+ steps: distilled ? 4 : defaults.steps, cfgScale: distilled ? 1.0 : defaults.cfgScale,
sampler: defaults.sampler, scheduler: defaults.scheduler,
width: defaults.width, height: defaults.height,
}
@@ -696,9 +710,10 @@ export const useCreateStore = create<CreateState>()(
setNegativePrompt: (negativePrompt) => set({ negativePrompt }),
setImageModel: (model, type) => {
const defaults = type === 'hidream' ? hidreamDefaults(model) : MODEL_TYPE_DEFAULTS[type]
+ const distilled = distilledImageCheckpoint(model, type)
set({
imageModel: model, imageModelType: type,
- steps: defaults.steps, cfgScale: defaults.cfgScale,
+ steps: distilled ? 4 : defaults.steps, cfgScale: distilled ? 1.0 : defaults.cfgScale,
sampler: defaults.sampler, scheduler: defaults.scheduler,
width: defaults.width, height: defaults.height,
})