b6dcb23ec6
WIP metal: ds4_sparse_attn_mx (sparse attention on simdgroup matrices, DS4_ATTN_MX=1; =2 compares with the scalar kernel: rms rel 1.8e-6); timing and KL gate pending
Niko12212026-10-25 02:07:40 +01:00
100a2374fb
metal: Q5_K dequant four values a step (bit-identical); DS4_SKIP_K and the timeline's overlap count as debug tools
Niko12212026-10-25 02:37:35 +02:00
36f580a5c3
UPDATES.md: the Mac dmg keeps its Metal engine; only the Windows and Linux installers are engine-less
Niko12212026-10-25 02:12:42 +02:00
8810e00c09
metal: prompt hc_mix reads each token's row once for four mixes (bit-identical, +4.5% on the 3K prompt)
Niko12212026-10-25 01:49:44 +02:00
050752f5b9
DeepSeek Metal: head matvec back to 4 columns a pass (8 moved the KL by +0.002)
Niko12212026-10-25 01:41:34 +02:00
97c091c5be
DeepSeek Metal: prompt flow reads experts straight into the ring (unified memory: no staging, no DMA), head matvec 8 columns a pass
Niko12212026-10-25 01:24:37 +02:00
6b2a530393
DeepSeek Metal: cached compute pipelines (the prompt path created one per expert copy), F_NOCACHE for the unbuffered expert reads, dispatch-seq log
Niko12212026-10-25 01:10:26 +02:00
ad638b93e5
Merge f-0243-dsimport (the app's model-folder preview recognises official DeepSeek sets) into f-0243-rel
Niko12212026-10-25 01:07:30 +02:00
32ad109816
Model preview: recognise official DeepSeek-V4.1-Flash IST-DAS sets (1.75/2.00/2.25 bpw, official and first-release names, with or without the Engram) as family deepseek41
Niko12212026-10-25 01:07:05 +02:00
9e3fe0461c
DeepSeek Metal: CPU-lane page prefetch in parallel across the call's matrices (the cold reads were 78% of the lane), CPU-lane phase log
Niko12212026-10-25 00:06:36 +02:00
6270e2d9d6
collect_libs: a library an earlier binary's pass already put in --out is not copied onto itself (SameFileError stopped the AMD packages' second pass)
Niko12212026-10-24 22:51:19 +02:00
ce27d13539
Merge f-0250-tui-uma (Faster is the default Speed on shared-RAM GPUs) into f-0243-rel
Niko12212026-10-24 22:31:11 +02:00
2dbdea2a77
Merge f-0243-strixspeed into f-0243-rel
Niko12212026-10-24 22:13:52 +02:00
da1eb6bc69
Merge f-0243-copyfix into f-0243-rel
Niko12212026-10-24 22:13:51 +02:00
2cea5afbc5
Merge f-0243-locales into f-0243-rel
Niko12212026-10-24 22:13:51 +02:00
0b9539877f
README and docs for the single installer: three download buttons (Windows, Linux, Mac) with the 0.2.5 file names, one plain line instead of the per-GPU sentence (7 languages); docs/AMD_HIP.md and packaging/UPDATES.md name the single installers
Niko12212026-10-24 22:08:00 +02:00
9551b4168d
Metal and SYCL builds: the Metal engine gets stubs for the 512-bit i-quant rows native_expert.cpp now references (x86-only file), and SYCL compiles iq_avx512.cpp with -mbmi2 and -mavx512vpopcntdq like the root CMakeLists.txt
Niko12212026-10-24 22:01:11 +02:00
1aff6d1411
Version 0.2.5: Terminal and app 0.2.5, engine and Control 0.1.50 (every Qwen and DeepSeek package, Metal included)
Niko12212026-10-24 21:52:49 +02:00
8d3c976166
DeepSeek Metal: keep the GPU busy (flag-released spin kernel) while the CPU lane runs: decode +25-35%
Niko12212026-10-24 21:47:29 +02:00
3f8f9aeaa6
Translations (de, zh, ja, es, ru, pt, ko) for the 26 new fix-catalog keys: first-run card, DeepSeek note, Speed labels
Niko12212026-10-24 21:47:01 +02:00
684881246d
DeepSeek Speed label: the default is named by the engine's own rule, integrated / unified-memory GPU (Strix Halo) or cards totalling 16 GiB or less; '(default on this PC)' on the matching choice; test
Niko12212026-10-24 21:41:06 +02:00
d44144d7bb
English catalog keys for the first-run card, the DeepSeek note and the Speed labels (the locale-gaps test failed on the merged branch); the other seven fix catalogs carry the English text until translated
Niko12212026-10-24 21:45:44 +02:00
df7d407742
Merge f-025-fast (Faster is the default on shared-RAM GPUs; ZC warning) into f-0243-rel
Niko12212026-10-24 21:40:42 +02:00
0597aaaeb7
launch: an integrated / unified-memory GPU (Strix Halo, gfx1151) is Faster by default, as the engine's --experts auto says: the 'default on this PC' label and the plan mirror 'integrated GPU, or cards totalling 16 GiB or less'; the engine 0.1.50 guard stays; tests
Niko12212026-10-24 21:40:29 +02:00
c4ce40bf5e
DeepSeek engine: faster mode (5 experts a word) is the default on a GPU that shares the PC's RAM (Strix Halo: decode +11..13%, prompts +5..7% against 6); the 16 GiB rule is unchanged, --experts N wins; rule test rows
Niko12212026-10-24 21:40:06 +02:00
add4362139
Merge branch 'f-025-strix' into f-025-fast
Niko12212026-10-24 21:39:41 +02:00
ff91bc3729
DeepSeek engine: DS4_STORE_ZC=1 on a GPU that shares the PC's RAM, whose budget the weights already fill, prints one plain line that it will likely fail with a GPU fault and gains nothing (no cap)
Niko12212026-10-24 21:36:27 +02:00
dde3250cdb
DeepSeek Metal: --dspark-depth, dispatch counts in the round times
Niko12212026-10-24 21:28:44 +02:00
67996022cd
build_dsv41_windows.bat: configure every time so the build id is the current commit
Niko12212026-10-24 21:25:48 +02:00
7988837183
release build scripts: a failed step is a non-zero exit (build_hip_linux.sh), a stale binary or an old configure cannot pass, and strata-dsv41 must carry the release commit (BUILD_ID for a tarball, checked in the binary)
Niko12212026-10-24 21:24:53 +02:00
77b1a50541
launch: flow_for reads the settings only when the context has them (a context with only a computer, as test_mixed_vendors passes, raised AttributeError after the Speed step)
Niko12212026-10-24 21:18:56 +02:00
902239e7f7
ds4_gg_bench --k512: the two printf strings end in a newline escape (they held literal line breaks)
Niko12212026-10-24 20:57:49 +02:00
f29ff5a59a
DeepSeek Metal: drafter bring-up (ring restore, host sampler for temperature and speculative sampling), per-dispatch GPU timeline
Niko12212026-10-24 20:44:05 +02:00
c1c3eab540
Merge f-026-5070 (in-place chunk 4096 on non-HIP cards under 16 GiB) into f-0243-rel
Niko12212026-10-24 20:41:36 +02:00
1fac68d6f2
DeepSeek engine: the experts-read-in-place default prompt chunk is 4096 on non-HIP cards under 16 GiB (was 8192): decode +2% agent / +0.4..9% code (5 pairs on RTX 5070 and RTX 3060, 120 more experts resident), an agent turn of 3K new tokens on 16K takes the same time, a cold 8K prompt 9% slower; DS4_FEEDLOG prints each feed's time; test rows for 12 GB, 15.9 / 16 / 24 GiB, 8 GB, unknown VRAM and HIP
Niko12212026-10-24 20:41:08 +02:00
aa4b225237
Merge f-025-strix (gfx11 WMMA expert kernels, iq test) into f-0243-rel
Niko12212026-10-24 20:31:03 +02:00
4d8ff9646f
DeepSeek engine tests: the gfx11 / gfx12 matrix-core prompt tiles are forced on and off in ds4_iq_test (launch counted, both against the CPU reference and each other); umaprobe m1/ver probes; test knobs DS4_ZC_COARSE and DS4_STORE_CHUNK_SLOTS for the zero-copy registration
Niko12212026-10-24 20:11:27 +02:00
34810a3bb3
DeepSeek Metal: automatic VRAM-expert share from the anonymous-memory cap (explicit --vram-experts wins)
Niko12212026-10-24 20:09:03 +02:00
536460c3d8
Copy feedback: one helper (lib/clipboard.ts copyText with a toast); Markdown and Serving use it, lib/copy-text.ts is gone (the toast store is loaded only when a code block is copied)
Niko12212026-10-24 20:05:05 +02:00
061a285832
Merge f-0243-gui into f-0243-rel (Chat.tsx and DropZone.tsx: the guifix clipboard helpers kept at the conflicts, copyAndTell stays for Markdown and Serving)
Niko12212026-10-24 20:03:44 +02:00
e752c65455
ds4_gg_bench: --k512 calls the AVX-512 rows (iq512x_rows) directly against ggml-cpu's dot, bit for bit, and says whether the CPU and type allow them
Niko12212026-10-24 20:02:50 +02:00
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
Niko12212026-10-24 19:56:11 +02:00
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
Niko12212026-10-24 19:14:17 +02:00
c2675c60d1
DeepSeek Metal: chunk path mixes through the fused hc_mix kernel
Niko12212026-10-24 19:12:34 +02:00
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
Niko12212026-10-24 19:00:07 +02:00
700def65a2
DeepSeek Metal: chunked prompt path correct (sgemm on the one Context, KEEP dump syncs, debug switches); 2988-token prompt 251-277 tok/s vs 32 in windows
Niko12212026-10-24 18:56:42 +02:00
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
Niko12212026-10-24 18:49:20 +02:00
535cacb052
Tests never write the owner's real Strata profile: pytest gets scratch LOCALAPPDATA/XDG state and data folders; the host test runner and the native-control test files get a scratch settings file, components folder and app data
Niko12212026-10-24 18:43:52 +02:00
67a6ee76f4
Engine bundle cleanup: one function (cleanupAfterInstall) writes the removed and kept lines to the host output, with a test that both reach it
Niko12212026-10-24 18:36:50 +02:00
a264168390
One size figure: engine sizes are decimal MB, rounded half up, in the Terminal (strata update) and the app; both tested on the same numbers
Niko12212026-10-24 18:14:36 +02:00
e6c5997091
DeepSeek engine: gfx11 WMMA expert kernels for the prompt sets, on by default on gfx1151 (Strix Halo: prompts +22..29% at the same KL), opt-in on other gfx11 parts; STRATA_DS4_HIPK=0 turns them off
Niko12212026-10-24 18:13:43 +02:00
7063f3adca
Sizes in decimal MB on the first-run card and the update check (one helper); the engine bundle of a per-GPU install is removed after an update only when the same engine is complete in the store (size and SHA-256), else kept with one log line
Niko12212026-10-24 18:10:05 +02:00
4f47009d08
Merge f-0243-fuse into f-0243-rel
Niko12212026-10-24 17:48:34 +02:00
94a4a34b05
Merge f-026-qwen into f-0243-rel
Niko12212026-10-24 17:46:13 +02:00
8993997e02
Merge f-025-strix into f-0243-rel
Niko12212026-10-24 17:46:13 +02:00
9741a61d7b
Merge f-0250-tui into f-0243-rel
Niko12212026-10-24 17:46:13 +02:00
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
Niko12212026-10-24 17:41:33 +02:00
236e13b4af
Settings update check: a failed check of the app itself says so in one plain line, with the raw error behind Details (it used to show only Control's new-version text)
Niko12212026-10-24 17:25:53 +02:00
c893eeebf1
App update: an update job an older host left running is finished when the installer has written uninstall.exe or changed the program file after the job began (the installer keeps the build time as the modified time)
Niko12212026-10-24 17:11:55 +02:00
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
Niko12212026-10-24 16:47:17 +02:00
3283d2ae49
DeepSeek Speed: offered and passed only when the installed DeepSeek engine is 0.1.50 or newer (an older one ends the start with unknown option --experts)
Niko12212026-10-24 16:46:06 +02:00
b79d6930c1
test: the own-GGUF check loads its helper by path (another tests package can already be loaded in a full tools run)
Niko12212026-10-24 16:43:46 +02:00
883e21bf2e
tests: the app-owned settings list includes the DeepSeek Speed choice
Niko12212026-10-24 16:43:31 +02:00
4e4921f63e
DeepSeek settings: Speed (Faster / Full quality), default shown by the engine's own 16 GB rule, passed as --experts 5|6 only when chosen
Niko12212026-10-24 16:42:29 +02:00
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
Niko12212026-10-24 16:39:53 +02:00
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
Niko12212026-10-24 16:36:49 +02:00
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
Niko12212026-10-24 16:33:51 +02:00
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
Niko12212026-10-24 16:31:09 +02:00
eb4736c45e
DeepSeek engine: on a Windows integrated GPU the experts leave room for the context's later GPU allocations
Niko12212026-10-24 16:22:28 +02:00
7c77f388dd
metal: commit the queued GPU work before the CPU lane runs (they overlap)
Niko12212026-10-24 16:11:09 +02:00
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
Niko12212026-10-24 16:09:59 +02:00
91eb05a228
App update: a job an older host left running is finished when the app's program file is newer than the job
Niko12212026-10-24 16:07:45 +02:00
4228e6ee11
chat model picker: a downloaded model that is not loaded uses the same two-line row as the API models
Niko12212026-10-24 15:59:39 +02:00
42a982e033
metal: copies and fills ride the context's command buffer, events mark it, buffers chained by a shared event, decode matvecs for IQ2_XS/IQ2_S/IQ3_XXS
Niko12212026-10-24 15:59:04 +02:00
3e51b1c18a
metal: decode matvecs for Q5_K and IQ2_XXS (every lane busy, 16-byte loads), lane-parallel hc_split for hc 4, DS4_PROF per-kernel GPU table
Niko12212026-10-24 15:44:39 +02:00
9caf39495c
Merge f-0243-guifix into f-0243-rel
Niko12212026-10-24 15:44:30 +02:00
0c53372a0e
Merge f-0250-tui into f-0243-rel
Niko12212026-10-24 15:44:30 +02:00
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
Niko12212026-10-24 15:26:07 +02:00
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
Niko12212026-10-24 15:25:07 +02:00
9dbb13ee89
metal: the IQ2_XXS matvec read its sub-blocks 4 bytes apart (8), IQ2_XS signs, IQ3_XXS matvec added; more dumps and checks
Niko12212026-10-24 15:15:20 +02:00
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
Niko12212026-10-24 14:47:48 +02:00
abab458d74
Feed reads: one more try when the first times out or the connection fails (the first wait is 12 s, the second the full 30 s); about one github.com request in 25 hung for 30 s and the first-run card said offline
Niko12212026-10-24 14:44:12 +02:00
9cf91f3555
Load of DeepSeek: the start wait is at most the 600 s Control allows
Niko12212026-10-24 14:36:14 +02:00
f30d191d54
Load of DeepSeek: the app adds no Flash-Next options (request slots, RAM budget, output clamp, resource profile, memory retry) to the DeepSeek engine and waits as long as its config says
Niko12212026-10-24 14:34:47 +02:00
75ee28fd3d
Host: the per-model settings routes accept a dotted id; a test walks a dotted model id through list, load and unload
Niko12212026-10-24 14:33:40 +02:00
860e384db7
metal: the ring backup flag, decode takes the host-routed path, split commits sync the streams first, sparse_attn sizes its binding without a host read of device data
Niko12212026-10-24 14:33:07 +02:00
fe2b9f4094
Host: run config file names with a dot (DeepSeek) pass the app's own checks, so the model can be loaded
Niko12212026-10-24 14:31:43 +02:00
54768d25b1
test: the own-GGUF check finds tests.terminal when tools/ is run on its own
Niko12212026-10-24 14:29:49 +02:00
4499c69681
Installed models: an id with a dot (deepseek-v4.1-flash-ist-das-2.00bpw) is listed; the install finished but the app never showed the model
Niko12212026-10-24 14:22:39 +02:00