Niko1221
|
2dde837d9f
|
DeepSeek engine: DS4_COPY_HUGETLB=1 puts the CPU lane's RAM copy on explicit 2 MB pages (MAP_HUGETLB from the kernel pool; the copy's RAM budget adds the pool, which MemAvailable does not count). With DS4_COPY_PIN=1 the pin then keeps 2 MB pages: on a transparent-huge-page arena the registration pins 4 KB pages and the prompt's DMA from it swings between 11.9 and 30.4 s for the same 140.2 GB stream. R9700 12 GB cell, 2.25 pack, 8K, 3 warm prompts: huge-page arena + pin + DS4_RING_MB=3500 + DS4_ATTN_SLAB=2048 -> 694.2 / 693.0 / 691.2 ppts (11.80-11.82 s), first prompt 435.4 (18.8 s), ids identical (5705e1164a); the THP arena with the pin ran 691/573/270 in one load and 665-691 in another. Copy at load 33.3 s for 156.7 GB; the pool is reserved once per boot (sysctl vm.nr_hugepages=78000). Opt-in: default path unchanged; no-pin staged stays 651.
|
2026-10-25 22:27:30 +01:00 |
|
Niko1221
|
457d8cc791
|
DeepSeek engine: DS4_ATTN_SLAB=N sets the chunked prompt's attention slab rows (default unchanged: 8 MB / HQ rounded to 64). The slab loop runs the dense projections (q_b, wo_a, wo_b) per slab, and each call dequantizes the whole dense matrix: a 256-row slab dequantized the same weights 32 times for an 8K prompt (the dense dequant 916 ms and rocBLAS 867 ms of that prompt). R9700 12 GB cell, 2.25 pack, 8K warm: slab 256 -> 591.9 ppts (with the earlier fixes), slab 2048 + DS4_RING_MB=1600 -> 668.0/666.2 ppts (12.26/12.30 s), the first prompt 429.9 (from 143-402), ids identical (5705e1164a); q_b+rope 3.97 -> 1.15 s. Opt-in: the default slab is unchanged.
|
2026-10-25 20:45:17 +01:00 |
|
Niko1221
|
8abe826f70
|
DeepSeek engine: the chunked prompt's dense dequantizer writes its 32 values a thread through shared memory, coalesced (a warp covers 1024 contiguous values), instead of each thread writing 2 bytes every 64 - a warp's store touched 32 cache lines. Same arithmetic and the same F16/BF16 values (only the store order changes). R9700 12 GB cell, 2.25 pack, 8K warm: prompt 14474 -> 13840 ms (566 -> 591.9 ppts), the q_b+rope stage 4025 -> 3581 ms, ids identical (5705e1164a); the cold first prompt also uses it. DS4_DQ_OLD=1 keeps the old kernel for A/B.
|
2026-10-25 19:43:51 +01:00 |
|
Niko1221
|
00a1292531
|
DeepSeek engine: the post-prompt RAM-store preload skips the experts the CPU lane already holds as a RAM copy (copy_mode). In copy-all mode every routed expert is in that copy, so the preload read a second copy of the same bytes: 4152 experts, 40 GB at 6.4 GB/s, 6.2 s of every 8K prompt, with 0.0 store hits in the decode after it; with --mmap-experts off and the experts not all fitting, the in-place ones are still preloaded. R9700 12 GB cell, 2.25 pack, 8K: prompt 27918 -> 21567 ms (293 -> 380 ppts; a repeated prompt 526.6), decode 16.61 -> 16.82 tok/s, ids identical (5705e1164a). With DS4_COPY_PIN=1 the same run is 21347 ms (383.7 ppts, repeat 535.6).
|
2026-10-25 18:45:40 +01:00 |
|
Niko1221
|
4be0a7ce4d
|
DeepSeek engine: DS4_COPY_PIN=1 DMAs the prompt's experts from the CPU lane's copies in place (cudaHostRegister, read-only with DS4_COPY_PIN_RO=1), so the flow does not copy each one to the pinned staging first; the pinned chunks are unregistered with the arena. R9700 1 card, 2.25 pack, 8K prompt: the stream's compute wait 5517 -> 0 ms, prompt 28035 -> 27392 ms (292 -> 299 tok/s), ids identical; decode unchanged (16.6 vs 16.8 tok/s). The stream itself stays ~7 GB/s (the DMA issue pattern, not the staging), so the gain is small here; on an SSD-bound box the removed wait is the point. Opt-in: default path unchanged.
|
2026-10-25 18:05:54 +01:00 |
|
Niko1221
|
dfaae03b00
|
DeepSeek engine: the RAM store no longer misses the experts the VRAM cache gives back to the CPU lane: the preload fills the slots the lane leaves over (and the 256 reserved ones, evictable first) with the VRAM experts the profile counts least and the lane experts it never saw (DS4_STORE_SPARE=0 off), and an expert leaving VRAM is copied into a store slot from its VRAM blob (put_begin/put_done, DS4_STORE_PUT=0 off) instead of being read from the SSD while the lane waits. r9700 1 card 2.00, store forced (--ssd-cache 140): decode code 23.7 -> 26.2, agent 20.7 -> 24.6 tok/s, misses 1.5/2.6 -> 0.5/0.6 a token; P2003 RTX 3060: no loss, ids identical
|
2026-10-25 11:54:42 +01:00 |
|
Niko1221
|
025cf7d954
|
DeepSeek engine: the copy-all fit check is one tested rule (copy_all_fits) and also needs the Windows commit room (RAM + page file beside its margin), not only the free RAM, so a 64 GB PC with a 12 GB card, or a big-RAM PC with a small page file, never copies the lane in by itself; the auto store says (verbose) when it holds less than the CPU lane
|
2026-10-25 10:18:53 +01:00 |
|
Niko1221
|
6b5d593639
|
DeepSeek engine: --mmap-experts auto copies all the CPU lane's experts into RAM at load when they fit beside 8 GiB, with no demand store (all or none; --mmap-experts on/off, --ssd-cache N and DS4_STORE_GB stand as given); the auto store logs when it holds less than the lane. 1 x R9700 + 251 GB, 2.00 pack, warm: decode code 24.5 -> 27.6, agent 21.9 -> 27.1 tok/s, same ids as --ssd-cache 0 --mmap-experts off, load 34 -> 55 s. Rule ported from Project Maya v1.1.27 (MIT), mmap-experts auto copy-all
|
2026-10-25 09:27:16 +01:00 |
|
Niko1221
|
ad638b93e5
|
Merge f-0243-dsimport (the app's model-folder preview recognises official DeepSeek sets) into f-0243-rel
|
2026-10-25 01:07:30 +02:00 |
|
Niko1221
|
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
|
2026-10-25 01:07:05 +02:00 |
|
Niko1221
|
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)
|
2026-10-24 22:51:19 +02:00 |
|
Niko1221
|
ce27d13539
|
Merge f-0250-tui-uma (Faster is the default Speed on shared-RAM GPUs) into f-0243-rel
|
2026-10-24 22:31:11 +02:00 |
|
Niko1221
|
2dbdea2a77
|
Merge f-0243-strixspeed into f-0243-rel
|
2026-10-24 22:13:52 +02:00 |
|
Niko1221
|
da1eb6bc69
|
Merge f-0243-copyfix into f-0243-rel
|
2026-10-24 22:13:51 +02:00 |
|
Niko1221
|
2cea5afbc5
|
Merge f-0243-locales into f-0243-rel
|
2026-10-24 22:13:51 +02:00 |
|
Niko1221
|
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
|
2026-10-24 22:01:11 +02:00 |
|
Niko1221
|
1aff6d1411
|
Version 0.2.5: Terminal and app 0.2.5, engine and Control 0.1.50 (every Qwen and DeepSeek package, Metal included)
|
2026-10-24 21:52:49 +02:00 |
|
Niko1221
|
3f8f9aeaa6
|
Translations (de, zh, ja, es, ru, pt, ko) for the 26 new fix-catalog keys: first-run card, DeepSeek note, Speed labels
|
2026-10-24 21:47:01 +02:00 |
|
Niko1221
|
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
|
2026-10-24 21:45:44 +02:00 |
|
Niko1221
|
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
|
2026-10-24 21:45:44 +02:00 |
|
Niko1221
|
df7d407742
|
Merge f-025-fast (Faster is the default on shared-RAM GPUs; ZC warning) into f-0243-rel
|
2026-10-24 21:40:42 +02:00 |
|
Niko1221
|
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
|
2026-10-24 21:40:29 +02:00 |
|
Niko1221
|
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
|
2026-10-24 21:40:06 +02:00 |
|
Niko1221
|
add4362139
|
Merge branch 'f-025-strix' into f-025-fast
|
2026-10-24 21:39:41 +02:00 |
|
Niko1221
|
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)
|
2026-10-24 21:36:27 +02:00 |
|
Niko1221
|
67996022cd
|
build_dsv41_windows.bat: configure every time so the build id is the current commit
|
2026-10-24 21:25:48 +02:00 |
|
Niko1221
|
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)
|
2026-10-24 21:24:53 +02:00 |
|
Niko1221
|
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)
|
2026-10-24 21:18:56 +02:00 |
|
Niko1221
|
902239e7f7
|
ds4_gg_bench --k512: the two printf strings end in a newline escape (they held literal line breaks)
|
2026-10-24 20:57:49 +02:00 |
|
Niko1221
|
c1c3eab540
|
Merge f-026-5070 (in-place chunk 4096 on non-HIP cards under 16 GiB) into f-0243-rel
|
2026-10-24 20:41:36 +02:00 |
|
Niko1221
|
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
|
2026-10-24 20:41:08 +02:00 |
|
Niko1221
|
aa4b225237
|
Merge f-025-strix (gfx11 WMMA expert kernels, iq test) into f-0243-rel
|
2026-10-24 20:31:03 +02:00 |
|
Niko1221
|
bd71ea81b9
|
Merge f-0243-pick (prompt-path rule, post-ready warm-up) into f-0243-rel
|
2026-10-24 20:25:56 +02:00 |
|
Niko1221
|
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
|
2026-10-24 20:11:27 +02:00 |
|
Niko1221
|
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)
|
2026-10-24 20:05:05 +02:00 |
|
Niko1221
|
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)
|
2026-10-24 20:03:44 +02:00 |
|
Niko1221
|
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
|
2026-10-24 20:02:50 +02:00 |
|
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
|
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
|
2026-10-24 18:43:52 +02:00 |
|
Niko1221
|
67a6ee76f4
|
Engine bundle cleanup: one function (cleanupAfterInstall) writes the removed and kept lines to the host output, with a test that both reach it
|
2026-10-24 18:36:50 +02:00 |
|
Niko1221
|
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
|
2026-10-24 18:14:36 +02:00 |
|
Niko1221
|
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
|
2026-10-24 18:13:43 +02:00 |
|
Niko1221
|
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
|
2026-10-24 18:10:05 +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 |
|