Commit Graph

  • b6cc7e681b setup: DeepSeek family line names IST-DAS for the official 2-bit GGUFs and Unsloth for UD-Q8_K_XL; says who made the files of the chosen version Niko1221 2026-10-23 20:41:48 +02:00
  • f2323d876d setup test + docs: no --prefill-chunk, one plain line about the engine's own chunked prompt Niko1221 2026-10-23 20:37:24 +02:00
  • 10af5bb1e4 setup: drop --prefill-chunk (the chunked prompt is the engine's default now); doc line Niko1221 2026-10-23 20:37:14 +02:00
  • 237eb667d3 Merge branch 'f-dsv41-rel' into f-dsv41-setup Niko1221 2026-10-23 20:37:12 +02:00
  • d6f18babe9 Merge f-dsv41-r97 fb321d62c into f-dsv41-rel (layer-major chunked prompt as the engine default) Niko1221 2026-10-23 20:12:55 +02:00
  • 1747c8e538 dsv41 cpu lane: one-token AVX-512 rows - sign masks by popcount (IQ2_XXS, IQ2_XS, IQ3_XXS), IQ1_M AVX-512 rows with pdep indices; chosen per CPU (Zen 5 from 1 token) Niko1221 2026-10-23 20:09:59 +02:00
  • f1cb66d09e dsv41: strata-dsv41 --version and a 'ds4: build <commit>' line with --verbose (commit from git at configure, a BUILD_ID file in an archive, or -DSTRATA_BUILD_ID) Niko1221 2026-10-23 20:03:24 +02:00
  • 4eedb86b4f Merge f-dsv41-h100 (store pre-grow: register the whole arena before the first kernel on Linux, fixes the --ssd-cache zero-copy hang) Niko1221 2026-10-23 20:01:41 +02:00
  • e917cf5b37 Merge branch 'f-dsv41-rel' into f-dsv41-setup Niko1221 2026-10-23 20:01:11 +02:00
  • c506238ce2 setup: DeepSeek official sets start with --dspark-conf 0.65 (H100 measured default) Niko1221 2026-10-23 20:00:50 +02:00
  • c35710e388 dsv41: store arena pre-grown by default on Linux when the GPU maps it Niko1221 2026-10-23 19:59:29 +02:00
  • fb321d62cb dsv41: the layer-major (chunked) prompt is the default on every run: chunks of 1024 for the single-card default run, staging ring 16 MB where the cards hold most of the experts Niko1221 2026-10-23 19:59:13 +02:00
  • f7d7072841 dsv41: DS4_STORE_PREGROW=1 (map the whole store arena before the first kernel; cuMemHostRegister mid-decode hangs on Linux) Niko1221 2026-10-23 19:58:22 +02:00
  • 1c1005952a Merge f-dsv41-cuk 86bdfbd0d (HIP keeps the release grids and kernels). One conflict: the identical IQ1_M code-table HIP guard (9c46ab821 vs cuk); took cuk's wording. Niko1221 2026-10-23 19:52:52 +02:00
  • 154c2990ed metal: the routing trio ported ahead of its turn - moe_sort counts, bounds scan, fill Niko1221 2026-10-23 19:51:04 +02:00
  • 4735e381ad metal: hc_split ported - the hyper-connection family is complete on the Mac Niko1221 2026-10-23 19:46:42 +02:00
  • 41856f6594 dsv41: staging ring 64 MB when the experts are within 30% of fitting the cards (R9700 x4 plain 2.00: ratio 1.16) Niko1221 2026-10-23 19:45:21 +02:00
  • 0beae0bca6 dsv41: the store fill after a chunked prompt reaches the store's whole capacity, not only its allocated slots Niko1221 2026-10-23 19:44:54 +02:00
  • 9469412db2 setup: DeepSeek official sets start with --prefill-chunk 1024 (layer-major prompt path, measured 231 tok/s at 8K on a 12 GB PC) Niko1221 2026-10-23 19:44:40 +02:00
  • a345d9f8cf Merge branch 'f-dsv41-rel' into f-dsv41-setup Niko1221 2026-10-23 19:44:39 +02:00
  • 7022bd25d8 metal: the hyper-connection family on the Mac - hc_post, hc_mix_scale, hc_mix ported Niko1221 2026-10-23 19:43:41 +02:00
  • a82477069b Merge branch 'f-dsv41-pkg' into f-dsv41-setup Niko1221 2026-10-23 19:41:53 +02:00
  • 81dd215de9 setup: the two official IST-DAS DeepSeek-V4.1-Flash sets (2.00 / 2.25 bpw) as sizes: pinned files, shared Engram + DSpark, plain pack recipe, shipped profiles, pack-info and a 16-token text check, --dspark auto; fit words from the measured numbers Niko1221 2026-10-23 19:41:49 +02:00
  • 5d969adde9 metal: finish_kernel<false> wired - the engine passes it and names item five Niko1221 2026-10-23 19:40:19 +02:00
  • 4b5f8d89f2 tests + ENGINE-COMPONENT.md: strata-dsv41 in the engine package and the --require-dsv41 refusal Niko1221 2026-10-23 19:39:24 +02:00
  • cb931e7010 metal: finish_kernel<false> in MSL, verified by the AOT compiler Niko1221 2026-10-23 19:37:54 +02:00
  • dc352b839b dsv41: say how the chunk staging ring was sized Niko1221 2026-10-23 19:36:53 +02:00
  • e838e2beca Merge f-dsv41-cpul 02b07b686 into f-dsv41-rel (exact multi-row CPU-lane rows for IQ types, bit-identical to ggml-cpu, self-check per type, DS4_GG_IQ256=0 switch) Niko1221 2026-10-23 19:35:58 +02:00
  • 6053a43841 packaging: build_dsv41_windows.bat and build_dsv41_cuda.sh build strata-dsv41 for the NVIDIA release packages (sm_86 + sm_120 fat) Niko1221 2026-10-23 19:35:51 +02:00
  • faaf82acd7 build_hip_linux.sh: build strata-dsv41 (own build tree) and ship it in the rx9070 package; DSV41=1|0 overrides, --require-dsv41 on the package Niko1221 2026-10-23 19:35:51 +02:00
  • b5b4a97c0a metal: the mHC dense product wired - cublasSgemm dispatches an MSL kernel instead of aborting Niko1221 2026-10-23 19:35:42 +02:00
  • 8fee63f4f0 package_engine: ship strata-dsv41 beside the engine (picked up like the picture readers); --require-dsv41 refuses a package or a --verify without it Niko1221 2026-10-23 19:34:59 +02:00
  • 45cbb451e7 metal: the engine runs on Metal and names its kernel queue; two kernels ported Niko1221 2026-10-23 19:32:42 +02:00
  • 7519b1c75c pack_gguf: warn loudly when --skip-tensors / --dense-override are used on an official IST-DAS set (engram_k/q/wkv present): the rebuilt pack loads but gives garbage text; the plain recipe is right Niko1221 2026-10-23 19:27:17 +02:00
  • dbf3bb2e64 dsv41: the layer-major run's RAM is given back before the cache catch-up and the store fill Niko1221 2026-10-23 19:24:01 +02:00
  • 86bdfbd0da dsv41 iq: HIP keeps the release grids and kernels (no persistent work-item grid there) Niko1221 2026-10-23 19:23:13 +02:00
  • 796dbb77b4 dsv41 iq: the IQ1_M code-table copy is CUDA only (kIq1mCodes does not exist on HIP; found by building the HIP-guarded paths under nvcc with -DSTRATA_USE_HIP) Niko1221 2026-10-23 19:16:03 +02:00
  • 96a47b79d5 dsv41: after a chunked prompt the RAM store is filled with the prompt's hottest CPU-lane experts (a window prompt fills it through the CPU lane; the chunk path streams past it) Niko1221 2026-10-23 19:14:44 +02:00
  • 9c46ab821a dsv41 iq: kIq1mCodes is CUDA-only, so its use in load_tab_fast is under #if !STRATA_USE_HIP (HIP failed 'undeclared identifier kIq1mCodes': non-dependent names are looked up in the dead constexpr branch) Niko1221 2026-10-23 19:13:07 +02:00
  • 12595032e7 Merge f-dsv41-cuk a3d955201 into f-dsv41-rel (persistent grids only for codebooks >= 8 KiB: fixes 2.5x slowdown with 1 active expert) Niko1221 2026-10-23 19:06:12 +02:00
  • a3d9552015 dsv41 iq test: golden compare also covers dynamic-count window groups (5/1/3 entries, ne_max 5; 9 groups with 4 live) Niko1221 2026-10-23 19:05:14 +02:00
  • 01220edb67 dsv41 iq test: DS4_BENCH_WIN (window path / DSpark verify bench: n entries a group) Niko1221 2026-10-23 19:01:30 +02:00
  • 15f1fe0548 metal: a one-Context allocator for the dsv41 engine, opt-in so the default path is untouched Niko1221 2026-10-23 18:56:42 +02:00
  • 5f6d49e959 metal: the first dsv41 host wrapper - compile, wrap, dispatch (and the one-Context invariant it exposed) Niko1221 2026-10-23 18:54:37 +02:00
  • 02b07b686a dsv41 cpu lane: AVX-512 rows chosen by the detected CPU (Zen 5 family 0x1A: IQ2_XXS and IQ3_XXS; Zen 4 0x19: IQ2_XXS; others none), prompt chunks of 7+ tokens only Niko1221 2026-10-23 18:51:19 +02:00
  • 2cc55f6165 metal: the IQ2_S expert kernel, tiled - 515.7 GB/s effective, 89 % of the streaming ceiling Niko1221 2026-10-23 18:51:05 +02:00
  • 446a45f750 metal: the IQ2_XS expert kernel, tiled - 467.8 GB/s effective at 97 MB Niko1221 2026-10-23 18:50:26 +02:00
  • a70b006929 dsv41 iq (CUDA): persistent work-item grids only for codebooks of 8 KiB+ (IQ1_M/IQ1_S/IQ2_S), lazy codebook load, small-codebook types keep the release grids and kernels (no regression with few active experts) Niko1221 2026-10-23 18:49:14 +02:00
  • 1d21a0f60a metal: the tiled IQ2_XXS kernel - 437 GB/s effective in the engine's 8-token window, 5x the one-token form Niko1221 2026-10-23 18:49:12 +02:00
  • 9c1e61a6f3 metal: the IQ2_XXS expert GEMV ported - 87.7 GB/s, and why it cannot go faster as a warp-per-row kernel Niko1221 2026-10-23 18:48:35 +02:00
  • 45faf57702 metal: ggml's i-quant grid tables in MSL, generated from the pinned header Niko1221 2026-10-23 18:45:35 +02:00
  • 680724b87a metal: the Q8_0 weight GEMV ported - 173 GB/s, and the reference has to use the file's half-rounded scale Niko1221 2026-10-23 18:45:00 +02:00
  • 4cca3fac20 dsv41: --spec-eval honours --dspark off Niko1221 2026-10-23 18:44:21 +02:00
  • 995ff61f3c dsv41 cpu lane: AVX-512 rows by default for IQ2_XXS prompt chunks (7+ tokens), measured on Zen 4 Niko1221 2026-10-23 18:43:28 +02:00
  • a445418e5e metal: the BF16 GEMV ported and measured - 83 GB/s warp-per-row, and why the expert path cannot stop there Niko1221 2026-10-23 18:43:21 +02:00
  • f5fc88c599 dsv41 iq (CUDA): token and light kernels take work items (group, row tile) round a persistent grid (any number of active groups shares all blocks), IQ1_M codes from a generated table (ds4_iq1m_codes.inc), persistence only for codebooks of 8 KiB+; many-row light sets keep the release kernel; test: --bench-tiles, DS4_BENCH_ACTIVE Niko1221 2026-10-23 18:41:55 +02:00
  • baf261deca metal: the verified dsv41 activation quantiser, in the engine's kernel tree Niko1221 2026-10-23 18:41:43 +02:00
  • 6bfcfa777f metal: the first dsv41 kernel ported and bit-exact - the Q8 activation quantiser Niko1221 2026-10-23 18:39:27 +02:00
  • ca903c124a metal: a launch with no Metal dispatch names its own file and line Niko1221 2026-10-23 18:37:31 +02:00
  • 428950b96c Merge catch-up: f-dsv41-win fd19f9d6b, f-dsv41-h100 c0f944e12, f-dsv41-cuk Niko1221 2026-10-23 18:35:43 +02:00
  • 883d0000a7 metal: the dsv41 engine links and runs on the Mac Niko1221 2026-10-23 18:35:00 +02:00
  • d692839177 metal: a strata_ds4 target, and what it proves Niko1221 2026-10-23 18:26:03 +02:00
  • 0553ba6c3f dsv41 iq (CUDA): light sets (DSpark verify, short prompts) take the persistent grid and the IQ1_M code table for experts of <= 4 rows, 4-block occupancy kept for 8+ rows; test: --bench-light Niko1221 2026-10-23 18:16:11 +02:00
  • aaf3aa3a7c metal: the last twelve CUDA names (dim3, funnel shift, transcendentals, ldg/ldcv, shfl_up) - no undeclared name left Niko1221 2026-10-23 18:14:32 +02:00
  • dc61a065e3 metal: finish the CUDA API surface the token path names, enumerated by the compiler Niko1221 2026-10-23 18:13:33 +02:00
  • e46b149ae5 metal: fp8 conversion modes, the round-to-nearest float helpers, and an mma.h placeholder Niko1221 2026-10-23 18:10:48 +02:00
  • fd19f9d6bf dsv41 win: store off the lookahead by default Niko1221 2026-10-23 18:09:27 +02:00
  • 18c6075562 metal: the half-precision and vector-type surface (cuda_fp16.h, vector_types.h, cuda_fp8.h) Niko1221 2026-10-23 18:08:54 +02:00
  • a798d03858 metal: the dsv41 host side compiles - ds4_model.cu goes from 20 errors to 0 Niko1221 2026-10-23 18:07:34 +02:00
  • b43b0bb518 dsv41: kEntMax declared before Ent Niko1221 2026-10-23 18:06:26 +02:00
  • bb60de0e8e metal: ds4_os.hpp takes the macOS shim at the top of the file, not inside the Windows block Niko1221 2026-10-23 18:05:41 +02:00
  • 910af91838 metal: a macOS stand-in for the Linux OS surface ds4_os.hpp uses (half done - not yet effective) Niko1221 2026-10-23 18:04:59 +02:00
  • d2411af9fd dsv41: i-quant CPU-lane entries take a whole window's tokens of an expert (cap 16, was 8) for the exact multi-token rows; the chunk staging ring is 64 MB where the cards hold 90% of the experts (decode after a chunked prompt back to the windowed path's speed) Niko1221 2026-10-23 18:04:51 +02:00
  • 49e35e8bb7 dsv41 cpu lane: exact AVX-512 rows (iq512x_rows, 1-6 tokens and prompt tiles), opt-in DS4_GG_IQ512=1 until measured on Zen 4 Niko1221 2026-10-23 18:04:12 +02:00
  • bcb2133a28 metal: the dsv41 core's CUDA surface, part one (bf16/fp8 conversions, the cuBLAS names, the compile audit) Niko1221 2026-10-23 18:04:03 +02:00
  • c25724a222 Merge branch 'f-dsv41-cpul' into f-dsv41-r97 Niko1221 2026-10-23 18:01:40 +02:00
  • d689e6080d Merge f-dsv41-cuk into f-dsv41-rel (per-device light-set scratch and tensor-core check, faster IQ1_M/IQ2_S/IQ3_XXS token kernels) Niko1221 2026-10-23 17:59:37 +02:00
  • cf4f8befe7 dsv41 cpu lane: take the AVX2 rows by ggml-cpu's own AVX2/FMA/F16C answer (MSVC builds have no __builtin_cpu_supports) Niko1221 2026-10-23 17:59:03 +02:00
  • 1cace5c864 dsv41 iq (CUDA): per-device light-set scratch and tensor-core check (stream 0 is one handle on every device: the scratch of the first GPU was reused on the second), block/sub-block loop form in the token kernels; test: --devices (in-process multi-GPU, bit-compared) Niko1221 2026-10-23 17:58:59 +02:00
  • 7e9b0dcc25 dsv41 cpu lane: exact AVX2 rows for 7..64+ tokens an expert (the prompt path): decode once, u8 activations, no per-token sign; IQ1_M too Niko1221 2026-10-23 17:57:53 +02:00
  • 0b48e23fa5 dsv41 win: --dspark auto (not loaded when the experts do not fit the GPU), --ids @file, h100sim Niko1221 2026-10-23 17:57:34 +02:00
  • f0f056b9bb dsv41 mac: the CPU-only build works on arm64 (x86 kernels guarded, the AVX2 row entry points answer no) Niko1221 2026-10-23 17:53:59 +02:00
  • f6e4cd6899 dsv41: chunked prompt for a single card (--prefill-chunk N), the expert cache learns from chunks and catches up after a prompt, chunk buffers fall back by halving, CLI feeds a whole prompt Niko1221 2026-10-23 17:47:43 +02:00
  • c0f944e127 dsv41: DS4_PRED_DUMP / DS4_XIN_DUMP (router logits + projected router input; router inputs for the expert-similarity scan) Niko1221 2026-10-23 17:30:31 +02:00
  • 6aba354c16 dsv41 cpu lane: the exact AVX2 rows on by default from 2 tokens (1 on IQ3_S, 3 on IQ1_M), 5-6 tokens in one pass, IQ1_M rows rewritten Niko1221 2026-10-23 17:42:52 +02:00
  • 71abb6c163 dsv41 iq (CUDA): persistent token kernels (codebook loaded once a block) and IQ1_M decode through a 4096-entry code table (delta sign folded in): bit-identical, IQ1_M layer -15% sm_120 / -30% sm_86 Niko1221 2026-10-23 17:39:02 +02:00
  • cf45533cf6 dsv41 cpu lane: AVX2 multi-token i-quant rows in ggml's float order (bit-identical to ggml-cpu at 1..8 tokens), IQ1_M rows Niko1221 2026-10-23 17:22:57 +02:00
  • 95994c45c5 dsv41 iq test: --bench-big (>=640 MiB working set, rotated experts: DRAM rates), --dump/--cmp (bit-exact golden compare incl. real shapes and grouped path) Niko1221 2026-10-23 17:18:21 +02:00
  • ea081e3312 dsv41 rel: one IQ1_M implementation in ds4_iq.cu (the textual merge kept both; port's kernels stay), win's dequant_rows (chunked-prompt dense dequant) kept and takes IQ1_S too; strix add4 dropped with win's IQ1_M decode (port's decode has no __vadd4) Niko1221 2026-10-23 17:06:08 +02:00
  • 8cfe988383 Merge f-dsv41-strix into f-dsv41-rel (HIP build fixes: portable add4 for the IQ1_M decode, strata_core link for the DXGI budget, HIP build scripts, umaprobe) Niko1221 2026-10-23 17:02:44 +02:00
  • e5c70bbaa0 Merge f-dsv41-h100 into f-dsv41-rel (--profile-run, DS4_TRACE on the chunked path, --spec-eval) Niko1221 2026-10-23 17:02:30 +02:00
  • c70ae83d4c Merge f-dsv41-port into f-dsv41-rel (release integration) Niko1221 2026-10-23 17:02:22 +02:00
  • f232cbfed6 dsv41 win: store test covers cancel and shrink; shrink finalizes read slots Niko1221 2026-10-23 16:59:01 +02:00
  • 08224f228f dsv41 win: priority SSD queue with cancellation (demand before guesses), partial GPU visibility, store shrink on RAM pressure, predsim Niko1221 2026-10-23 16:53:02 +02:00
  • c8ead78419 dsv41 win: store init last, zc off by default, flow reads the store, release notes Niko1221 2026-10-23 16:37:01 +02:00
  • 55e1a53cfd dsv41: --spec-eval and DS4_ROUND_LOG (DSpark acceptance per round, every draft verified) Niko1221 2026-10-23 16:32:59 +02:00
  • 8da42765dd dsv41: DS4_TRACE also records the chunked prompt path's picks Niko1221 2026-10-23 16:29:22 +02:00
  • 75c9f2d81e dsv41: profile-run accepted without --ids Niko1221 2026-10-23 16:25:51 +02:00
  • 2e61fef4d1 dsv41 win: store auto size, profile preload, decode staging zc_tab (T=1), release plumbing Niko1221 2026-10-23 16:21:59 +02:00
  • fb141be3e0 dsv41: profile-run string fix Niko1221 2026-10-23 16:21:19 +02:00