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): die Ladezeile behauptet nicht mehr, der erste Render sei der langsamste

David701751ca37b6
diff --git a/src/lib/__tests__/cold-load-notice.test.ts b/src/lib/__tests__/cold-load-notice.test.ts
index 2d3e6d45..cdb033b4 100644
--- a/src/lib/__tests__/cold-load-notice.test.ts
+++ b/src/lib/__tests__/cold-load-notice.test.ts
@@ -47,14 +47,25 @@ describe('coldLoadHint', () => {
})
it('is English, promises nothing it cannot know, and carries no dash', () => {
- expect(COLD_LOAD_HINT).toMatch(/^Loading the model into memory\./)
- expect(COLD_LOAD_HINT).toContain('ComfyUI start')
+ expect(COLD_LOAD_HINT).toMatch(/^Loading the model into memory\.\.\.$/)
// It must not claim to count jobs. LU has no such counter in this view,
// so "this is the first job" would be an invention.
expect(COLD_LOAD_HINT).not.toMatch(/this is the first/i)
// en dash and em dash, written as escapes so this file carries neither.
expect(COLD_LOAD_HINT).not.toMatch(/[\u2013\u2014]/)
})
+
+ it('NEGATIVE: makes no claim about which render waits longest', () => {
+ // R16 Befund 2, measured on the Windows box (12 GB GPU, 16 GB RAM,
+ // z_image_bf16 at 11.46 GB): ComfyUI dropped the model after EVERY render
+ // (RAM 7.68 GB back to 672 MB), and all five runs sat 69 s to 75 s before
+ // the first sampling step. "The first render after a ComfyUI start waits
+ // the longest" was simply false there, and this line is shown on exactly
+ // that machine. A line may only claim what holds whenever it is shown.
+ expect(COLD_LOAD_HINT).not.toMatch(/longest|first render|slower|faster|only takes/i)
+ // No comparison between runs at all: the waiting area sees one render.
+ expect(COLD_LOAD_HINT).not.toMatch(/\bthan\b/i)
+ })
})
describe('the Create tab waiting area', () => {
diff --git a/src/lib/cold-load-notice.ts b/src/lib/cold-load-notice.ts
index 59e71ad3..10f5762d 100644
--- a/src/lib/cold-load-notice.ts
+++ b/src/lib/cold-load-notice.ts
@@ -31,9 +31,21 @@
*/
export const COLD_LOAD_HINT_AFTER_MS = 12_000
-/** The line itself. Said once, so the component cannot drift from the test. */
-export const COLD_LOAD_HINT =
- 'Loading the model into memory. The first render after a ComfyUI start waits the longest.'
+/**
+ * The line itself. Said once, so the component cannot drift from the test.
+ *
+ * R16 Befund 2 (2026-08-30, Windows box, 12 GB GPU / 16 GB RAM, z_image_bf16 at
+ * 11.46 GB): the second sentence this line used to carry, "The first render
+ * after a ComfyUI start waits the longest", is false on that machine. ComfyUI
+ * unloads the model after EVERY render there (RAM 7.68 GB back down to 672 MB),
+ * so all five runs spent 69 s to 75 s in the load before the first sampling
+ * step. No first render, no longest wait, just the same load every time.
+ *
+ * A line that is only shown during a load may only claim what is true whenever
+ * it is shown. Which run this is, and how it compares to the next one, is not
+ * something this view can know, so it no longer says it.
+ */
+export const COLD_LOAD_HINT = 'Loading the model into memory...'
/**
* The notice for a waiting area, or '' when there is nothing to say.