e7c42b62b9
sycl: SIMD16 variants of the decode mmvq kernels (opt-in STRATA_MMVQ_SG), mmvq_sg_bench
maxfridbe2026-09-30 19:52:32 -05:00
0dac2b9aa1
CS-T: routing-aware prefetch of the file tier - the next layer's router on this layer's MoE input warms its predicted experts' pages
Niko12212026-10-01 02:30:24 +02:00
a37491ede4
tests (#264 follow-up): iq_parity skips (exit 3) when no fixture was generated, as its generator does; a partly missing set still fails; the open handle of a half-present fixture is closed
Niko12212026-10-01 02:27:40 +02:00
aa0777f7aa
decode: hc read v3 is opt-in (STRATA_GR_V3=1: another summation order); its shared memory is sized from the card's opt-in limit - one or two column halves, else the default kernels (Turing/HIP 64 KB fit with two; capability-based split as proposed by @Adamyno); the neutral knobs (DOWN_R2, UP_PF, KSPLIT) dropped (review)
Andy2026-09-30 14:14:08 +04:00
784cdc5d08
decode: hyper-connection read in 2 kernels - norm folded into a stream-split down kernel (164 blocks), rs/lo/inject in up's prologue (STRATA_GR_V3=0 = old)
Andy2026-09-30 07:04:25 +04:00
7d8fc8fd04
CS-T: the partial pin locks only what it does not register and ends at an expert boundary; the Q4_K/Q5_1/Q8_0 multi-token kernels opt-in (STRATA_KQ256=1)
Niko12212026-10-01 01:58:30 +02:00
7becf121d6
sycl: pinned host mirror for experts missing from VRAM, read by the device plan
maxfridbe2026-09-30 18:54:06 -05:00
a88904e530
Revert #257 (AVX2 two-block Q2_0 unpack): bit-exact but not faster on an AVX2-only CPU (Ryzen 9 3900X: gate/up -2.6..-4.7% at 1 token, down -3..-5% at 2 tokens)
Niko12212026-10-01 01:33:10 +02:00
9305322ff5
Merge branch 'f-131-amd' into r131-amd
Niko12212026-10-01 01:33:10 +02:00
18ad40c0dc
--split-skip-if-fits (opt-in): an auto split runs on the main card alone when it holds every profiled expert + KV
Niko12212026-09-30 20:47:39 +02:00
9f8fa9088e#253: the 8 GiB arena pin cap only under WDDM; STRATA_ARENA_PIN_GIB; the split's prompt chunk steps down
Niko12212026-09-30 20:43:12 +02:00
d484ec735f
CS-T: the GGUF-in-place prefetch asks Windows for all of a layer's missed slices at once (PrefetchVirtualMemory)
Niko12212026-10-01 01:12:36 +02:00
f8525fa0b0
CS-T: the partial pin at most 24 GiB (STRATA_PARTIAL_PIN_GIB), the Q4_K/Q5_1/Q8_0 multi-token kernels from two tokens on
Niko12212026-10-01 01:11:50 +02:00
4167bd17ac
Merge branch 'f-q4-on242' into r131-q4
Niko12212026-10-01 01:01:04 +02:00
13b76cc5f8
Merge branch 'f-131-srv' into r131-q4
Niko12212026-10-01 01:00:27 +02:00
003ec62140
CS-T speed: the file tier fetched in parallel, PCIe planning without file reads, a partial pin of the RAM tier, bit-exact AVX2 multi-token kernels for Q4_K / Q5_1 / Q8_0 experts, decode-only tier stats
Niko12212026-10-01 00:51:30 +02:00
f73b0e062a
pinned (#243 follow-up): the shared-memory-budget cap on the sliced pin is opt-in (STRATA_ARENA_PIN_GIB=auto) - by default the arena pins as in 0.1.30; on this 64 GB PC the cap pinned 26 instead of 30 GiB and cost ~20% prompt speed and 2-4% IQ3_S decode
Niko12212026-10-01 00:49:49 +02:00
21ccac1b01
setup/docs: KV streaming for the SYCL engine from 64K - 256K context decodes at 31 tok/s (from 4-5)
maxfridbe2026-09-30 17:41:04 -05:00
ebe52edd8b
setup: AMD layer splits with --gpus (every chosen card a supported AMD arch; the engine compiled for each)
Niko12212026-09-30 20:41:46 +02:00
489623c7d3
AMD: gfx1101 (RX 7800 XT, #254 by jhohertz) and gfx1200 (RX 9060 XT, #256 by Efeisot) as community-validated cards
600d73070c
HIP: __byte_perm as v_perm_b32 and SWAR __vsub4/__vsubss4/__vcmpne4 (from #262 by ttio2tech)
Niko1221andttio2tech2026-09-30 20:32:41 +02:00
5865998af9
verify (#267 follow-up): the window's final wait stays a blocking sync - the cudaStreamQuery poll cost IQ3_S ~3% decode; the stall watchdog's release of every verifier's GPU waits is what keeps a spin kernel from outliving the engine
Niko12212026-10-01 00:26:23 +02:00
29e379e0d2
setup: Strata's SYCL engine on Intel cards when it is built; sycl: clean exit in serve mode
maxfridbe2026-09-30 17:11:08 -05:00
1807ab8f2c
sycl: serve the port - strata-sycl.sh runs the engine in the oneAPI image as server.py's exe (36 tok/s sampled)
maxfridbe2026-09-30 16:15:45 -05:00
6b5761d34a
sycl: STRATA_DUMP_SEL (the prompt path's selected cells); INTEL.md - XMX v2 in the full matrix, selection overlap
maxfridbe2026-09-30 16:02:40 -05:00
1e663cc70e
CS-T: native packs read their experts from the GGUF shards in place (--mmap-experts without experts.bin), --resident-budget-gib N, per-tier counters
Niko12212026-09-30 22:51:03 +02:00
ee7c802664
iq_kernels: Q4_K / Q5_K / Q5_1 / Q8_0 native experts (Unsloth UD-Q4_K_XL), per-role format lists, native_expert_supported at startup, Q8_0 embedding and PLE key
Niko12212026-09-30 22:02:59 +02:00
dc24332249
tests: --real modes for gguf_split_test and expert_layout_test (a real model's shards / a real pack's spans, headers only)
Niko12212026-09-30 20:56:15 +02:00
24bba1743b
iq_pack: each tensor in the form the engine reads (FORM), exact F32->BF16 by default, PLE conv F32 -> F16 by the loader, conversions.json; the engine refuses a wide conv1d
Niko12212026-09-30 20:55:30 +02:00
21844a3ebf
iq_pack: per-role shards and data_start (v4 only for a split layer), split keys checked, experts.bin reused only with its source sidecar, atomic publication
Niko12212026-09-30 20:50:25 +02:00
65a1111e3a
Split GGUF artifacts: every shard found (a missing one is an error), tensors from their owning shard, per-role expert files (native_experts.txt v4)
Niko12212026-09-30 20:50:24 +02:00
7dc1fae80b
mcp: a server that stops quotes its last log line reliably (the stdout reader waited no time for the stderr reader, so the reason was sometimes missing - the flaky test_a_server_that_fails_is_left_out)
Niko12212026-09-30 22:13:46 +02:00
c67c90fa03
Merge branch 'f-131-fix' into r131-fix
Niko12212026-09-30 22:03:31 +02:00
04e00c08c6
sycl: lend cache slots to the prompt path above a 32K context - 80,000 tokens at 1,062 tok/s, decode 35-40 after
maxfridbe2026-09-30 14:25:02 -05:00
cd677f7414
Experimental Pascal/Volta build: admit sm_70, and the device check honours it (#236)
Niko12212026-09-30 21:07:28 +02:00
14e0c017bb
sycl: refresh for upstream 0.1.28-0.1.29, fix the streamed-expert prompt path (stale ring pointers, stream-all hang)
maxfridbe2026-09-30 14:07:02 -05:00
e1f12eb852
Refuse a CPU without AVX2 at start, by name
Niko12212026-09-30 21:04:53 +02:00
b9f426713a
Stall report: name the prompt chunk and layer; mark a finished verify window (#251)
Niko12212026-09-30 21:03:36 +02:00
50b4fadb08
Verify window: bounded final wait; release the GPU's flag waits before the engine ends (#267)
Niko12212026-09-30 21:02:27 +02:00
00ec1d081d
Windows: cap the sliced arena pin at the GPU's shared-memory budget (#243)
Niko12212026-09-30 21:02:17 +02:00
4b8db25763
load_experts_gguf reads with fread on a FILE* (#230)
Niko12212026-09-30 21:02:08 +02:00
8eff54c845
serve: an opt-in hard thinking budget, reasoning_budget_tokens (#123)
Niko12212026-09-30 20:58:59 +02:00
afc33c260e
setup: reproducible installs - the checkout's own engine release, pinned Hugging Face revisions, pinned Python packages (#214)
Niko12212026-09-30 20:58:44 +02:00
64f30121f4
qsa_prompt_attn (#270 follow-up): the m16n8k8 pair only for sm_75+ CUDA device code (AMD and pre-Turing builds keep the trap, which the host never reaches); Turing chosen per call from the current device instead of a process-wide flag (a split can mix Turing with newer cards)
Niko12212026-09-30 20:42:52 +02:00
48ecc6ac3d
qsa_prompt_attn: the f16 tensor-core path runs on Turing (sm_75) as two m16n8k8 steps
kenh0u2026-09-30 19:03:38 +09:00
45f93fc5ee
iq_kernels: decode each IQ weight part once for every column and entry
Guillaume PUTIER2026-09-30 07:39:15 +02:00
abde6fc8c9
s2_expert_grouped (#241 follow-up): the new chunk kernels' dp4a through STRATA_DP4A, so the sm_60 experimental build keeps its exact fallback
Niko12212026-09-30 20:41:26 +02:00
5a7190de4a
setup: the low-RAM mode's one-GPU warning says why, with the RAM math; --low-ram off --yes installs (#250)
Niko12212026-09-30 20:40:02 +02:00
c8e46e80b7
serve: a whole OpenAI answer leaves out a tool call whose arguments don't parse unless it ends in tool_calls (#211)
Niko12212026-09-30 20:38:29 +02:00
67d5ed4277
fix(serve): report a tool call cut off by the end of the output as unfinished
Sunil Srivatsa2026-09-30 21:12:36 +09:00
97362183ef
tokenizer: a word longer than 64 symbols merges with a heap and a linked list, not a rescan per merge (#268)
Niko12212026-09-30 20:37:45 +02:00
9556a8dcf4
tests (#264 follow-up): the fixture step skips (exit 3) instead of failing when the vendored gguf-py is absent; no unused SCALE_F16
Niko12212026-09-30 20:36:29 +02:00
64dcc59fae
gemm (#240 follow-up): setup calls that failed before without a word are logged and survived as before (not fatal - hipBLAS can return not-supported), init_external names its failures too, the MiB stays in the scratch message; no unused resource_failure flag
Niko12212026-09-30 20:36:18 +02:00
50d2adaabd
serve: a request settles its status, history and totals while it still holds the fifo (#266)
Niko12212026-09-30 20:35:46 +02:00
f121667826
q2_avx2: two-block 256-bit unpack for rows of 1-2 tokens (bit-exact)
Hozák Martin2026-09-30 17:18:14 +02:00
765fc13473
fused_gr: sm_75 down kernel with TILE=1280 staging, other archs unchanged
Hozák Martin2026-09-30 12:59:02 +02:00
2538ed7927
tests: make iq_parity reproducible from a fresh checkout (TODO 24)
Jakub Luwierski2026-09-30 17:53:07 +02:00
9726c926d6
gemm: name the cuBLAS/CUDA call that failed at init, and flag resource shortages
lukmanfauzie2026-09-30 20:21:17 +08:00
a3037d5435
Engine 0.1.30: short prompts up to 28% faster (every expert streams from 1024-token chunks), the resident low-RAM variant, the multi-GPU session carve (#216), AMD RDNA4, idle unload (#208); opt-ins: rope scaling (#84), conversation cache (#189), STRATA_IQ_MT_MIN=1 (#152); setup requires it
Niko12212026-09-30 19:34:50 +02:00
1e213213e3
docs: the layer split on two AMD RDNA4 cards (identity with one card, checkpoints, speed; setup offers one AMD card)
Niko12212026-09-30 19:20:16 +02:00
8099fdb980
tests/hip: prefill_native_batch passes the indexer a RopeScaling (the #84 signature; plain rope over base 1e4 as before) - a HIP-only test the CUDA build never compiled
Niko12212026-09-30 19:18:41 +02:00
31ad962727#152 as an opt-in (the owner's choice): STRATA_IQ_MT_MIN=1 makes CPU expert rounding independent of the drafting; the default stays 0.1.29's rule (IQ3_S decoded 1-3% slower with it on); docs; the width test runs the opt-in
Niko12212026-09-30 19:03:39 +02:00
d62ccc75ff
Merge remote-tracking branch 'origin/main' into b70
maxfridbe2026-09-30 11:35:14 -05:00
19a2dc169b
tools: the cache-disabled gate compares every resolved setting except the engine version (release vs previous release)
Niko12212026-09-30 17:52:12 +02:00
fee66e89cc
CPU experts: the multi-token kernels from one token on (#152): a token's expert rows round the same whatever its verify window held, so output no longer depends on the drafts; STRATA_IQ_MT_MIN=2 restores the old rule; native_expert_parity checks the width invariance bit for bit
Niko12212026-09-30 17:48:49 +02:00
59b8c45777
Merge f-rdna4 (AMD RDNA4 gfx1201, with doplxyz's patch) into rel-0.1.30
Niko12212026-09-30 17:36:03 +02:00
dea2b5a3ec
docs: RDNA4 (gfx1201) in AMD_HIP.md with the validation on the RX 9070 XT and R9700; how to calibrate a hipBLASLt table; README and setup's texts name the RDNA4 cards
Niko12212026-09-30 17:32:41 +02:00
70e24f43e3
doorbell_ring: a volatile store, so the host sees the ring on RDNA4 without a stream sync
Niko12212026-09-30 17:09:57 +02:00
4dcc8f5313
CMake: the D-1 prompt-attention parity tool is CUDA-only; the HIP build with tests configures again
Niko12212026-09-30 17:01:23 +02:00
862c5a4767
HIP: RDNA4 gfx1201 beside gfx1100; the startup check compares the card with the compiled archs; setup picks ROCm and the hipBLASLt table per arch
Niko12212026-09-30 16:57:59 +02:00
d263ec58f9
Conversation snapshots and checkpoints follow the session carve (#216): a session saves and restores only the layers it owns
Niko12212026-09-30 16:56:22 +02:00
abbf12caf5
Merge f-189 (PR #189, the conversation snapshot core and RAM cache) into rel-0.1.30
Niko12212026-09-30 16:57:10 +02:00
840f01734e
Merge f-resram into rel-0.1.30
Niko12212026-09-30 16:54:12 +02:00
6fb466b7cb
generate: the option parser's else-if chain in two statements (MSVC C1061: more than 128 nested blocks after the new options); the same order and effects
Niko12212026-09-30 16:53:53 +02:00
ca574a27ad
HIP: enable RDNA4 gfx1201 (RX 9070 / AI PRO R9700)
doplxyz2026-09-30 16:52:13 +02:00
7a2948f9bb
Merge f-coupled into rel-0.1.30
Niko12212026-09-30 16:51:52 +02:00
f9a31f391b
setup: the resident low-RAM variant keeps its RAM copy pageable on ROCm (STRATA_RESIDENT_PIN=0 in the config's env)
Niko12212026-09-30 16:51:39 +02:00
12ebc67271
Merge f-84 into rel-0.1.30
Niko12212026-09-30 16:51:33 +02:00
5ac6d37e59
Low-RAM mode, resident variant: the experts the GPU does not hold stay in RAM (--resident-experts), chosen by setup
Niko12212026-09-30 16:51:04 +02:00
3b4230a182
Coupled draft sampling for the MTP drafter (STRATA_SPEC_COUPLED=1, off by default)
Niko12212026-09-30 16:46:51 +02:00
4240629dba
docs: rope scaling is experimental and opt-in; the measured perplexity at 293K
Niko12212026-09-30 16:44:48 +02:00
eb77a8c145
rope: one validity rule for the resolved config; none passes the identity constants to every analytic site
Niko12212026-09-30 16:44:48 +02:00
d4526cf156
qsa: the table indexer's spare rotates at position 0 like the native one (TODO 7)
Niko12212026-09-30 16:44:48 +02:00
56c7cd2f80
STATE_HASH: pooled= keeps its 0.1.29 meaning (the completed indexer rows); the extent with the spare row is pooled_full=
Niko12212026-09-30 16:43:28 +02:00
e200e08f54
Pascal (sm_60): bring the engine up on compute capability 6.0
ruibeikaa2026-09-29 09:41:49 +00:00
b782066e3c
Docker build (#96): the engine compiled in docker build, STRATA_EXECV so the server is PID 1, SIGTERM stops it cleanly, KV/GPUS/LOW_RAM as env vars
Strata2026-09-30 16:36:25 +02:00
379d7d84b2
server (#208 follow-up): a request stamps last_request_at in load() (the idle thread cannot unload between load and run); unload() sends QUIT before terminate; the VRAM guard checks the first GPU (docs); #163's test engine answers poll()
Niko12212026-09-30 16:35:05 +02:00
376430c7db
server: the image encoder unloads and loads with the engine; docs for sharing the GPU
bytethecookie2026-09-30 07:48:27 +01:00
f61e688527
server: optional idle unload, POST /unload and /load, a free-VRAM guard and a before_load hook
bytethecookie2026-09-30 07:12:20 +01:00
3e3d69b4d4
prefill: every expert streams from 1024-token chunks (was 2048): +17-28% on 1-4K-token prompts, the same output; STRATA_PREFILL_STREAM_MIN overrides
Niko12212026-09-30 16:32:04 +02:00