feeb8dc808
docs: STRATA_PF_F16=1 on gfx1151 (what it covers, the layer times, first-token KL)
libratechw2026-10-12 01:55:07 +09:00
ed160b461a
tests: hip_prefill_fused_iq also runs with STRATA_PF_F16=1 STRATA_PF_F16_KQ=1
libratechw2026-10-12 01:18:40 +09:00
0c2608ae97
prefill: STRATA_PF_F16=1 takes Q8_0 down without STRATA_PF_FUSED_KQ on gfx11
libratechw2026-10-11 18:41:58 +09:00
bd5cc1f27b
prefill: the other native formats on gfx11's F16 matrix cores (STRATA_PF_F16=1)
libratechw2026-10-11 17:06:13 +09:00
929010be61
prefill: gfx12 keeps the int8 kernels under STRATA_PF_F16_KQ=1
libratechw2026-10-11 16:02:34 +09:00
b2492918f5
prefill: Q5_1 down on the gfx11 F16 matrix cores too (STRATA_PF_F16_KQ=1)
libratechw2026-10-11 15:18:42 +09:00
df218bd8ae
prefill: K-quant gate/up on the gfx11 F16 matrix cores (opt-in STRATA_PF_F16_KQ=1)
libratechw2026-10-11 14:25:29 +09:00
d573332130
prefill: refill a prompt's lent expert slots from the GGUF mapping's pieces (STRATA_REFILL_PARTS=1, gfx1151's table)
libratechw2026-10-12 12:03:20 +09:00
37f2941fc2
docs/NVFP4.md: the CPU rows on a CPU without AVX-512 (AVX2 rows bit-equal to ggml's, measured on three CPUs) (#2347)
Niko12212026-10-14 09:45:10 +02:00
5e9bd5db4f
docs/MAC.md: the M1 Max line quotes the 9,940-token prompt speed of the #2348 report, not a 24-token cold request
Niko12212026-10-14 08:05:07 +02:00
b1f7b4ac3a
pytest: a session config home, so no test can write or migrate the user's real Strata settings (#198 data-folder migration)
Niko12212026-10-14 08:04:52 +02:00
3de6363749
Merge f-145-mac (the #2365 test no longer runs data_folder() for real)
Niko12212026-10-14 07:51:50 +02:00
98f5484c8d
gr_upmix_parity: skipped (exit 77) below sm_80, where the fused read refuses by design (#1370 follow-up)
Niko12212026-10-14 07:46:45 +02:00
b558df67b4
cpu: the exact singleton rows only where ggml-cpu is itself the AVX2 build (not AVX-512, not an ISA-floor build)
Niko1221andAndy Slater2026-10-14 07:20:05 +02:00
6eb34c7036
setup: --parallel is not offered where the card holds every expert for one session only (4 slots at 128K on a 32 GB card moved all but 15 experts per layer to the CPU: 81 tok/s against ~180)
Niko12212026-10-14 07:17:06 +02:00
093108c2e0
setup: the engine's own programs run with its rocm/bin on PATH (#2372: strata --families on Windows AMD showed hipblas.dll / libhipblaslt.dll not found and Qwen3.6 was refused)
Niko12212026-10-14 07:16:36 +02:00
8bfef49c5f
q36_vision_cmp: --dump-ngl, llama.cpp's offloaded layers for a quant larger than the card
Niko12212026-10-14 07:14:54 +02:00
a6bdc3fb5b
pf_wmma: compile the WMMA kernel bodies only for sm_70+ device passes (a multi-arch 60;70 build failed in the sm_60 pass: no nvcuda::wmma there)
Niko12212026-10-14 07:14:39 +02:00
10552345e9
AMD HIP: the primary ordinal, and the helper caches beside the resident RAM mode
Niko1221andtuandat30192026-10-14 07:14:17 +02:00
e8b20f2a6e
setup: NVFP4 on a CPU without AVX-512 is offered, with a note on what its CPU rows are (#2347)
Niko12212026-10-14 07:14:11 +02:00
eb6e0f1e4d
calibrate: measure the shared-expert stream fork on AMD (STRATA_SH_STREAM, off against on) and keep it per PC
Vop3p2026-10-11 15:18:38 -04:00
4f21be8723
hip: the FP32 tiled QSA block scorer on HIP cards (opt-in STRATA_SELECT_SIMT=1, as on CUDA), tiled 32/128/16/8 on gfx103x
Niko1221andxjc102026-10-14 07:12:53 +02:00
4b3e4d096f
rocBLAS table docs: the shipped gfx1030 table was measured on an RX 6900 XT; other gfx1030 cards can make their own with tune_rocblas (reports welcome)
xjc102026-10-07 20:45:27 -04:00
57c95d5faf
hip: a rocBLAS solution table for the FP16 prompt GEMMs on gfx103x (the GDN projection 7x below 1,152 tokens; short prompts -10 to -14%)
Niko1221andxjc102026-10-14 07:12:35 +02:00
2f44bf51dd
STRATA_HC_REQ8: hyper-connection projections requantized to int8 + fp32 scale per 32 at load
Benjamin Larsson2026-10-04 02:09:02 +02:00
6ccdb14167
prefill gemm: a padded BF16 X (ldx, STRATA_PF_PAD) keeps the native call on the RDNA2 SGEMM route
vallicgrr2026-10-06 19:21:24 +09:00
6dffb74a1f
tests: hip_prefill_gemm crosses an RDNA2 SGEMM slice boundary (T 3300, K 10240; FP16 beta 1 with a padded ldy, and BF16)
vallicgrr2026-10-06 09:05:03 +09:00
d7298883b8
Let the resident RAM copy follow decode routing (opt-in)
Niko1221andSanghunYun2026-10-14 07:11:02 +02:00
62a98cd353
docs: RDNA2 prompt GEMMs as SGEMMs (measured on an RX 6800), and a Windows gfx1030 report
Niko1221andvallicgrr2026-10-14 07:10:58 +02:00
ad0582c3d4#2146 tests: pa_bench (the prompt attention on a recorded selection); STRATA_QSA_DUMP_LAYER / _STEPS
Rafa2026-10-12 17:19:58 +00:00
5d4c786760#2146 sm_75: v2 prompt attention in one stage, three blocks per SM (bitwise)
Rafa2026-10-12 14:24:44 +00:00
0410d62aa9#2092 sm_75: the v2 int8 prompt attention with register staging instead of cp.async (STRATA_PA_V2T=1)
Rafa2026-10-12 08:40:34 +00:00
8bdef963cc#2091 sm_75: the hyper-connection xn16 written as the FP16 its tensor-core GEMMs read (bitwise)
Rafa2026-10-12 08:59:08 +00:00
d976db3454#2081 dequant: the prompt projections' BF16 dequant with 16-byte stores on sm_75 (bit-exact; STRATA_TC_SM75=0 keeps the per-group kernel)
imanu2026-10-12 00:57:11 +02:00
8f949956b2
HIP RDNA2 (gfx103x): run the prompt path's 16-bit GEMMs as FP32 SGEMMs
Niko1221andvallicgrr2026-10-14 07:10:39 +02:00
d5b80b2e65#2093 sm_75: the prompt path's top-k with one full read of the scores (identical ids)
Rafa2026-10-12 08:26:58 +00:00
050229ecda#2072 sm_75: the decode QSA selection at long context, split top-k and halving scorer (bitwise)
Rafa2026-10-12 07:57:21 +00:00
3f691eb345#2071 sm_75: STRATA_SELECT_SIMT=2, the tiled FP32 block scorer with 32 x 128 tiles
Rafa2026-10-12 01:01:29 +00:00
653f011360
prefill: gather experts in groups on short prompts too (resident and staged)
Breno Perucchi2026-10-06 07:39:09 -03:00
80872d4349#2070 sm_75: hc up kernel with batched row loads for 3+ tokens, down token pairs for T 4/6
Rafa2026-10-12 00:04:37 +00:00
26855986e1#2069 sm_75: grouped native experts default to mode 4 (down: mode 0 in windows of 4+ tokens)
Rafa2026-10-12 00:41:47 +00:00
3f2db5e2c5
decode: the adaptive tier's evictions reach the device's residency table before the next window when the tier does not wait (STRATA_ADAPT_NOWAIT=1, STRATA_ADAPT_LAG > 1)
Niko1221andsergiywith2026-10-14 07:10:19 +02:00
80bed76c8a
tools/test_setup_mac: the --source test no longer runs setup.data_folder() for real
Niko12212026-10-14 07:10:16 +02:00
af0e9d3c1b
prompt attention: STRATA_PROMPT_ATTN_IMMA=1 - the int8-KV kernel on INT8 tensor cores (opt-in, closer to FP32)
sergiywith2026-10-07 16:13:48 +03:00
f288cbfea9
F16_RANGE counters (#1149): HIP only, and the gfx906 compat layer maps cudaMemcpyFromSymbol
Niko12212026-10-14 07:09:41 +02:00
04be241a5a
decode: STRATA_PCIE_BALANCE=1 picks each layer's PCIe count from measured costs
Niko1221andsergiywith2026-10-14 07:09:32 +02:00
cffe31d43e
prefill: opt-in STRATA_HC_UPMIX=1 on CUDA - the hyper-connection up projection with gr_mix_r as its epilogue (sm_80+)
sergiywith2026-10-07 16:25:11 +03:00
c675f5b787
prefill: quantize each token's MoE input once and scatter it to its k rows (the same bytes)
Niko1221andsergiywith2026-10-14 07:09:21 +02:00
a87fb80e13
sm_60: stage the IQ3 tables by default on compute capability 6.0 only
ruibeikaa2026-10-08 02:25:00 +00:00
ac35eebf30
sm_60: stage IQ3_S's codebook and sign masks in shared memory too
ruibeikaa2026-10-07 22:26:45 +00:00
080abf86a4
tools/q8_dense_gguf.py: convert every shard that holds dense matrices
ruibeikaa2026-10-07 21:12:28 +00:00
6e29a5d314
sm_60: a Q8_0 decode GEMV for Pascal GP100 (STRATA_Q8_SM60=1, opt-in)
Niko1221andruibeikaa2026-10-14 07:08:58 +02:00
f01b989264
sycl: mmvq_bench checks the STRATA_Q6_PLANAR copy and a gathered subset bitwise against the GGUF-layout result (#2340)
Niko12212026-10-14 07:08:52 +02:00
051b970303
cpu pool: --host-core sibling, the host on the first core's other hardware thread (hybrid CPUs too)
Francesco Albano2026-10-06 15:15:48 +02:00
c211cb3ebe
hip gfx103x FP16 prompt: STRATA_F16_RANGE counts what enters and leaves FP16; the range measured (outputs peak at 410 of 65504) and the FP32 route compared
xjc102026-10-06 00:14:13 -04:00
d0838c6c3a
tests: hip_prefill_gemm runs the FP16-io prompt GEMMs (set_f16_io) on any HIP card, and its BF16 inputs are no longer zero
xjc102026-10-06 01:04:00 +00:00
b6ccf873b8
prefill: the register top-k from 16K cells of context on gfx1151 (STRATA_TOPK_REG_MIN_BLOCKS, gfx1151's table sets 4096)
libratechw2026-10-12 13:04:23 +09:00
557b79e78f
test: cover exact multi-row and fused HIP paths on gfx906
0FL012026-10-07 08:05:06 +02:00
96cb96aced
sm_60: stage IQ3_XXS's codebook and sign masks in shared memory (grouped expert kernels)
ruibeikaa2026-10-07 19:10:19 +00:00
1327c0916c
fused_gr: say in the comment that CUDA opts in to the register split norm
Warabii12482026-10-13 22:37:45 +09:00
6ef23b8966
prefill: the QSA top-k digit by a cooperative scan (same ids)
libratechw2026-10-12 01:08:30 +09:00
fec7d1cae2
fused_gr: STRATA_GR_NORM_FAST=1 on CUDA too (opt-in; the register split norm is bitwise the default; decode +0.5-0.6% on a V100 + PG500 split)
Warabii12482026-10-13 19:20:29 +09:00
ab7c977216
verify: say in the comments that sm_7x takes argmax_rows with STRATA_ARGMAX_ROWS_SM70=1
Warabii12482026-10-13 22:37:45 +09:00
83081577e5
sm_70: the multi-block greedy pick (argmax_rows) as an opt-in, STRATA_ARGMAX_ROWS_SM70=1 (bitwise the one-block pick; decode +0.7-0.8% on a V100 + PG500 split)
Warabii12482026-10-13 19:20:29 +09:00
ab5ea838de
pf_wmma: say in the comment where the WMMA2 tile layout comes from
Warabii12482026-10-13 22:55:12 +09:00
dca6a6532f
pf_wmma: STRATA_PF_WMMA2=1 (opt-in), a second Volta prompt-expert kernel for IQ2_S gate/up and IQ4_NL down - the dequantization spread over the whole block from a raw stage in shared memory (bitwise dq_iq2_s / dq_iq4_nl; prompt +2.5-4.3% with the IQ3_XXS pack on a V100 + PG500 split)
Warabii12482026-10-13 19:21:00 +09:00
4dc3206402
pf_wmma: set the tiles shared-memory attribute on each card, not once per process (a layer split stopped on its second card: "the WMMA expert tiles could not launch")
Warabii12482026-10-13 00:17:26 +09:00
caa3c8425a
pf_wmma_parity: run on every sm_70+ card in one process, in turn (a layer split launches the tiles on its second card after the first)
Warabii12482026-10-13 00:17:22 +09:00
2d9b1b348a
pf_wmma: take the FP16 prompt path for IQ4_NL down too (mmq_dt == 20)
g02026-10-10 04:54:05 +08:00
cb73a0538a
pf_wmma: IQ4_NL (type 20) WK=128 lane for the down product (K=640); parity cases
g02026-10-10 04:53:52 +08:00
fb433c3a57
pf_wmma_parity: gemm_iq_f16_grouped against a double reference over the FP16 path's weights
NoxestNoz2026-10-07 21:26:05 +00:00
cb2740a8c2
prefill: Volta runs the prompt experts on FP16 tensor-core tiles, a group per launch (STRATA_PF_WMMA)
Niko12212026-10-14 07:08:08 +02:00
1ab0fbd02a
--pool-affinity measure: on a hybrid CPU, time the all and p-cores pool layouts at start and take the faster (opt-in)
Xiaomi20082026-10-10 18:05:36 -07:00
fde1d795ef
SYCL verify: batch windows keep the doorbell nodes under the lean window
aangelinsf2026-10-13 13:54:31 -06:00
ea08bd6e81
decode: size --lookup-chain's window cap from the cap in force, not the stale mtp_max_t
Zack2026-10-07 12:16:14 +08:00
c41c0ebbd1
KV streaming under WSL: pin the K/V host copy with cudaHostRegister
yjamil82026-10-07 22:08:37 -07:00
f2e142f444
resident RAM mode: a budget keeps the prompt path's lend region when it has room (#1683)
Evan Lightcap2026-10-10 18:31:43 -04:00
fa1d1d1ebb
STRATA_EXCHANGE_ROTATE: rotation for packs whose layers differ in expert block size (spares kept per size)
Xiaomi20082026-10-11 21:40:35 -07:00
9de548d198
sycl opt-in: STRATA_IQ3S_WIDE=1, a wide mmvq kernel for the dense IQ3_S matrices
Katsumi Takeuchi2026-10-09 19:17:44 +09:00
edf61f18e9
prefill: the VGPR-capped gfx11 fused expert kernels are on again for gfx1151 on clang 23, except IQ2_XS and Q8_0 (#1180)
libratechw2026-10-10 01:51:38 +09:00
acc94b2171
prompt attention (gfx11 / gfx12 WMMA): issue a chunk's reads before its compute
libratechw2026-10-10 17:52:00 +09:00
db0b4d315c
sycl/A770: wide MMVQ kernels at 2-8 columns in large-GRF mode on Arc A-series
Andy Slater2026-10-12 20:46:12 +01:00
f629fb0417
Batch decode: one launch for all rows in QSA attention and GDN recurrence (opt-in)
yi-sudo2026-10-13 13:14:37 +08:00
8e68aa5879
OPUS-MTP-MMVQ multi-colonna con attivazioni riusate fra le righe del blocco (STRATA_B6_MMVQ_ROWS) e micro-bench
imanu2026-10-06 21:37:50 +02:00
77ddc2ff14
cpu: IQ2_S in the bit-exact singleton rows; the singleton path only below the #152 rule
Stuart Chapin2026-10-08 04:06:23 -07:00
6befb3d65d
sycl mmvq: Q6_K decode kernels no longer ALU-bound; output heads as aligned planes; int4 activation loads
leadgtr72026-10-10 06:41:32 +00:00
db568409fc
tools: batch_test.py takes up to 32 prompts (folds in havok2-htwo's batch_test16.py and batch_test32.py)
Niko12212026-10-14 07:07:06 +02:00
1a2f95c332
QSA decode attention: split each query's cells across blocks on the int8 mma path (STRATA_QSA_SPLIT_ATTN=1, opt-in)
KarlGrier2026-10-10 04:00:51 -05:00
ffc30b8d76
Verify window: the mixer's input-only work on graph branches (STRATA_SIDE_MIXER=1/2, opt-in)
KarlGrier2026-10-10 04:00:52 -05:00
f7eaf2de9a
Verify window: the routed experts' gate/up with the group's q8_1 rows in shared memory (STRATA_EXPDEC=1, opt-in, bitwise); RTX 2080 Ti gate/up kernel -11/-23% at T 1-4, decode +1.1% on a 131k layer split
imanu2026-10-12 07:20:38 +02:00
79376a2732
cpu: the AVX2 expert-row dots keep their accumulators in registers too
Alex Sadleir2026-10-13 22:31:04 +11:00
2a669f3c29
cpu: the AVX2 router dot keeps its accumulators in registers (2.1x on a Zen 3)
Alex Sadleir2026-10-11 23:08:05 +11:00
731528beba
QSA decode attention: PR #540's two-cells-per-step chunk kernel on every CUDA card and a bounded merge (STRATA_ATTN_DAILY=1, opt-in, bit-exact); parity harness
imanu2026-10-12 07:34:35 +02:00
5b6c93987f
QSA decode: the window's block scores with the queries in registers and six shuffles per block (STRATA_QSA_ROWS=1, opt-in, bitwise); RTX 2080 Ti 101 -> 55 us a call at T=4, decode +3.2/+0.1% on a 131k layer split
imanu2026-10-12 07:20:49 +02:00