85b75dcbea
repo: .gitignore entries for the terminal/desktop split
Niko12212026-10-15 10:19:47 +02:00
2016b7fe01
sycl: the migrated Gemm::bf16 / gr_norm* definitions take #2091's new parameters (the shared headers changed; SYCL never uses the FP16 image)
Niko12212026-10-15 09:52:43 +02:00
4ef3855745
gdn_chunk_parity: skip (77) on a card whose shared-memory opt-in cannot hold the kkt stage (Pascal), instead of failing
Niko12212026-10-15 09:48:05 +02:00
dea9b6de5d
gdn chunk / Volta recurrence: name the sm_70-only kernels only in the host pass and the sm_70 device pass (a 60;70 or 70;86 build failed in the other device passes)
Niko12212026-10-15 08:55:08 +02:00
bcef7b7818
moe_fused_iq: #2145's host_astages() also for HIP (the shared launch() calls it; the HIP build of #2145 as submitted did not compile)
Niko12212026-10-15 08:53:39 +02:00
285e90aee2
qsa_prompt_attn: Q4_0 KV prompt attention on Turing, opt-in STRATA_PROMPT_ATTN_Q4_TC=1 (#1581, the Q4 attention part only)
Niko1221andc3c2026-10-15 06:42:44 +02:00
7f8e6f12f4
docs: the Turing (sm_75) kernel series and its switches (STRATA_SM75_PERF)
Niko12212026-10-15 06:37:37 +02:00
b30d09cb98
moe_fused, moe_fused_iq: the Turing opt-in (#2145) reads the compute capability through STRATA_EMULATE_CC like the other kernels
Niko12212026-10-14 07:14:09 +02:00
0639deff7d
qsa_prompt_attn: #1821's register prefetch and shared K/V buffer are a template flag, on with STRATA_SM75_PERF=1 or STRATA_PA_V1_PREFETCH=1
Niko12212026-10-14 07:14:09 +02:00
7f1964a6cb
sm_75 series: the bitwise Turing kernels (#2069-#2072 #2081#2093 #2220-#2222) are opt-in with STRATA_SM75_PERF=1
Niko12212026-10-14 07:14:09 +02:00
6e76ae23fd#1825 qsa_select: four lanes per query in the Turing prompt scorer (4x fewer shared loads)
xrip2026-10-08 19:29:16 +03:00
33237ff367#1825 qsa_select: prompt-path block scores with a thread per query head (Turing)
xrip2026-10-08 13:55:58 +03:00
1d5319ae88#1821 qsa_prompt_attn: int8 K/V prefetched in registers and sharing one buffer (Turing)
xrip2026-10-08 19:12:07 +03:00
036d473a3c
gdn: the Volta chain-split recurrence is opt-in (STRATA_GDN_REC_WARP=2), not the sm_70 default: it changes the summation order
Niko12212026-10-15 08:40:13 +02:00
c0d02ba96a
V100 fusions (#1097) behind STRATA_FUSE_DECODE=1; pf_wmma opt-in and only when every visible card is cc 7+; WMMA path skips NVFP4 layers; docs
Niko12212026-10-15 08:39:46 +02:00
5333327bd5
metal: wrap_split_test: the note's newline
Niko12212026-10-15 05:55:11 +02:00
3ef8d7a09f
metal: wrap_split_test reports run_icb instead of counting it (a bench path that misreads at some offsets of a single buffer too)
Niko12212026-10-15 05:54:50 +02:00
a35ac34944
metal: wrap_split_test also runs with --factor <= 1 (one buffer) as a control
Niko12212026-10-15 05:53:17 +02:00
38978a6dfd
metal: wrap_split_test - a sparse file longer than maxBufferLength, wrapped in chunks, read at every chunk boundary (#2338)
Niko12212026-10-15 05:50:11 +02:00
8b3ec44b1d
metal: wrap a model bigger than maxBufferLength as overlapping no-copy buffers (64 GB Macs keep IQ3_XXS resident); MoE kernels bound per layer
hokar33612026-10-14 08:51:30 +09:00
2b296987b9
conversation cache: a match that reaches a pin=N prefix is taken instead of borrowed (#1164)
Niko1221andBlueKingMuch2026-10-15 05:45:19 +02:00
c9e571e057
serve: a new conversation that starts with a checkpoint of a parked one borrows it, the parked conversation stays (#1164)
Niko1221andBlueKingMuch2026-10-15 05:44:55 +02:00
3d99819e38
setup: the engine builds pin -DSTRATA_MMQ_KQUANTS=ON too (465cd61d flipped it with STRATA_Q6K_EXPERTS, and a stale CMakeCache.txt keeps the old OFF the same way; found by qiuzan2001 on #2515)
Niko12212026-10-15 06:22:32 +02:00
dd08a7d0ec
serve: pick_slot sends a chat's next turn to the slot that holds it, found by its turn checkpoint (#2518)
Niko12212026-10-15 04:53:07 +02:00
c2215a2af3
docs/DETAILS.md: the elastic encoder at 196K context
Niko12212026-10-15 03:20:48 +02:00
5d83130cdb
setup: the HIP engine build pins -DSTRATA_Q6K_EXPERTS=ON too (the same stale CMake cache as #2515 for the CUDA build); the CUDA configure line is tested (tools/test_setup_stale_stamp.py)
Niko12212026-10-15 02:31:03 +02:00
a7d4b75443
serve: --prompt-cache-spread, checkpoints kept spread back from the conversation's end (opt-in)
xrip2026-10-11 17:19:45 +03:00
d9cb22d287
Conversation cache: --conversation-cache-park-gain N stops a turn that grew a few hundred tokens from rewriting a whole snapshot (RTX 5090 Laptop, IQ3_XXS: 1,418 parks -> 1, 2,251.9 GB -> 3.26 GB host copy at 4.7 % read back; decode -3.4 %, inside the run-to-run spread)
Krypto-Whitehat2026-10-13 14:33:25 +02:00
53f72571fb
conversation cache: a conversation parked again keeps at most an eighth of each K/V buffer in reserve (was up to 16 MiB per buffer, 0.4-0.5 GB per conversation)
BlueKingMuch2026-10-02 09:14:41 +00:00
b6dac80740
logit_bias: normalize a long list once per request instead of five times
qni-live2026-10-10 21:54:34 +02:00
f13a870d52
serve: tokenise the prompt from the last shared prefix, not from the start (#1852, #567)
45752724d9
setup: Flash-Next images 'yes' gets the CPU encoder on an NVIDIA card under 24 GB, --vision gpu kept with a note (#2406: the GPU encoder cost 3-5% of text speed on 16 GB cards, 35-60% on an RTX 4080 SUPER under Windows as reported); goldens re-recorded for the two 16 GB Unsloth configs
Niko12212026-10-15 01:11:37 +02:00
bb90c106b6
docs/QWEN36.md: speed section (kernels, measured R9700 / RTX 3060 numbers, the prompt chunk default and its KL, what was dropped)
Niko12212026-10-14 22:04:58 +02:00
7e8485a48b
verify: a Q4_0 KV cache takes the batched verify window by default (STRATA_DF_QB_Q4=0 for the old path): the 6-token graph is 1950 nodes, not 2610, ids identical; + kv_window_parity test (#2403: a gfx1030 fault with q4_0 + KV streaming + MTP, not reproduced; cause unconfirmed)
Niko12212026-10-14 21:55:16 +02:00
8e2c70a132
metal: STRATA_QSA_SLOTS launchers decline (no Metal kernel); the shared verify.cpp links again
Niko12212026-10-14 21:42:05 +02:00
79e5cd1827
docs/BATCHING.md: more than 8 slots on a layer split, the opt-in admission and decode switches, and the 4x R9700 numbers (PR #2364 port)
Niko12212026-10-14 21:40:11 +02:00
f755a06d7c#2234 follow-up: the rows attention runs the default kernel's body from its own kernel (the default kernel's signature, and the pre-sm_75 / HIP function-pointer selections, stay as they were: HIP did not build); per-row calls where the per-row path runs a variant (lane-cell, pre-sm_75, gfx906)
Niko12212026-10-14 21:38:26 +02:00
a08db82dbd
Version 0.1.45: project version, Metal string and the setup minimum engine
Niko12212026-10-14 21:38:21 +02:00
55bae973fb
qwen35: the prompt delta rule takes two barriers per token instead of three
Niko12212026-10-14 21:38:07 +02:00
4b348ad4b8
docs/QWEN36.md: the P100 row
Niko12212026-10-14 21:38:01 +02:00
34db47a8e1
setup: Qwen3.6 --parallel on small cards follows the measured cost (the slots may take 35% of the experts' room; 12 GB at 8K: 4, 16 GB at 32K: 2), and the text says the gain against one-at-a-time with drafts is small
Niko12212026-10-14 21:37:45 +02:00
e79156ae2e
Merge f-145-q36 (Qwen3.6 start that cannot fit its buffers says so; vision_cmp --dump-ngl)
Niko12212026-10-14 21:36:20 +02:00
fc27296dee
serve: skip tool-body rescans until a closing tag arrives
InB4DevOps2026-10-08 14:27:11 +02:00
5d6bf8d414
batch-groups: decode and give way between the pieces of a prompt read (#2050, opt-in STRATA_PIPED_READ_PIECE), on top of #2326's concurrent read
Niko1221andSuperDistance2026-10-14 11:58:14 +02:00
073d079d27
batch-groups: the concurrent read's threads do not share the host thread's core on Linux
SuperDistance2026-10-13 17:16:06 -07:00
0d47295f5a
batch-groups: --remote-expert-opt without a helper cache does not keep the concurrent read off
SuperDistance2026-10-13 14:50:13 -07:00
6c5c382b94
docs/BATCHING.md: reading beside the decoding slots, and what it measured
SuperDistance2026-10-12 15:23:32 -07:00
34b726e090
batch-groups: the concurrent read allocates nothing on its threads, keeps its checks and the watchdog, and waits on a launch
SuperDistance2026-10-12 15:23:32 -07:00
bc90e1acff
batch-groups: read a prompt beside the decoding slots on a thread of its own (opt-in, experimental STRATA_PIPED_CONCURRENT)
SuperDistance2026-10-12 15:23:17 -07:00
a2de744653
PleTable: a lock around its reader state, so two threads can use one table
SuperDistance2026-10-12 07:27:49 -07:00
125025a770
prefill: --prefill-pipe, chunks sized for a layer split's pipeline (#1441, opt-in; b/a from setup's --calibrate)
Niko1221andruibeikaa2026-10-14 11:52:32 +02:00
81ead832d6
docs: STRATA_CPU_IQ_ALL_EXACT1 (the exact one-token expert rows of #1415 and #1544), what was measured
Niko12212026-10-14 10:51:18 +02:00
d30f5d1042
docs (#1749): the wide top-k kernel on HIP, what it does and the switches that restore the old ones (R9700: 22.0 -> 0.93 ms per 256 queries at 524K; a 500K-token prompt +34%)
Niko12212026-10-14 11:46:11 +02:00
6612542e17
tools/qwen35: q36_lgcmp.py (two logits dumps: KL, top-1) and the multilingual draft-head prompts
Niko12212026-10-14 11:43:29 +02:00
b0f675be76
qwen35: the chunk rule counts what the chunk really costs (measured on the R9700)
Niko12212026-10-14 11:40:05 +02:00
93f0f48f10
qwen35: the prompt chunk defaults to the largest that fits (4096 .. 1024); the router and the shared gate in one product for decode batches; conv tile fix for batch rows
Niko12212026-10-14 11:24:15 +02:00
2bc0a7cafd
gguf_reader: the placeholder note ends in a newline
Niko12212026-10-14 11:16:52 +02:00
94d189fca4
gguf_reader: an all-zero attention.compress_ratios list is a converter's placeholder and is treated as absent, with a one-line note (#2396: orcarouter Qwen3.8-Flash-Next-Uncensored GGUFs refused since 0.1.44); real lists are still checked in full
Niko12212026-10-14 11:16:26 +02:00
6f4697f662
qwen35: the prompt's gated delta rule loads the next token's inputs while it computes this one
Niko12212026-10-14 11:05:46 +02:00
c9e7f6dd5a
qwen35: faster decode kernels with the old kernels' bits (STRATA_Q36_VERIFY=1 compares them on real activations)
Niko12212026-10-14 10:52:17 +02:00
c298fa559e
qsa scorer (#1943): the exact four-lanes-per-query scorer is the default on gfx12; the test runs there too
Niko12212026-10-14 08:27:28 +02:00
7d3fd4b24f
tests (#2147): test_setup_rocm_pins skips an index with no saved version list (the gfx1150 opt-in has none yet)
Niko12212026-10-14 07:23:59 +02:00
a61436c4da
refill parts (#2078): not in gfx1151's default table (only gfx1151 measured it, and nothing here can gate that arch): opt-in STRATA_REFILL_PARTS=1, documented in section 5
Niko12212026-10-14 07:14:23 +02:00
b317c23f24
pcie (#2224): the PcieAuto share on HIP outside gfx12 is opt-in (STRATA_PCIE_FRAC_DEFAULT=auto), not a gfx1100 default: the author's gate was no-regression only and a second gfx1100 report saw it never engage
Niko12212026-10-14 07:14:06 +02:00
595686f6a1
hc persist (#2226): not offered on gfx11 and gfx12
Niko12212026-10-14 07:13:24 +02:00
44dbf66af5
Merge f-145-nv (#2347: NVFP4 on AVX2 CPUs: the pack-folder hint, setup note, docs)
Niko12212026-10-14 10:02:45 +02:00
b2b5000952
hc persist results: ten interleaved pairs on 0.1.43.1 with no other switch (-6.6 % / -4.4 % ms per verify window at 4K / 32K, 10 of 10 pairs)
Vop3p2026-10-13 04:53:31 -04:00
cea3d61b66
tests: hc_persist_parity - the STRATA_HC_PERSIST=1 read against the default multi read at T = 1..8 (bounded 1e-4, finite, two runs bitwise), and hc_persist_default_off: with the variable unset it never runs; a skip where the card cannot hold the 80 blocks and on CUDA
Vop3p2026-10-13 03:22:13 -04:00
6cbc15a81a
STRATA_HC_PERSIST=1 (opt-in, HIP): the verifier's hyper-connection read as one persistent kernel
Vop3p2026-10-12 23:12:35 -04:00
82922f55e2
topk: compile the wide kernel on HIP too (it was CUDA-only; every deep context on AMD paid the ref radix)
sa2026-10-08 17:04:06 +05:00
b0e88eb12f
pcie: the in-window share refinement (PcieAuto) on HIP too — gfx1100 port of the XeStrata stabilization cluster's finding
Niko1221andZac Chen2026-10-14 07:10:26 +02:00
01e1bc5c0e
setup: write the gfx1150 speed switches for the opt-in install
Niko1221andonionbutties2026-10-14 07:09:46 +02:00
6f0505c69e
setup: opt-in gfx1150 (Radeon 890M / 880M, Strix Point) as a unified-memory AMD card
Niko1221andonionbutties2026-10-14 07:09:14 +02:00
d3c4a6de77
setup: write the gfx1103 exact speed switches for the opt-in install
Niko1221andAlexisCarbonell2026-10-14 07:08:54 +02:00
1b1bd4b4a8
prefill: STRATA_GDN_CHUNKED=1 on gfx11, the prompt's DeltaNet recurrence in 16-token chunks on the matrix cores (opt-in)
Niko1221andlibratechw2026-10-14 07:07:48 +02:00