Niko1221
dfd1b0f291
DeepSeek engine: the prompt path is chosen from the prompt's length alone (96 tokens and more through the chunked pass, windows of 16 below), one number for every box - the same prompt always takes the same path and gives the same bits (the old per-request timing prediction flipped the logits between runs and took 7 s on a 28-token prompt); the chunked pass is warmed up after the model is ready, on a thread, so the BLAS library's ~3.6 s start is not paid by the first prompt a person types; startup line; DS4_PICK=adaptive, DS4_PICK_MIN=N, DS4_WARM=0 as switches; rule test
2026-10-24 19:56:11 +02:00
Niko1221
8b8f8a10ee
Merge f-026-5070 final chunk rule ( 7bf6e4d3b) into f-0243-rel
2026-10-24 19:15:07 +02:00
Niko1221
7bf6e4d3b7
DeepSeek engine: one default prompt chunk rule, prefill_chunk_default(): 1024 only for a single-card default run where the GPUs hold at least half of the routed experts (4 x R9700; the R9700 worker's gpu_expert_share() from 4cde62a35), 4096 when a GGUF pack's experts are copied into RAM (--mmap-experts off) on a non-HIP card with 10 GiB or more, 8192 for the experts read in place (5070, 3060, 1 x R9700: what a launch on one card already ran), 2048 for a pack that is not a GGUF; real launch logs on the RTX 5070 and the RTX 3060 show no --tp / --threads and 'prompts in chunks of 8192'; one unit test with the 5070, 3060, 5090-class, 1 x and 4 x R9700 cases
2026-10-24 19:14:17 +02:00
Niko1221
56ac21a217
Merge f-026-5070 (prefill chunk default rule) into f-0243-rel
2026-10-24 19:00:37 +02:00
Niko1221
829913ea59
DeepSeek engine: 4096 chunk rule applies to a GGUF pack only when it is copied into RAM (--mmap-experts off) and to an explicit --tp 1 single card; the experts-read-in-place default stays 8192; other packs keep 2048
2026-10-24 19:00:07 +02:00
Niko1221
dba7d0e0ab
DeepSeek engine: the prompt chunk of the experts-copied-into-RAM case (2048) and of an explicit --tp 1 single card (1024) becomes 4096 on cards with 10 GiB or more (HIP builds and smaller cards keep theirs; the in-place 8192 is unchanged); startup line; rule test incl. 12/16/24/32 GB, short-VRAM, HIP and max-context cases
2026-10-24 18:49:20 +02:00
Niko1221
1c69e23658
Merge f-0243-guifix final head into f-0243-rel
2026-10-24 17:50:44 +02:00
Niko1221
f613637cbd
Merge f-026-5070 (experts N|auto, IQ1_M row) into f-0243-rel
2026-10-24 17:50:01 +02:00
Niko1221
4f47009d08
Merge f-0243-fuse into f-0243-rel
2026-10-24 17:48:34 +02:00
Niko1221
94a4a34b05
Merge f-026-qwen into f-0243-rel
2026-10-24 17:46:13 +02:00
Niko1221
8993997e02
Merge f-025-strix into f-0243-rel
2026-10-24 17:46:13 +02:00
Niko1221
9741a61d7b
Merge f-0250-tui into f-0243-rel
2026-10-24 17:46:13 +02:00
Niko1221
06f313b019
CPU lane IQ1_M AVX-512 rows: the 64-weight step's scale words by one vpermw and the delta signs by a masked subtract (bit-identical to ggml's dot: 0 of 2.7M rows differ at 1 and 2 tokens on Zen 4 and Sapphire Rapids); +9% on the rows, the 1-token policy is unchanged
2026-10-24 17:41:33 +02:00
Niko1221
9b4092a94d
launch: the Speed choice and --experts need a DeepSeek engine of 0.1.50 or newer (0.1.49.2 does not accept the flag): an older or unknown engine gets no flag, no Speed step and no plan line, and no error; the version comes from the package folder, else --version; tests
2026-10-24 16:47:17 +02:00
Niko1221
b79d6930c1
test: the own-GGUF check loads its helper by path (another tests package can already be loaded in a full tools run)
2026-10-24 16:43:46 +02:00
Niko1221
bd7acc0e6d
launch: the 16 GiB rule for the Speed label is compared in whole MiB; the catalog's vram_gb is already GiB (nvidia-smi MiB / 1024, AMD bytes / 2**30), so a 16 GB card (16376 MiB) counts as 16 GiB or less; tests with exact MiB values
2026-10-24 16:39:53 +02:00
Niko1221
c4413c0b54
launch: one rule for DeepSeek's speed. Nothing is passed to the engine unless the person chose (its --experts auto decides: 5 at 16 GiB of cards or less); the 'default on this PC' words use the same 16 GiB rule summed over the cards the launch uses, and the summary reads the engine's own 'experts per word: N' line back; tests follow
2026-10-24 16:36:49 +02:00
Niko1221
bc1a3ba2ed
launch: DeepSeek Speed choice, Faster (--experts 5, the default on a PC with 16 GB of graphics memory or less) or Full quality (--experts 6): a Speed step in the guided screens, --speed and --full-quality, plain words in --plan and the summary, the quality note; tests, docs
2026-10-24 16:33:51 +02:00
Niko1221
3dd11c6dc1
DeepSeek engine: --experts N (the router's top N, weights renormalised); default 5 where the cards hold 16 GiB or less in all, the model's 6 elsewhere; startup line 'experts per word: 5 (faster mode; full quality: --experts 6)'; DS4_TOPK=N stays as a test override; rule test; DS4_PROF prints the CPU lane's stage split
2026-10-24 16:31:09 +02:00
Niko1221
eb4736c45e
DeepSeek engine: on a Windows integrated GPU the experts leave room for the context's later GPU allocations
...
The Windows commit limit decides how many experts an integrated GPU may hold (place_experts). With AMD driver 26.10.1 the limit
went from 74 GB to 133 GB on a Strix Halo, the engine put 9506 experts (86 GB) on the GPU instead of 8105, every byte of the
GPU's address space was gone, and the 32K prompt's later allocations spilled into RAM: free RAM fell to 0 and the engine died
("rocBLAS: No devices found"). The experts now leave 4 GiB + 0.2 MB a token of context above 16384 (DS4_UMA_GPU_RESERVE_GB sets
it, tests); only an integrated GPU on Windows is affected.
Strix Halo (gfx1151, 2.00 pack, shipped profile), driver 26.10.1:
32K prompt: killed (min free RAM 0) before, 113.2 tok/s with min free 13.6 GB now; 64K prompt (70000 context): 122.2 tok/s, min free 14.4 GB
4K / 8K prompt: 62.8 / 83.9 tok/s (64.9 / 86.2 with the 9506 experts: -3%), min free 13.4-13.8 GB
KL, code segment, 999 positions: 0.1020 (0.1028 before)
A smaller reserve (3 GiB + 0.1 MB a token) gained 0.0% on 4K / 8K / code decode and left 0.9 GB less free at 64K, so it was not taken.
2026-10-24 16:22:28 +02:00
Niko1221
66b43d4a7f
Monitor: with All GPUs, a card that cannot report a value is left out and the card that does report is named (35 C . RTX 5070) instead of blanking the figure
2026-10-24 16:09:59 +02:00
Niko1221
4228e6ee11
chat model picker: a downloaded model that is not loaded uses the same two-line row as the API models
2026-10-24 15:59:39 +02:00
Niko1221
9caf39495c
Merge f-0243-guifix into f-0243-rel
2026-10-24 15:44:30 +02:00
Niko1221
0c53372a0e
Merge f-0250-tui into f-0243-rel
2026-10-24 15:44:30 +02:00
Niko1221
a3e4cb64fd
test: serving never reaches the DeepSeek engine check (only launch and setup import it), and 'serve --plan runs no program' means no installer or fetch: a PC's read-only hardware probes (nvidia-smi, Get-CimInstance) no longer fail it
2026-10-24 15:26:07 +02:00
Niko1221
dc2c4229e9
test: launch_engine_first gives the runner a Qwen catalog (a bare Mock answered 'DeepSeek' to the 0.2.4 multi-file question and skipped the engine step); the launch code was right
2026-10-24 15:25:07 +02:00
Niko1221
60d856a18e
DeepSeek decode: fewer launches a layer - the int8 roundings of one GEMV call in one launch (identical inputs once) and hc_mix + hc_split in one launch (the token's last mix block runs the split); same arithmetic
...
R9700 1 card 2.00: 21.30 -> 21.82 tok/s (+2.4%), 4 cards 35.39 -> 37.00 (+4.5%), 3 pairs each, same generated ids. DS4_QUANT_SINGLE=1 / DS4_QUANT_NODEDUP=1 go back to one launch an item / no sharing.
2026-10-24 14:47:48 +02:00
Niko1221
54768d25b1
test: the own-GGUF check finds tests.terminal when tools/ is run on its own
2026-10-24 14:29:49 +02:00
Niko1221
beeea0abf3
test: the Mac build-tools test follows find_tool's version check
2026-10-24 14:19:31 +02:00
Niko1221
569f7c739d
test: the --kv choices check reads the last line of the error (Python 3.12 and 3.13 print the list differently)
2026-10-24 14:18:47 +02:00
Niko1221
16c4da9443
CPU expert rows: 512-bit grid lookups by gather where a gather is cheap; one IQ3 token on the exact 512-bit rows
...
The 512-bit i-quant rows (IQ2_XXS/XS/S, IQ3_XXS/S) assembled their grid words from scalar loads (~30 uops a 64-value chunk). Where cpu_gather_fast()
(Intel Sapphire Rapids and later) they now load them by one gather, 32-bit for IQ3 and 64-bit for IQ2 (STRATA_IQ_GATHER=1/0 force it; Zen 4 stays scalar:
its gathers are microcoded). The same words are loaded, so every output bit is unchanged. One token of an IQ3_XXS / IQ3_S expert takes the exact 512-bit rows (ggml-cpu's
single-token AVX2 dot bit for bit) with the gather, after a first-use bit check against this ggml; STRATA_NO_IQ512X1=1 turns it off.
Xeon 8468, native_gu_rows (gate+up of an expert), us: IQ3_XXS 1 token 295 -> 219, 2 tokens 462 -> 300, 4 tokens 558 -> 389; IQ3_S 415 -> 305, 603 -> 342, 562 -> 296;
IQ2_S 2 tokens 377 -> 235, 4 tokens 437 -> 327 (one IQ2_S token stays on ggml: 239 against 234). Output checksums identical with and without.
Test iq512_gather_parity (both lookup modes): exact rows == ggml vec_dot at 1-4 tokens, engine rows within float rounding.
2026-10-24 14:09:08 +02:00
Niko1221
9030da09f9
Merge f-026-5070 into f-0243-rel
2026-10-24 14:01:05 +02:00
Niko1221
980c95a6d7
Merge f-0243-store into f-0243-rel
2026-10-24 14:01:04 +02:00
Niko1221
86a751af27
Merge f-025-strix into f-0243-rel
2026-10-24 14:01:04 +02:00
Niko1221
84b712a3d8
Merge f-0243-sm89 into f-0243-rel
2026-10-24 14:01:04 +02:00
Niko1221
c1e80f7952
Markdown: a single newline inside a paragraph is a soft break (a space); two spaces or a backslash at the end of a line keeps a line break ( #3818 )
2026-10-24 13:55:42 +02:00
Niko1221
ea349eb8b8
Language: 43 interface strings that had no key (/plan /research /new hints, tuning, goal, telemetry, task and picture texts, the new fix texts) now exist in all 8 languages; the four Open hints translate their label; a test fails when a tr() literal or hint has no key ( #3479 , #3825 )
2026-10-24 13:51:18 +02:00
Niko1221
08a5e6b34a
packaging smoke: the packaged Terminal carries the installer since 0.2.4, so 'strata install' without a keyboard stops at the first question instead of saying 'no installer'; the check accepts both
2026-10-24 13:48:09 +02:00
Niko1221
353c9f2556
chat: a PDF is added to the chat folder and named in the next message; the file dialog lists PDFs and text on Linux ( #3838 )
2026-10-24 13:48:06 +02:00
Niko1221
780a69b41b
Expert settings: decimals can be typed in sampling and number fields; Ctrl+V of a screenshot reads clipboard items ( #3736 , #3748 )
2026-10-24 13:47:18 +02:00
Niko1221
c7899f9c89
chat: Copy response and Copy message answer Copied or say they could not (with an older-copy fallback); a typed message keeps its line breaks ( #3731 , #3720 )
2026-10-24 13:45:58 +02:00
Niko1221
e61b7024cf
Models page: a neutral placeholder until the engine's first answer, not the bundled Starter ( #3740 )
2026-10-24 13:45:12 +02:00
Niko1221
25abbdd90c
Models page: the chosen conversation context and cache format count in the memory estimate ( #3832 )
2026-10-24 13:43:25 +02:00
Niko1221
f750086183
Models page: the chosen conversation context and cache format count in the memory estimate ( #3832 )
2026-10-24 13:43:02 +02:00
Niko1221
4ccfd7ca30
Windows AMD/Intel cards: real memory size from the DirectX adapter list, load and memory in use from the Windows GPU counters, virtual monitors no longer listed as cards ( #3727 , #3836 )
2026-10-24 13:40:59 +02:00
Niko1221
b750d757f6
CUDA engine selector: sm_MN machine code also covers a card sm_MK of the same major version with K >= N (CUDA cubin compatibility), so an RTX 40 card (sm_89) takes an sm_86 package; tests for the Qwen and DeepSeek packages; DeepSeek card text says RTX 30, 40 and 50
2026-10-24 13:40:27 +02:00
Niko1221
d9d033be86
launch: at 80 columns the model list keeps its verdict column (fits, tight, too big and the recommendation) instead of cutting it off; test
2026-10-24 13:40:22 +02:00
Niko1221
9c375ccb7d
launch: setup's DeepSeek engine upgrade lines (the failure one 'A newer DeepSeek engine is available but could not be installed') are shown on the setup path too; test
2026-10-24 13:38:49 +02:00
chicco83
90a7aeea51
Setup wizard: show the VRAM of AMD cards on Windows from the engine's list when the host probe reports 0 ( #3727 , PR #3798 by chicco83)
2026-10-24 13:38:38 +02:00
Niko1221
d6c1936021
setup: a source build on Windows needs Visual Studio 2022 (2019 cannot compile the C++20 sources) and the stop says so, with the ready-made engine as the way around ( #3566 ); tests follow
2026-10-24 13:37:35 +02:00