a402eefdd1
E-9: the draft layer's prompt pass in batches through the prompt path's kernels (its Q8_0 matrices as Q8_1 x Q8_0 MMQ, the drafter's own integer dot products): 0.9 s -> 0.07 s of a 32K prompt, the same draft acceptance; STRATA_MTP_BATCH=0 switches back
Niko12212026-09-29 19:59:11 +02:00
d4e047660b
docs: AMD through setup (./setup.sh --backend hip), the k8v4 KV option
Niko12212026-09-29 19:17:37 +02:00
cb5ea4acc8
kv_hybrid_parity: on HIP the tensor-core prompt attention refuses every pool (CUDA-only), which is the expected path
Niko12212026-09-29 19:15:16 +02:00
922d1408b6
Engine 0.1.25: faster prompts (expert grouping off the copy engine, fused hyper-connection kernels), AMD HIP backend (experimental), --kv k8v4; setup requires it
Niko12212026-09-29 19:12:10 +02:00
86c904ca42
Revert "E-8: the draft layer's prompt pass in groups of 8 rows (was max_t = 6): -6% of its time, the same K/V and output"
Niko12212026-09-29 18:41:34 +02:00
39fdc3a56b
docs: 128k context proven on the B70 - a 105k-token prompt read at 424 tok/s
maxfridbe2026-09-29 11:36:51 -05:00
39cc2087e0
docs/INTEL.md: how much context fits on a 32 GB card, measured
maxfridbe2026-09-29 11:29:19 -05:00
45d857c7cf
E-8: the draft layer's prompt pass in groups of 8 rows (was max_t = 6): -6% of its time, the same K/V and output
Niko12212026-09-29 18:22:20 +02:00
4ce698f199
gitignore: start-llama.sh, generated by setup on the Intel path
maxfridbe2026-09-29 11:14:27 -05:00
3aa60f0e37
README: the Intel Arc port and the rig it was tested on, up top
maxfridbe2026-09-29 11:10:24 -05:00
d07d04fcae
CMake: kv_hybrid_parity through the backend's runtime target (CUDA or HIP)
Niko12212026-09-29 18:10:19 +02:00
36ef9d6e6b
Merge the AMD HIP backend (PR #121 by Konstantinos Korres, rebased onto 0.1.24) and its setup support
Niko12212026-09-29 18:09:50 +02:00
45bd2d0a4d
qsa_prompt_attn: mode 3 for hybrid K8V4 - int8 K, V dequantized from q4 at gather
orange2026-09-29 10:23:19 -05:00
3597c47ff8
Hybrid K8V4 KV cache: INT8 K + Hadamard-rotated Q4_0 V (--kv k8v4)
orange2026-09-29 09:12:45 -05:00
f6e71c1c80
docs/INTEL.md: --port and --host, learned the hard way (8080 is open-webui here)
maxfridbe2026-09-29 10:19:23 -05:00
ca344a7c90
setup: an Intel Arc path (no CUDA), and the run script starts llama-server itself
maxfridbe2026-09-29 10:12:32 -05:00
b3470a1722
serve: a llama.cpp engine behind the same boundary (--engine llama)
maxfridbe2026-09-29 09:57:07 -05:00
3945aac617
F-2: a half's hyper-connection write fused with the next half's norm (bit-identical; with F-1 +4.0% at 32K, +3.3% at 128K)
Niko12212026-09-29 17:56:08 +02:00
2a6bbc7304
F-1: the hyper-connection read without its FP32 copy of the normalized rows (gr_mix recomputes them, bit-identical; +1.1% at 32K, +1.7% at 128K)
Niko12212026-09-29 17:45:17 +02:00
5cb4ff283d
AMD: hipBLASLt table for 100200 (the pinned ROCm), used by setup's configs (+42-59% prompt speed on the 7900 XTX); server: a config's env reaches the engine
Niko12212026-09-29 17:26:20 +02:00
1b3bb8f808
prompt path: the per-layer expert grouping tables through mapped pinned memory, off the copy engine (+3.9% at 32K, +4.5% at 128K, bit-identical)
Niko12212026-09-29 15:37:52 +02:00
9065ae0b2d
AMD: card name, setup headline, docs for ./setup.sh --backend hip
Niko12212026-09-29 15:27:22 +02:00
10d5cad82b
setup (experimental): AMD RX 7900 XT/XTX on Linux - KFD detection, ROCm from TheRock wheels into .venv, HIP engine compiled here; server: HIP_VISIBLE_DEVICES
Niko12212026-09-29 15:22:22 +02:00
8578e6da6f
docs (AMD): the settings after the rebase onto 0.1.24
Niko12212026-09-29 15:17:50 +02:00
504dc71aa0
HIP test: the batched indexer append within its contract (p0 + n <= max_cells)
Niko12212026-09-29 15:12:52 +02:00
32fe13bac9
HIP: build main's post-0.1.21 code (trap, device attribute, window-graph listing and GPU stamp); Windows NOMINMAX
Niko12212026-09-29 15:05:55 +02:00
520883e049
HIP tests: main's batched indexer append and I/O pool (C-2, C-4) replace the PR's duplicates
Niko12212026-09-29 14:36:32 +02:00
78a5bf70dd
HIP: keep the D-1 attention and QSA select tensor-core paths CUDA-only (AMD takes the portable kernels)
Niko12212026-09-29 14:34:31 +02:00
66f3f30ba0
setup: a size that needs more RAM than the PC has is a warning and a question, not a stop (#125)
Niko12212026-09-29 12:27:11 +02:00
3b2ced8eb6
The Task Scheduler load hint on Windows only (a slow load elsewhere is the disk)
Niko12212026-09-29 12:26:40 +02:00
a3cdb8a2a1
Merge branch 'pr-126' into next-023
Niko12212026-09-29 12:26:25 +02:00
02c8092acf
D-1: the prompt attention's shared-memory opt-in per device (a layer split with fp16 KV failed on the second card)
Niko12212026-09-29 12:06:58 +02:00
21482dfb09
CMake: dequant_bf16_test only with CUDA (a CPU-only configure with the tests failed, #93)
Niko12212026-09-29 11:50:33 +02:00
58f6a1aa70
serve: with no expert cache (a full 8 GB card) prompts are read in 1,024-token chunks; a clear message when the prompt buffers don't fit (#85)
Niko12212026-09-29 11:39:32 +02:00
12ef286562
Image requests honor sampling (temperature, top_p, top_k, penalties, seed) like text (#75)
Niko12212026-09-29 11:39:03 +02:00
d2a70e8321
serve tests: the page links its files relatively since #82Niko12212026-09-29 11:36:28 +02:00
b839e26b78
Merge branch 'pr-118' into next-023
Niko12212026-09-29 11:34:45 +02:00
9aa0362f10
Merge branch 'pr-92' into next-023
Niko12212026-09-29 11:34:45 +02:00
9d2309e4e0
Merge branch 'pr-91' into next-023
Niko12212026-09-29 11:34:45 +02:00
762daf658a
Merge branch 'pr-89' into next-023
Niko12212026-09-29 11:34:45 +02:00
0b0dd51362
Merge branch 'pr-82' into next-023
Niko12212026-09-29 11:34:45 +02:00
1d10562097
Merge branch 'pr-81' into next-023
Niko12212026-09-29 11:34:44 +02:00
946bafaebc
Merge branch 'pr-104' into next-023
Niko12212026-09-29 11:34:44 +02:00
8d4790a953
Merge branch 'pr-113' into next-023
Niko12212026-09-29 11:33:57 +02:00
81726d35a5
serve: timings carry the speculative draft counts (draft_n, draft_n_accepted), from PR #83Niko1221andmikicvi2026-09-29 11:33:56 +02:00
2e1efbca31
Merge branch 'pr-107' into next-023
Niko12212026-09-29 11:32:59 +02:00
24a384da06
Merge branch 'pr-122' into next-023
Niko12212026-09-29 11:32:21 +02:00
283fc353e4
D-1: the tensor-core prompt attention only on sm_80+ (the experimental sm_75 build compiles again)
Niko12212026-09-29 11:26:54 +02:00
027986e8ab
Windows: name the Task Scheduler load throttle (24x) and how to fix it
Zauberio2026-09-29 11:18:54 +02:00
c43a308fed
Engine 0.1.22: faster prompts, multi-GPU without flags; setup requires it
Niko12212026-09-29 11:04:51 +02:00
0f44fb492d
Monitor: every card of a layer split (issue #112)
Niko12212026-09-29 10:44:12 +02:00
68072d30d4
D-4: refill the prompt path's lent cache slots with queued copies and one wait
Niko12212026-09-29 10:43:11 +02:00
4fb14bf923
prefill timing: KV staging on its own line ("kv stage")
Niko12212026-09-29 10:33:39 +02:00
bba62249d5
setup: a card that cannot be used names both ways that work (--gpus 0,2, or one card: --gpu 0 or --gpu 2)
Niko12212026-09-29 10:18:09 +02:00
0be1ee9df3
setup: compile with Visual Studio 2019/2022, not a newer one installed next to it
Niko12212026-09-29 10:09:52 +02:00
2c1292f688
Merge branch 'main' into web-relative-paths
Vilim Mikic2026-09-29 09:01:59 +01:00
bec183e28f
Merge branch 'main' into sm80-runtime-check
Vilim Mikic2026-09-29 09:01:50 +01:00
548007f874
setup: several GPUs without typing - a table of the cards, the choice asked, "not supported" said plainly
Niko12212026-09-29 09:56:16 +02:00
cc02cdef73
Merge mg/limits: images, control vectors, KV streaming, helper GPUs and mid-prompt checkpoints across GPUs
Niko12212026-09-29 09:52:37 +02:00
732a3f4c92
D-1: the prompt path's QSA attention on tensor cores
Niko12212026-09-29 09:48:42 +02:00
06bee97f7e
setup: --gpus on an installed model splits it across those cards; --gpu 0,2 means --gpus 0,2
Niko12212026-09-29 09:48:30 +02:00
7b3087a82f
serve: routing traces from the live server (--dump-routing under --serve)
Marmaduke Woodman2026-09-28 16:27:36 +00:00
0aa72eabe1
E-6: the device plan opt-in (STRATA_VERIFY_DEVICE_PLAN=1)
Niko12212026-09-29 09:09:00 +02:00
b5347e3666
D-2: the prompt path's GDN recurrence split over value columns, the output norm in its own kernel
Niko12212026-09-29 09:05:02 +02:00
1c58de5ab2
E-6: a verify layer whose routed experts are all in VRAM needs nothing from the host
Niko12212026-09-29 08:56:02 +02:00
459a1d15e6
E-4 (prompt side): the draft layer's pass over a prompt chunk without a host sync per group
Niko12212026-09-29 08:45:41 +02:00
7d0f3fe79e
Layer split limits: docs/MULTI_GPU.md and bench/results/2026-09-29-layer-split-limits
Niko12212026-09-29 08:44:35 +02:00
8989030db5
serve: keep image parts in tool/assistant messages
Yunado2026-09-29 02:41:30 -04:00
8baae07184
D-5: the prompt path's expert stream is issued by its own host thread
Niko12212026-09-29 08:41:08 +02:00
24d4013c87
E-2: prefetch the i-quant expert rows ahead of the AVX-512 decode; an opt-in gather decode
Niko12212026-09-29 07:59:37 +02:00
07b107403a
C-3: the prompt path's GDN short conv tiled over tokens
Niko12212026-09-29 07:32:59 +02:00
0c26102af4
C-1, C-2: the prompt path's QSA select grid reaches only the active blocks; the indexer appends a chunk at once
Niko12212026-09-29 07:29:06 +02:00
c4d549aa25
serve: report the cached prompt tokens, llama.cpp timings and GET /v1/status
architectds2026-09-29 00:28:37 -05:00
0311c91377
Layer split: an explicit --expert-cache leaves room for the prompt path; --mmap-experts says it needs a canonical pack
Niko12212026-09-29 07:28:29 +02:00
ef14b6ca69
The Monitor's live tok/s is a rate over the last seconds, not the mean since the first token
xyzzing2026-09-29 13:26:28 +08:00
dfe61b1ca0
C-4: the prompt's embedding in one gather, and the n-gram table read by several threads
Niko12212026-09-29 07:23:09 +02:00
d22177c610
Layer split: mid-prompt checkpoints (--prompt-cache-every) with the pipelined prompt path
Niko12212026-09-29 07:18:20 +02:00
9baff31592
Layer split: images, control vectors, KV streaming, --mmap-experts and the helper GPUs across GPUs
Niko12212026-09-29 07:13:34 +02:00
82c6464c92
F-1: the streaming detokenizer decodes each token's bytes incrementally (constant time per token)
Niko12212026-09-29 06:56:26 +02:00
6e1a7be257
Engine 0.1.21: one model across two or three GPUs (layer split, experimental); setup requires it
Niko12212026-09-29 06:14:43 +02:00
4a50d4ce8f
decode: batch the verify window's per-token kernels (bit-identical); skip the PCIe path with --pcie-frac 0; decode timing/profile switches
Andy2026-09-29 05:55:18 +04:00
6f1a24defb
Layer split: measured results (bench/results/2026-09-29-layer-split) and the recommendations in docs/MULTI_GPU.md
Niko12212026-09-29 01:17:30 +02:00
641c62a0e9
Layer split auto: a cost model of the decode window (per-layer time from SMs x clock, missed routed mass)
Niko12212026-09-29 01:00:24 +02:00
52bccfe914
fused_gr: cap the shared-memory opt-in at the card's limit (Turing: 64 KB)
Niko12212026-09-29 00:34:46 +02:00
8d09be6051
Layer split: STRATA_SPLIT_TIMING (per-stage host time per window); docs/MULTI_GPU.md
Niko12212026-09-29 00:30:16 +02:00
c8b10915aa
QSA scorer: an FP32 fallback for Turing (the experimental sm_75 build, a layer-split stage on a 2080 Ti)
Niko12212026-09-29 00:14:23 +02:00
500eb977a9
Multi-GPU in the config: "gpu": [0, 2] (setup --gpus 0,2) runs the layer split across the cards
Niko12212026-09-29 00:12:05 +02:00
3d5d96ddce
Layer split: keep the 8 GiB pin limit across GPUs (WDDM), report a failed free-memory read
Niko12212026-09-29 00:08:24 +02:00
ab541eb558
strata_pack verify: read back the source sha256 the manifest recorded
Léon Avic Simmons2026-09-28 17:49:10 -04:00
392fc17287
gguf reader: a duplicate tensor name is refused at open, naming the tensor and the file
Léon Avic Simmons2026-09-28 17:48:28 -04:00
896586e365
setup: a missing or short shard is named with its numbers before anything reads it
Léon Avic Simmons2026-09-28 17:48:28 -04:00
a2d13aa5b3
Layer split: N stages, the batched prompt path, checkpoints, swaps and PCIe per stage, auto placement
Niko12212026-09-28 23:56:30 +02:00