okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-draft-vocab 925d6fb05 into f-p4-int (the draft vocabulary is picked by the computer's languages; a renamed Flash-Next file starts the drafter)bc6f248ff

main
12.5 KiB523 linesraw
1{
2 "machine": "dgx_spark",
3 "set": "ud_q4_k_xl",
4 "entries": {
5  "setup": {
6   "entry": "setup",
7   "command": "strata setup --family unsloth --model UD-Q4_K_XL --yes --no-start",
8   "inputs": {
9    "family": "unsloth",
10    "model": "UD-Q4_K_XL",
11    "ram_gb": 128.0,
12    "gpu": {
13     "arch": "121",
14     "count": 1,
15     "dedicated_gb": 0.0,
16     "index": 0,
17     "name": "NVIDIA GB10",
18     "shared_gb": 122.0,
19     "uma": true,
20     "vram_gb": 122.0
21    },
22    "context": 131072,
23    "kv": "int8",
24    "vision": "gpu",
25    "low_ram": false,
26    "resident": false,
27    "ram_budget_gib": 71,
28    "in_budget": true,
29    "engine_version": "0.2.12"
30   },
31   "config_file": {
32    "exe": "<ROOT>/engine/strata",
33    "args": [
34     "--pack",
35     "<ROOT>/data/packs/ud_q4_k_xl",
36     "--native",
37     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
38     "--expert-profile",
39     "<REPO>/data/expert-profile.bin",
40     "--expert-cache",
41     "9658",
42     "--prefill",
43     "auto:32768",
44     "--spec",
45     "4",
46     "--spec-min-p",
47     "0.5",
48     "--mtp",
49     "<ROOT>/data/mtp/rt",
50     "--max-context",
51     "131072",
52     "--kv",
53     "int8",
54     "--mmap-experts",
55     "--mtp-q4",
56     "all",
57     "--mtp-hnorm",
58     "stream",
59     "--ple-io",
60     "ram",
61     "--kv-resident",
62     "32768",
63     "--resident-budget-gib",
64     "71",
65     "--vision",
66     "--vram-reserve-mib",
67     "700"
68    ],
69    "cwd": "<REPO>",
70    "tokenizer": "<ROOT>/data/packs/ud_q4_k_xl/tokenizer",
71    "model_name": "qwen3.8-flash-next-unsloth-ud-q4_k_xl",
72    "log": "<REPO>/strata-unsloth-ud-q4_k_xl.log",
73    "lib_dirs": [],
74    "port": 8080,
75    "vision": {
76     "exe": "<ROOT>/engine/strata-vision",
77     "mmproj": "<ROOT>/data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",
78     "model": "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
79     "gpu": true,
80     "max_tokens": 1024
81    }
82   },
83   "engine": {
84    "exe": "<ROOT>/engine/strata",
85    "argv": [
86     "--pack",
87     "<ROOT>/data/packs/ud_q4_k_xl",
88     "--native",
89     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
90     "--expert-profile",
91     "<REPO>/data/expert-profile.bin",
92     "--expert-cache",
93     "9658",
94     "--prefill",
95     "auto:32768",
96     "--spec",
97     "4",
98     "--spec-min-p",
99     "0.5",
100     "--mtp",
101     "<ROOT>/data/mtp/rt",
102     "--max-context",
103     "131072",
104     "--kv",
105     "int8",
106     "--mmap-experts",
107     "--mtp-q4",
108     "all",
109     "--mtp-hnorm",
110     "stream",
111     "--ple-io",
112     "ram",
113     "--kv-resident",
114     "32768",
115     "--resident-budget-gib",
116     "71",
117     "--vision",
118     "--vram-reserve-mib",
119     "700"
120    ],
121    "env_set": {
122     "GGML_NO_BACKTRACE": "1"
123    },
124    "notes": [
125     "[strata] Drafting: MTP (the DFlash2 drafter isn't downloaded yet)"
126    ]
127   },
128   "setup_says": [
129    "[ok] unified memory: the experts are read from the model files in place (--mmap-experts), so the GPU's cache holds them instead of a second copy in RAM",
130    "[ok] prompt chunk 32,768 (--prefill auto:32768), the draft layer as 4-bit copies (--mtp-q4 all) and one norm per hyper-connection stream in it (--mtp-hnorm stream): measured faster on this part, the answers are unchanged",
131    "Tip: for English or code only, --draft-vocab en measured +3.1% decode on this part (the default keeps Chinese, Japanese and Korean drafts).",
132    "[ok] 128 GB of RAM: the 29 GB n-gram table is kept in RAM (--ple-io ram), so a new prompt does not wait for its rows from the SSD (a 4K prompt about 18% sooner on a fast card); remove --ple-io ram from the config's args to read it from the SSD instead",
133    "[ok] KV streaming on: the context's KV cache lives in RAM (1.8 GB), more experts fit in VRAM",
134    "[ok] RAM budget: 71 GiB (less the KV cache's RAM)",
135    "[ok] expert cache: 9658 slots (not auto): this GPU shares the RAM with the 71 GiB budget, so setup leaves 24 GB of the RAM for the OS and the desktop (#1715). --expert-cache N in the config's args sets it"
136   ]
137  },
138  "launch": {
139   "entry": "launch",
140   "command": "strata launch --model UD-Q4_K_XL --yes --no-tui --context 131072",
141   "fetches": [
142    {
143     "call": "ensure",
144     "file": "qwen3.8-flash-next-dflash2.q4_0.pack",
145     "gb": 1.2
146    }
147   ],
148   "setup_args": [
149    "--yes",
150    "--no-start",
151    "--family",
152    "unsloth",
153    "--model",
154    "UD-Q4_K_XL",
155    "--context",
156    "131072",
157    "--vision",
158    "gpu",
159    "--drafter",
160    "dflash2",
161    "--data-dir",
162    "<ROOT>/data"
163   ],
164   "config_file": {
165    "exe": "<ROOT>/engine/strata",
166    "args": [
167     "--pack",
168     "<ROOT>/data/packs/ud_q4_k_xl",
169     "--native",
170     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
171     "--expert-profile",
172     "<REPO>/data/expert-profile.bin",
173     "--expert-cache",
174     "auto",
175     "--prefill",
176     "auto:32768",
177     "--spec",
178     "4",
179     "--spec-min-p",
180     "0.5",
181     "--mtp",
182     "<ROOT>/data/mtp/rt",
183     "--max-context",
184     "131072",
185     "--kv",
186     "int8",
187     "--mmap-experts",
188     "--mtp-q4",
189     "all",
190     "--mtp-hnorm",
191     "stream",
192     "--resident-budget-gib",
193     "48"
194    ],
195    "cwd": "<REPO>",
196    "tokenizer": "<ROOT>/data/packs/ud_q4_k_xl/tokenizer",
197    "model_name": "qwen3.8-flash-next-unsloth-ud-q4_k_xl",
198    "log": "<ROOT>/<STATE>/launch/ud-q4_k_xl-128k.engine.log",
199    "lib_dirs": [],
200    "port": 8080,
201    "host": "127.0.0.1",
202    "open_browser": false,
203    "engine_ready_s": 1230,
204    "args_derived": "=args",
205    "args_written": "=args"
206   },
207   "engine": {
208    "exe": "<ROOT>/engine/strata",
209    "argv": [
210     "--pack",
211     "<ROOT>/data/packs/ud_q4_k_xl",
212     "--native",
213     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
214     "--expert-profile",
215     "<REPO>/data/expert-profile.bin",
216     "--expert-cache",
217     "auto",
218     "--prefill",
219     "auto:32768",
220     "--max-context",
221     "131072",
222     "--kv",
223     "int8",
224     "--mmap-experts",
225     "--resident-budget-gib",
226     "48",
227     "--draft",
228     "dflash2",
229     "--draft-model",
230     "<ROOT>/data/dflash2/qwen3.8-flash-next-dflash2.q4_0.pack",
231     "--draft-fallback",
232     "none",
233     "--mtp-draft-vocab",
234     "<ROOT>/data/mtp/rt/draft_vocab.bin",
235     "--spec",
236     "6",
237     "--draft-conf",
238     "0.35"
239    ],
240    "env_set": {
241     "GGML_NO_BACKTRACE": "1"
242    },
243    "notes": [
244     "[strata] drafting: DFlash2 alone (--draft dflash2, --draft-conf 0.35)",
245     "[strata] drafting: draft vocabulary: draft_vocab.bin (the default)"
246    ]
247   }
248  },
249  "app_plain": {
250   "entry": "app_plain",
251   "command": "plain Load unsloth-ud-q4_k_xl",
252   "fetches": [
253    {
254     "call": "ensure",
255     "file": "qwen3.8-flash-next-dflash2.q4_0.pack",
256     "gb": 1.2
257    }
258   ],
259   "control_calls": [
260    {
261     "call": "draftingPlan",
262     "mode": null,
263     "noSplit": false,
264     "result": {
265      "needed": true,
266      "choice": "dflash2",
267      "drafter": "mtp",
268      "gb": 1.2,
269      "line": "Drafting: MTP (the DFlash2 drafter isn't downloaded yet)",
270      "note": "the DFlash2 drafter isn't downloaded yet",
271      "split": false,
272      "mtp_needed": false,
273      "mtp_here": true
274     }
275    },
276    {
277     "call": "draftingFetch",
278     "mode": "auto",
279     "noSplit": false
280    },
281    {
282     "call": "draftingPlan",
283     "mode": null,
284     "noSplit": false,
285     "result": {
286      "needed": false,
287      "choice": "dflash2",
288      "drafter": "dflash2",
289      "gb": 0,
290      "line": "Drafting: DFlash2",
291      "note": "",
292      "split": false,
293      "mtp_needed": false,
294      "mtp_here": true
295     }
296    },
297    {
298     "call": "saveProfile"
299    },
300    {
301     "call": "start"
302    }
303   ],
304   "config_file": {
305    "exe": "<ROOT>/engine/strata",
306    "args": [
307     "--pack",
308     "<ROOT>/data/packs/ud_q4_k_xl",
309     "--native",
310     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
311     "--expert-profile",
312     "<REPO>/data/expert-profile.bin",
313     "--expert-cache",
314     "auto",
315     "--prefill",
316     "auto:32768",
317     "--spec",
318     "4",
319     "--spec-min-p",
320     "0.5",
321     "--mtp",
322     "<ROOT>/data/mtp/rt",
323     "--max-context",
324     "131072",
325     "--kv",
326     "int8",
327     "--mmap-experts",
328     "--mtp-q4",
329     "all",
330     "--mtp-hnorm",
331     "stream",
332     "--resident-budget-gib",
333     "48"
334    ],
335    "cwd": "<REPO>",
336    "tokenizer": "<ROOT>/data/packs/ud_q4_k_xl/tokenizer",
337    "model_name": "qwen3.8-flash-next-unsloth-ud-q4_k_xl",
338    "log": "<ROOT>/install/strata-unsloth-ud-q4_k_xl.log",
339    "lib_dirs": [],
340    "port": 18500,
341    "host": "127.0.0.1",
342    "open_browser": false,
343    "mcp": {},
344    "fit_max_tokens": true,
345    "aliases": [
346     "unsloth-ud-q4_k_xl"
347    ],
348    "api_key": "<KEY>",
349    "engine_ready_s": 946
350   },
351   "engine": {
352    "exe": "<ROOT>/engine/strata",
353    "argv": [
354     "--pack",
355     "<ROOT>/data/packs/ud_q4_k_xl",
356     "--native",
357     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
358     "--expert-profile",
359     "<REPO>/data/expert-profile.bin",
360     "--expert-cache",
361     "auto",
362     "--prefill",
363     "auto:32768",
364     "--max-context",
365     "131072",
366     "--kv",
367     "int8",
368     "--mmap-experts",
369     "--resident-budget-gib",
370     "48",
371     "--draft",
372     "dflash2",
373     "--draft-model",
374     "<ROOT>/data/dflash2/qwen3.8-flash-next-dflash2.q4_0.pack",
375     "--draft-fallback",
376     "none",
377     "--mtp-draft-vocab",
378     "<ROOT>/data/mtp/rt/draft_vocab.bin",
379     "--spec",
380     "6",
381     "--draft-conf",
382     "0.35"
383    ],
384    "env_set": {
385     "GGML_NO_BACKTRACE": "1"
386    },
387    "notes": [
388     "[strata] drafting: DFlash2 alone (--draft dflash2, --draft-conf 0.35)",
389     "[strata] drafting: draft vocabulary: draft_vocab.bin (the default)"
390    ]
391   }
392  },
393  "app_models": {
394   "entry": "app_models",
395   "command": "Models screen: Load unsloth-ud-q4_k_xl with Drafting = Auto",
396   "fetches": [
397    {
398     "call": "ensure",
399     "file": "qwen3.8-flash-next-dflash2.q4_0.pack",
400     "gb": 1.2
401    }
402   ],
403   "control_calls": [
404    {
405     "call": "draftingPlan",
406     "mode": "auto",
407     "noSplit": false,
408     "result": {
409      "needed": true,
410      "choice": "dflash2",
411      "drafter": "mtp",
412      "gb": 1.2,
413      "line": "Drafting: MTP (the DFlash2 drafter isn't downloaded yet)",
414      "note": "the DFlash2 drafter isn't downloaded yet",
415      "split": false,
416      "mtp_needed": false,
417      "mtp_here": true
418     }
419    },
420    {
421     "call": "draftingFetch",
422     "mode": "auto",
423     "noSplit": false
424    },
425    {
426     "call": "saveProfile"
427    },
428    {
429     "call": "start"
430    }
431   ],
432   "config_file": {
433    "exe": "<ROOT>/engine/strata",
434    "args": [
435     "--pack",
436     "<ROOT>/data/packs/ud_q4_k_xl",
437     "--native",
438     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
439     "--expert-profile",
440     "<REPO>/data/expert-profile.bin",
441     "--expert-cache",
442     "auto",
443     "--prefill",
444     "auto:32768",
445     "--spec",
446     "4",
447     "--spec-min-p",
448     "0.5",
449     "--mtp",
450     "<ROOT>/data/mtp/rt",
451     "--max-context",
452     "131072",
453     "--kv",
454     "int8",
455     "--mmap-experts",
456     "--mtp-q4",
457     "all",
458     "--mtp-hnorm",
459     "stream",
460     "--resident-budget-gib",
461     "48"
462    ],
463    "cwd": "<REPO>",
464    "tokenizer": "<ROOT>/data/packs/ud_q4_k_xl/tokenizer",
465    "model_name": "qwen3.8-flash-next-unsloth-ud-q4_k_xl",
466    "log": "<ROOT>/install/strata-unsloth-ud-q4_k_xl.log",
467    "lib_dirs": [],
468    "port": 18500,
469    "host": "127.0.0.1",
470    "open_browser": false,
471    "drafting": "auto",
472    "mcp": {},
473    "fit_max_tokens": true,
474    "aliases": [
475     "unsloth-ud-q4_k_xl"
476    ],
477    "api_key": "<KEY>",
478    "engine_ready_s": 946
479   },
480   "engine": {
481    "exe": "<ROOT>/engine/strata",
482    "argv": [
483     "--pack",
484     "<ROOT>/data/packs/ud_q4_k_xl",
485     "--native",
486     "<ROOT>/data/models/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00003.gguf",
487     "--expert-profile",
488     "<REPO>/data/expert-profile.bin",
489     "--expert-cache",
490     "auto",
491     "--prefill",
492     "auto:32768",
493     "--max-context",
494     "131072",
495     "--kv",
496     "int8",
497     "--mmap-experts",
498     "--resident-budget-gib",
499     "48",
500     "--draft",
501     "dflash2",
502     "--draft-model",
503     "<ROOT>/data/dflash2/qwen3.8-flash-next-dflash2.q4_0.pack",
504     "--draft-fallback",
505     "none",
506     "--mtp-draft-vocab",
507     "<ROOT>/data/mtp/rt/draft_vocab.bin",
508     "--spec",
509     "6",
510     "--draft-conf",
511     "0.35"
512    ],
513    "env_set": {
514     "GGML_NO_BACKTRACE": "1"
515    },
516    "notes": [
517     "[strata] drafting: DFlash2 alone (--draft dflash2, --draft-conf 0.35)",
518     "[strata] drafting: draft vocabulary: draft_vocab.bin (the default)"
519    ]
520   }
521  }
522 }
523}