Commit Graph

  • 994ccdf451 metal: test tooling - STRATA_METAL_LOGPOS (teacher-forced rows for the KL harness) and STRATA_METAL_PROFILE Niko1221 2026-10-12 16:35:15 +02:00
  • 1f4b6b3615 metal: the GDN fold of a commit runs at the start of the next window Niko1221 2026-10-12 16:35:03 +02:00
  • a0116b2782 Layer split + --batch: the default pipeline wins over --batch-mtp (STRATA_BATCH_MTP_SERIAL=1 or --batch-groups 1 keeps the serial MTP windows) (#2038) Niko1221 2026-10-12 15:20:20 +02:00
  • 9bdfcd7166 metal: QSA score as an fp32 GEMM, paired-run i-quant decoders (W8), qsa_flash (measured slower), one gate/up tile Niko1221 2026-10-12 15:47:30 +02:00
  • 026d7cd4a1 metal: the MTP draft round in one command buffer; catch-up embeddings fixed Niko1221 2026-10-12 15:07:25 +02:00
  • 8bf827b940 metal: the MTP draft layer's BF16 matrices in Q8_0 (STRATA_METAL_MTP_Q8=0 keeps BF16) Niko1221 2026-10-12 15:01:21 +02:00
  • b507277646 metal: the MTP drafter, the prompt path through the window, the PLE block and the Q8_0 HC read on the GPU Niko1221 2026-10-12 14:55:46 +02:00
  • aea8d64bcc metal: prompt experts and QSA attention on matrix-unit register operands (v3), prompt_chain defaults to them Niko1221 2026-10-12 14:54:56 +02:00
  • 85f839d80c hip: gfx103x creates the MTP drafter's side stream again (#2055) Oleksandr Dovhoselets 2026-10-12 09:51:54 +02:00
  • 017a672ae1 bench: the server the bench starts runs without --expert-profile-save, so it never saves a profile learned from its short prompts over the user's (#2088) Niko1221 2026-10-12 14:21:19 +02:00
  • 682ae446a2 Merge f-mac-kern (Q8_0 HC default in the chain, prompt kernels) Niko1221 2026-10-12 13:35:43 +02:00
  • 4775d23372 metal: Q8_0 HC read the default in token_chain (STRATA_HC_Q8=0 = exact BF16); prompt chain, GDN prompt scan, fused HC prompt read Niko1221 2026-10-12 13:33:12 +02:00
  • cf00b0d031 metal: windows of several tokens (verify + commit of the kept prefix), experts read in place Niko1221 2026-10-12 13:25:08 +02:00
  • 4468e0e62c Prompt loan: say when a chunk's loan is larger than the auto chunk's (#2090) Niko1221 2026-10-12 13:06:52 +02:00
  • af6affb871 Prompt loan: a request's smaller chunk can need more slots than the auto chunk's region (a chunk at or below small_max gets 0.1.39's bigger ring), so the loan starts where the chunk needs it and a chunk that still cannot be lent is halved, instead of ending the engine (#2090) Niko1221 2026-10-12 12:21:24 +02:00
  • a86aa74763 Tests: STRATA_TEST_PINNED_SHARE sets the pinned share the prompt ring rule reads (#2090 repro) Niko1221 2026-10-12 12:52:32 +02:00
  • 5d76056a4a metal: the engine runs on the M5 Max - the shared host loop over a Metal decode window (C3, first greedy answers) Niko1221 2026-10-12 13:18:11 +02:00
  • 7f3bed34ea Merge f-mac-kern (prompt-path probes, grouped expert GEMM, dense prompt GEMM) Niko1221 2026-10-12 13:05:00 +02:00
  • 773b44b922 metal: prompt path - MPP matrix throughput probe, grouped routed-expert GEMM, dense prompt GEMM Niko1221 2026-10-12 13:03:25 +02:00
  • e4f80af46d Merge f-mac-kern (the Metal kernel tree) into f-mac-compat Niko1221 2026-10-12 12:47:00 +02:00
  • ac36e3d4c0 metal: Q8_0 HC through the 3-dispatch read (gr_down/gr_up templated on the format) - the best HC variant Niko1221 2026-10-12 12:44:42 +02:00
  • 5f18e8dcf8 metal: gemv_pair (shared expert gate + up + SwiGLU in one dispatch), raw-activation Q2_0 GEMV; pair measured slower Niko1221 2026-10-12 12:33:59 +02:00
  • 4e5ea96d23 metal: persistent-kernel probe (grid barrier between phases): correct only with device-scope fences, not faster Niko1221 2026-10-12 12:30:33 +02:00
  • f1c5a6772c macOS platform guards in the host files (C2): every host source under src/ now compiles for Metal Niko1221 2026-10-12 12:29:27 +02:00
  • ae84bcdc14 metal: GDN step templated on the row blocks (8: no gain), token_chain expert tiles by environment Niko1221 2026-10-12 12:27:11 +02:00
  • a691e31b27 metal: QSA top-k v2 (parallel digit scan, range emission); attention variants measured Niko1221 2026-10-12 12:21:22 +02:00
  • 79b98c82b7 metal: simdgroup-matrix GEMV for windows (exact, measured slower; kept as a reference path) Niko1221 2026-10-12 12:15:03 +02:00
  • dca7c38405 metal: GDN step writes the prepared activations of its output; token_chain --fuse / --fold-comb Niko1221 2026-10-12 12:08:33 +02:00
  • 3c6eeb0049 metal: two-dispatch hyper-connection read (per-stream norm in the down kernel), Q8_0 HC option Niko1221 2026-10-12 12:04:34 +02:00
  • bf4b79abda metal: the Metal runtime behind a CUDA-name compat layer (the HIP model), so the host files build for Metal unchanged Niko1221 2026-10-12 11:53:32 +02:00
  • 99614041ba metal: GDN commit writes the conv history to a second buffer; GEMV parity on real GGUF tensors Niko1221 2026-10-12 11:51:56 +02:00
  • e03c0fa43b metal: whole-model decode step on real GGUF weights (token_chain), dependency-graph encoding Niko1221 2026-10-12 11:48:27 +02:00
  • 6d94e2e409 metal: QSA decode (prep, block scores, top-k, split-K attention, gated merge) and the greedy sampler Niko1221 2026-10-12 11:38:40 +02:00
  • 89edfd7c3b metal: fused GDN layer step (conv, L2 norms, gates, delta rule, output norm) for a window, commit/verify Niko1221 2026-10-12 11:31:39 +02:00
  • dffa167fcd metal: hyper-connection read, router tail + plan, expert kernels specialised per group size Niko1221 2026-10-12 11:27:33 +02:00
  • 7b022f1fb8 metal: dense GEMV for every pack format, prepared activations, window-size specialisation Niko1221 2026-10-12 11:17:02 +02:00
  • 8b271f24b5 STRATA_TRACE=2: wait for the device at each startup mark and name the first step after which it reports an error (#2013) Niko1221 2026-10-12 10:39:33 +02:00
  • 665d484236 SYCL: resident_stage_swaps copies the evicted expert back to its exchange buffer again (#2014) Niko1221 2026-10-12 10:39:33 +02:00
  • ad9eb89079 metal: standalone Metal kernel tree - runtime face, bandwidth/dispatch probes, grouped routed-expert kernels Niko1221 2026-10-12 10:42:59 +02:00
  • 0613cc00bc Stall report: an MTP draft wait is named (it read as the verify window before it); docs: the free VRAM moves after startup, and a stall in "request" can be the OS paging the parked conversation (#2049 #2065) Niko1221 2026-10-12 10:01:40 +02:00
  • 3804b43f19 Parking a conversation beats the watchdog: its checkpoint and K/V copies report progress, the stage is named, Windows counts hard page faults as file-tier activity, and the stall report and each request say how little VRAM is free (#2049 #2065) Niko1221 2026-10-12 09:58:24 +02:00
  • 798f3006bb Tests: STRATA_TEST_SLOW_COPY_US makes a parked conversation's checkpoint copy as slow as paged-out memory (for the #2049 repro) Niko1221 2026-10-12 09:51:18 +02:00
  • 905a60588b bench and monitor: name the GPUs the engine uses - mixed cards one by one in the report, the server's own card when it is not an NVIDIA one, the Intel reader first on the SYCL server (#2062 #2001) Niko1221 2026-10-12 09:56:26 +02:00
  • 17d8a171da CMake: STRATA_NATIVE_EXPERTS is defined with the other options, before the GPU section reads it, so the first configure registers the four native-expert tests (#2027) Niko1221 2026-10-12 09:53:49 +02:00
  • 6956f6052c setup: --calibrate with --model/--family tunes that installed model, an uninstalled one is an error, --calibrate with --setup/--check or nothing installed says it does nothing (#2036) Niko1221 2026-10-12 09:53:26 +02:00
  • 873a0d66b6 serve: a client that leaves while its pictures are downloaded, waiting for the turn or encoded stops the preparation: cancel exists before prepare() (#1999) Niko1221 2026-10-12 09:53:25 +02:00
  • de603bb8bd serve: tool_call_recovery reads a declared tool's JSON call in a Markdown fence inside <tool_call> (#2037) Niko1221 2026-10-12 09:48:19 +02:00
  • a683000875 serve: a quoted </tool_call> in a message is text, not the end-of-call token (#2026) Niko1221 2026-10-12 09:47:34 +02:00
  • d320fecc85 serve: the adaptive overlap's off line printed (null) after the hint (a null reason went to %s) Niko1221 2026-10-12 10:10:26 +02:00
  • d1ab65a18b setup: a BUILD.json is trusted only beside an engine binary of the source's version; a build that leaves the old binary is neither stamped nor installed (#2054) Niko1221 2026-10-12 09:46:02 +02:00
  • 0cf3d51030 ple: the slow-direct probe only warns on every platform (#2040: a SATA SSD tops out under the NVMe-calibrated 15K rows/s bar and mmap was 7x slower there); STRATA_PLE_AUTO_MMAP=1 keeps the 0.1.42 switch Niko1221 2026-10-12 09:44:07 +02:00
  • 661ff29339 STRATA_ADAPT_OVERLAP: opt-in on every backend (RTX 5090 Laptop, Linux CUDA: 84.6 vs 106.6 tok/s decode median with it, 5 generations of 256 tokens from one build); log the state in both directions Krypto-Whitehat 2026-10-12 01:55:02 +02:00
  • b59e69c7bb gfx12 (RDNA4): STRATA_HC_Q8 is on by default (STRATA_HC_Q8=0 or STRATA_GFX12_DEFAULTS=0 turns it off; other cards unchanged). Droppable: R9700 decode +2.5 to +4%, KL 0.0003-0.0010 over the noise floor Niko1221 2026-10-11 22:43:11 +02:00
  • ee9263ee38 sycl: NativeDense::hc_q8_requested() is declared by the shared header since STRATA_HC_Q8; the port's file defines it (the anonymous helper of the same name was hidden by the member, link error) Niko1221 2026-10-12 08:01:06 +02:00
  • 24d972e542 Multi-GPU: draft layer on the first card in the pipelined decode (default on gfx12), pipeline default from two stages, 8192 prompt chunks on a split, PcieAuto in the pipelined loop Niko1221 2026-10-12 06:50:22 +02:00
  • 2d47caa44a STRATA_HC_Q8: the prompt path's scratch is ordered by an event across streams (batch serving), the session read has its own pair Niko1221 2026-10-12 00:45:07 +02:00
  • 446bec512d STRATA_HC_Q8: the dequantization scratch of hc_bf16_view is allocated at load (per device), never on first use, so a graph capture cannot meet an allocation Niko1221 2026-10-12 00:23:57 +02:00
  • b60aab1ba2 STRATA_HC_Q8=1: no bf16 copy of the layers' hyper-connection down/up projections (single GPU): they are quantized to Q8_0 from the pack file at load and left out of the arena; the prompt path and the single-token read dequantize a half's two matrices into a per-stream scratch Niko1221 2026-10-11 22:42:27 +02:00
  • 485984fdb8 fused_gr_bench: hash of the Q8 read's outputs and q8_1 image Niko1221 2026-10-11 22:23:21 +02:00
  • 0a379a1f62 STRATA_HC_Q8=1 on a bf16 pack: the hyper-connection down/up projections are quantized to Q8_0 on the GPU at load and read by the Q8 multi read; Q8 up kernel with 32-column blocks that quantize their own q8_1 group (HIP); bench: cold Q8 arm and Q8-vs-bf16 error check Niko1221 2026-10-11 21:01:43 +02:00
  • 34458600ab gfx1103 (Radeon 780M) joins the gfx11 WMMA kernels: decode x1.53, same answers Niko1221 2026-10-12 05:51:23 +02:00
  • 24efc6e333 sycl/src/kernels/xmx_int8_bench.cpp: DPAS int8 vs FP16 expert GEMM microbench (standalone, not in the build) Niko1221 2026-10-11 22:01:48 +02:00
  • 3d6f1718ff SYCL: --expert-profile-save from the device routing counts under STRATA_VERIFY_NO_HOST (opt-in) Niko1221 2026-10-11 22:01:47 +02:00
  • 88892dbde4 Version 0.1.43.1: project version and the setup minimum engine Niko1221 2026-10-12 02:12:36 +02:00
  • 7bab660bf8 Prompt path: every pageable async host-to-device copy goes up through pinned bounce slots (#1996) Niko1221 2026-10-11 23:28:31 +02:00
  • 38032f546e Watchdog: a file tier busy within the last 10 s keeps the I/O allowance (a thrashing host has silent seconds), and Windows measures it too (bytes read + page faults); before, a 46 GB box's 20K prompt was stopped after ~90 s of page-ins (#1407 #1984 #1971) Niko1221 2026-10-12 01:26:31 +02:00
  • ccc4be9165 bench: report only the GPUs the engine uses (#1985) Niko1221 2026-10-11 23:27:10 +02:00
  • c7838c529f serve: honour a failing before_load hook (503 + Retry-After), configurable timeout, /unload?wait=1 (#1997) Niko1221 2026-10-11 23:26:18 +02:00
  • c5fa1b58a7 serve: an engine refusal of a BGEN slot (#1994) tries another slot instead of a permanent 400 Niko1221 2026-10-11 23:24:42 +02:00
  • 00e7d0c4cc SYCL: refuse STRATA_VERIFY_NO_HOST when a later layer-split stage is short of VRAM (#1980); setup_intel writes STRATA_STAGE_TRIM=1 for a split Niko1221 2026-10-11 22:01:37 +02:00
  • 62497bff92 ple: --ple-io mmap prompt gather prefetches its rows a window ahead; on Windows the slow-direct probe warns and keeps direct unless STRATA_PLE_AUTO_MMAP=1 (#1984 #1971) Niko1221 2026-10-11 21:05:24 +02:00
  • 9ba1d8deb6 docs: STRATA_ADAPT_SIGNAL Niko1221 2026-10-11 23:00:49 +02:00
  • 25e0a2ef79 Adaptive overlap: tell each layer's landing with a stream-ordered copy into pinned memory, not a host function Niko1221 2026-10-11 23:00:41 +02:00
  • 0e20d9aee9 Start the GPU host-callback thread before the host is pinned, by default (STRATA_ADAPT_CALLBACK_WARMUP=0 turns it off) Niko1221 2026-10-11 21:05:23 +02:00
  • c08fd90262 generate: warm CUDA callbacks before host-core pinning (opt-in) Olav Lindekleiv 2026-10-11 20:39:33 +02:00
  • 7695859aa1 Canonical Q2_0 pack: the measured PCIe share is opt-in on Windows (STRATA_PCIE_AUTO_CANON=1); RTX 5070: code +2.5%, a short answer -3.3%, 5 pairs Niko1221 2026-10-11 16:19:59 +02:00
  • 7c035d729f STRATA_ADAPT_OVERLAP: opt-in on Windows (RTX 5070, Q2_0: story -2.6%, code -2.1% with it, 5 pairs; IQ3_XXS neutral); Linux CUDA keeps it on Niko1221 2026-10-11 14:34:41 +02:00
  • 0d0f106d5a docs/MULTI_GPU.md: the default pipeline's tokens are the serial loop's up to CPU rounding (4x R9700, default flags: 10 of 10 prompts matched over 160 tokens) Niko1221 2026-10-11 14:08:31 +02:00
  • 60abf63edc HIP layer split: the route tail skip's default stays off from 60% of the experts cached (90% elsewhere); measured on 2x R9700: Q2_0 story -6.2% at 70%, -1.8% at 60%, IQ3_S about 0 at 60% Niko1221 2026-10-11 12:35:58 +02:00
  • 003ea8c678 Merge PR #1892 (lask3802): the --serve NaN guard (non-finite head logits drop the caches and re-read from token 0; STRATA_NAN_GUARD=0 off); bitwise identical otherwise, cost under 0.2% Niko1221 2026-10-11 12:01:30 +02:00
  • f332a85570 Non-finite logits (#879): a guard with self-healing lask3802 2026-10-11 04:27:42 +08:00
  • 248dbee5b8 Merge PR #1737 (Ethan): route-resident swap one warp per token; bitwise equal to the scalar kernel, opt-in STRATA_ROUTE_RESIDENT decode +1.6-2.4% (R9700 32 GB) / +5.7-7.8% (16 GB-eq) Niko1221 2026-10-11 11:22:28 +02:00
  • 115f62b00a route-resident parity: the swap against a scalar reference Ethan 2026-10-10 05:27:17 +08:00
  • 33fd01b413 route-resident: one warp per token in the swap kernel Ethan 2026-10-09 23:07:35 +08:00
  • 5ef500d48f Merge f-1712: the prompt chunk's step records and token ids go up from a pinned buffer (#1712) Niko1221 2026-10-11 10:51:53 +02:00
  • 46d22108ec HIP layer split: the route tail skip's default stays off from 70% of the experts cached (90% elsewhere); 2x R9700 16 GB-eq Q2_0 story -6.1% with it at 73% Niko1221 2026-10-11 10:46:14 +02:00
  • a5f82ab77d Merge f-143-dense (via the trial merge 94f6d18d): CUDA sm_86 Q3_K interleaved kernel and one column; bitwise exact, A4000 decode +2.0-2.7% Niko1221 2026-10-11 10:22:39 +02:00
  • 2eba71548d Merge f-143-intel: B70 prompt and decode speed (copy engine, wide kv_append, no GEMM staging on bmg, lend mirror, fused dequant, lean verify graph, the xe expert ranking); same output tokens, B70 4K prompt 8.5 -> 3.3 s (128K config), decode +14-21% on prompts outside the ranking's corpus Niko1221 2026-10-11 09:27:15 +02:00
  • b97a36a49a prefill: the chunk's step records and token ids go up from a pinned buffer, not pageable memory (#1712) Niko1221 2026-10-11 09:16:52 +02:00
  • 4d4f8bd50b docs/INTEL.md: server latency numbers Niko1221 2026-10-11 09:10:59 +02:00
  • 94f6d18d54 Merge f-143-dense: CUDA sm_86 Q3_K on the interleaved path and one column (STRATA_MMVQ_IL_Q3K=0 / STRATA_MMVQ_IL_T1=0 off) Niko1221 2026-10-11 09:06:29 +02:00
  • 3d5c16efe0 docs/INTEL.md: the 0.1.43 prompt and decode speed changes on the B70 Niko1221 2026-10-11 08:27:12 +02:00
  • 8cb26e6095 SYCL: data/expert-profile-sycl.bin, the experts' ranking for a card on xe, built with make_profile_mix.py from the routing of 45 varied prompts and eight document summaries; setup_intel writes it instead of the shipped profile there (i915 keeps the shipped one). B70: +5..64% decode (mean +21%) on 12 unseen prompts, the same tokens. The copy-engine queue is Battlemage-only by default (it hung the A750's prompt) Niko1221 2026-10-11 08:25:30 +02:00
  • ddd84269e4 Merge f-143-amdmg: --pipeline-windows 2 by default on gfx12 layer splits of 3+ stages (exact; 4x R9700 code +7-12%, 4K +9-11%, 32K +8-19%); STRATA_PCIE_AUTO_SPLIT=1 opt-in Niko1221 2026-10-11 08:18:26 +02:00
  • b03304d934 HIP: --pipeline-windows 2 is on by default for gfx12 layer splits of 3+ stages (STRATA_PIPELINE_AUTO=0 / --pipeline-windows 0 off); STRATA_PCIE_AUTO_SPLIT=1 (opt-in) refines a two-stage split's PCIe shares per stage Niko1221 2026-10-11 08:16:49 +02:00
  • 218df14283 SYCL copy engine: one queue per device (a layer split asks once per card) Niko1221 2026-10-11 07:58:41 +02:00
  • 9e3ba42755 tools: make_profile_mix.py (an expert profile from several routing traces, each trace counting the same, with weights), collect_profile_traces.py (the traces of bench/profile_corpus.json's 45 varied prompts through the engine) Niko1221 2026-10-11 07:58:34 +02:00
  • 46a77907bb SYCL decode window: under STRATA_VERIFY_NO_HOST with the device plan the graph drops the nodes nobody answers (doorbell publish, three flag waits, the plan copy, the PCIe-share group and its staging); -2% decode on a B70, same tokens (STRATA_VERIFY_LEAN=0 turns it off) Niko1221 2026-10-11 06:51:51 +02:00
  • 331b591b36 Merge f-143-amdk: gfx12 decode node cuts (HC norm from registers, host-flag wait folded into the copy, HC up kernel owning its q8_1 groups, hit counts in the combine); bitwise exact, +1.6-2.0% decode Niko1221 2026-10-11 06:01:01 +02:00
  • a9917a5524 gfx12 decode: the HC up kernel owns whole q8_1 groups and writes its consumer's image itself (STRATA_QFUSE_HC, no atomics), moe_hit_add folded into the combine (STRATA_FUSE_HITS); STRATA_FUSE_CONVAB (conv + a/b in one launch, opt-in, measured slower) Niko1221 2026-10-11 05:59:48 +02:00