97712287fe
serve (merge #333 + #344): the engine stays not-alive from the start of __init__ until READY - #333's lazy start set ended=False before READY, so a request could again plan with context 0 (RestartWindow test)
Niko12212026-10-01 15:17:14 +02:00
b0abdeb446
Merge branch 'f-132-pr' into rel-0.1.32
Niko12212026-10-01 15:10:33 +02:00
aebfd69a2f
Merge branch 'f-132-amd' into rel-0.1.32
Niko12212026-10-01 15:09:45 +02:00
d9fe3019e0
Merge branch 'f-132-q4' into rel-0.1.32
Niko12212026-10-01 15:09:45 +02:00
3b7162131d#278 follow-up: an Anthropic request that doesn't ask for thinking renders without it only with "anthropic_thinking": "on_request" in the config - the default thinks as 0.1.31 did (a client that never asks would otherwise lose the thinking on every turn); docs
Niko12212026-10-01 14:42:53 +02:00
e12ecf6ac8#280 follow-up: the rope kernels without the table are 0.1.31's code exactly (template <bool TAB>)
Niko12212026-10-01 14:34:20 +02:00
dadc9e781a#340: a split's own prompt buffers are opt-in (STRATA_SPLIT_OWN=1, or auto for the 12% rule) - the owner's choice: the default borrows as 0.1.31 did, with the concurrent refill, the 96-blob split ring and own buffers only on a card with free VRAM, so the split's output stays 0.1.31's (2K +27%, 16K +5%, decode unchanged on the R9700 + 9070 XT); docs
Niko12212026-10-01 14:30:39 +02:00
2837e43650
PR hygiene: licenses for the vendored code, a generic Intel GPU sampler, no generated files
maxfridbe2026-10-01 07:15:36 -05:00
e533380d98
Merge upstream main (engine 0.1.31) into b70
maxfridbe2026-10-01 07:11:17 -05:00
6f12431d53
serve: Intel Arc readings in the Monitor tab; a model menu for hosts that swap models
maxfridbe2026-10-01 06:55:20 -05:00
c2c6ccf431
docs/INTEL.md: the original Qwen3.8-Flash-Next IQ2_XS runs on the B70 (51-61 tok/s)
maxfridbe2026-10-01 06:07:55 -05:00
e6a06be558
HIP (S6): STRATA_HIP_WMMA=1 also takes a 96-slot prompt expert ring (9070 XT 4K prompts 718 -> 1,211 tok/s with it); docs/AMD_HIP.md: the router and WMMA switches, with credit to PR #329's equal-speed kernel
Niko12212026-10-01 13:06:56 +02:00
75d2c94d38
docs/INTEL.md: k8v4 long-context rows and the API figure on the current build
maxfridbe2026-10-01 04:52:51 -05:00
c92c4540e3#340: with the split's own prompt buffers (its rule, not --no-prefill-borrow) the boundary is searched as the borrowing configuration would; the reserve only shrinks the caches (STRATA_SPLIT_OWN_PLACE=reserve: the search sees it)
Niko12212026-10-01 11:34:19 +02:00
bf7b181a2c
prefill: the Q4_K / Q5_K / Q5_1 MMQ kernels are a build option (STRATA_MMQ_KQUANTS, off) - with every kernel loaded at start they took 1-3 expert slots from every model
Niko12212026-10-01 11:31:20 +02:00
c53fe2331d
docs/INTEL.md: re-measured on the current build, long contexts included
maxfridbe2026-10-01 04:23:15 -05:00
e6d5e03006
sycl: GR norm per (token, stream), aligned loads in the IQ3_XXS/IQ3_S/IQ2_S expert dots
maxfridbe2026-10-01 04:22:27 -05:00
560e4788a1#290 follow-up: --bf16-embd's output buffer holds the 97 gathered rows, not only the 61-row table
Niko12212026-10-01 11:06:21 +02:00
5273a1cfb7
docs/INTEL.md: planned item 9, the original IQ2_XS with the expert overflow in the host mirror
maxfridbe2026-10-01 04:01:03 -05:00
223c9c3a01
sycl: IQ4_NL expert dots with the codebook in registers and aligned loads (decode 70.8 -> 76.1 tok/s)
maxfridbe2026-10-01 03:38:25 -05:00
69b4b98f1b
docs/INTEL.md: current numbers up front (SYCL port 70.8 tok/s decode, 799 tok/s prompt)
maxfridbe2026-10-01 03:35:41 -05:00
0239cffde7#296 follow-up: only the Q5_0 MMQ instance and case stay (Q4_K / Q5_1 come with S5's STRATA_MMQ_KQUANTS)
Niko12212026-10-01 09:33:22 +02:00
d11ea857df
PLE: the n-gram table in FP8 E4M3, as Qwen ships it
sergiywith2026-09-30 22:25:39 +03:00
2ba4504b71
prefill: UD-Q4_K_XL prompts 2.8x faster (16K: 57 -> 160 tok/s on an RTX 5070) - 32 stager threads and a 128-deep ring when the experts are read from the GGUF in place; MMQ for its Q4_K / Q5_K / Q5_1 experts
Niko12212026-10-01 10:30:41 +02:00
0012c9eb3f
serve: log each request's client; SYCL wrapper without the image's health check
maxfridbe2026-10-01 03:27:17 -05:00
d70df548ad#340: a layer split keeps 0.1.29's own prompt buffers (2048-token chunks, priced into the split search) when they are at most 12% of every card's VRAM; smaller cards keep borrowing (STRATA_SPLIT_OWN=1/0 forces)
Niko12212026-10-01 10:25:03 +02:00
b7bb142060#340 prototype: STRATA_SPLIT_SMALL_MAX=M - a split request of at most M prompt tokens reads in the stages' own S-token chunks (nothing lent)
Niko12212026-10-01 10:04:08 +02:00
242248ceed
setup: Unsloth UD-Q4_K_XL as an experimental choice (--family unsloth) - the four shards pinned at 38bb39e with their sizes and SHA-256, a RAM budget of the PC's RAM less 24 GB, packed with --compat-bf16, engine 0.1.32 or newer
Niko12212026-10-01 09:33:20 +02:00
796655c6ff
docs: UD-Q4_K_XL against llama.cpp on the same GGUF - 99.0% argmax agreement on a code answer, 97.5% on a thinking answer, 90-91% after a 16K prompt, every difference where llama.cpp's own top two are close
Niko12212026-10-01 09:32:19 +02:00
88f4146c53#340 prototype: a split's streamed ring is 96 slots when most experts are resident (STRATA_SPLIT_RING); STRATA_SPLIT_SMALL_OWN=S keeps an S-token chunk's buffers per lending stage for the session; --no-prefill-borrow on a split books the ring (it no longer starves the draft head)
Niko12212026-10-01 09:22:58 +02:00
5fd4f2670f#296 follow-up: ple_q5_parity / q5_projection_parity build only with STRATA_BUILD_TESTS; the doc says what runs where
Niko12212026-10-01 08:49:15 +02:00
75a39eef3a
feat: support OrcaRouter Q4_K_S
Suoriks2026-09-29 14:44:47 +03:00
cf3b351c19#272 follow-up: --pool-affinity all (the pool's layout so far) is the default; auto and p-cores are opt-in
Niko12212026-10-01 08:47:56 +02:00
69743d3a5c
feat(cpu): add hybrid architecture awareness and --pool-affinity for P/E-core CPUs
Pravesh Khatana2026-09-30 23:45:29 +05:30
029e10d9d9#290 follow-up: a BF16-row parity test (native_expert_parity --bf16-embd)
Niko12212026-10-01 08:46:48 +02:00
32727a7a94
Token embedding in BF16 from the checkpoint (--embd-gguf)
sergiywith2026-09-30 22:25:39 +03:00
c81244d4e9#293 follow-up: the drafter stores rotated INT8 K/V as INT8; the rotation is part of the snapshot format
Niko12212026-10-01 08:45:09 +02:00
f133c655a8
KV: optional Hadamard rotation for int8 K/V (STRATA_KV_ROT=1); the drafter and the batched verify rotation-consistent
sergiywith2026-09-30 22:25:39 +03:00
0f461187d2#280 follow-up: the float64 RoPE table is opt-in (STRATA_ROPE_TABLE=1); a freed session's table is forgotten
Niko12212026-10-01 08:43:38 +02:00
16a369b574
RoPE: every kernel reads the session's float64 angle table
sergiywith2026-09-30 22:25:39 +03:00
5f02176997
verify: STRATA_LOGPOS_TOPK=K adds the K most likely tokens and their log-probabilities to the STRATA_LOGPOS rows
Niko12212026-10-01 08:42:54 +02:00
fc2eb78e0a
conversation cache: a turn's parked copy supersedes the previous turn's, so a subagent no longer evicts its parent (#342)
Niko12212026-10-01 08:42:33 +02:00
c03efab319
serve: AMD readings in the Monitor tab from Linux sysfs; free VRAM on HIP (#301)
Niko12212026-10-01 08:41:14 +02:00
7d746a0887#283 follow-up: STRATA_PREFILL_BF16X2 defaults to 0 (off) - the prompt path's numbers stay 0.1.31's
Niko12212026-10-01 08:40:29 +02:00
a86bc853f3
Prompt path: BF16 projections get the activation's BF16 remainder too
sergiywith2026-09-30 22:25:39 +03:00
da95ad29d8#282 follow-up: chunks above 8192 are opt-in (--prefill auto:16384 / auto:32768, or STRATA_PREFILL_AUTO_MAX)
Niko12212026-10-01 08:39:58 +02:00
1e5e84d919
prefill auto: chunks up to 32768 (was 8192)
sergiywith2026-09-30 22:25:39 +03:00
6280f653c8#281 follow-up: the saturated FP16 SwiGLU product keeps a NaN a NaN
Niko12212026-10-01 08:38:59 +02:00
c517862ce2
numerics: saturate the prompt path's FP16 SwiGLU products; log1pf in the unfused GDN gate
sergiywith2026-09-30 22:25:39 +03:00
4da8bfcbf9
ple: keep the SSD awake while rows are read (STRATA_SSD_KEEPALIVE)
BlueKingMuch2026-09-30 06:42:51 +00:00
9d0b28df54#315 follow-up: its variants and switch renamed (plain / split / staged, STRATA_HC_SPLIT) - no clash with STRATA_GR_V3
Niko12212026-10-01 08:38:22 +02:00
d85ff9dfe9
serve: model aliases - the config's aliases in /v1/models and accepted as model names (#297)
Niko12212026-10-01 08:37:46 +02:00
469bdaf891#340 prototype: a split stage with room for its prompt buffers keeps them as its own (no loan, nothing streamed or refilled for it); STRATA_SPLIT_OWN_BUFFERS=0: every stage borrows
Niko12212026-10-01 08:37:18 +02:00
2cf197f894
hc: the multi-token hyper-connection read split finer, checked bit for bit on each card (STRATA_HC_V2)
BlueKingMuch2026-09-30 20:21:15 +00:00
348d65da7b#340 prototype: a layer split refills every stage's prompt loan concurrently (queue all, then wait); STRATA_REFILL_SERIAL=1: stage after stage; STRATA_TRACE times the loan and the refill
Niko12212026-10-01 08:24:54 +02:00
bd84d0bc6d#284 follow-up: wait for the async commit on an event, at every point that touches the session afterwards
Niko12212026-10-01 08:34:33 +02:00
2282393234
setup --backend hip: --vision cpu builds and uses the CPU image encoder (#304)
Niko12212026-10-01 08:34:07 +02:00
a1e4fb4c80
Verify: the commit graph no longer waits; it overlaps the MTP draft
sergiywith2026-09-30 22:25:39 +03:00
3b7a49a6fd
setup: Pascal (6.x) and Volta (7.0) with STRATA_EXPERIMENTAL_SM60=1: the community build with CUDA 12.x (#295)
Niko12212026-10-01 08:32:49 +02:00
272c16c767#332 follow-up: the API request monitor is opt-in ("api_monitor": true / --api-monitor), off by default
Niko12212026-10-01 08:32:01 +02:00
5a18f83a13
setup --gguf-dir: the shard count from the -of-N part of the name, not two (#305)
Niko12212026-10-01 08:31:13 +02:00
354212421e
setup: the CPU image encoder when the ready-made encoder has no code for the card (#331)
Niko12212026-10-01 08:30:06 +02:00
abfb05cfbe
native packs: a BF16 (--compat-bf16) PLE key stays in the arena and is not replaced by the GGUF key (#326)
Niko12212026-10-01 08:29:03 +02:00
75780af235
mtp_fetch: a range read needs 206 + its Content-Range; pinned per-tensor sha256, corrupt installs fetched again (#327)
Niko12212026-10-01 08:28:45 +02:00
d3bf912ea0#334 follow-up: jsonschema is an optional, lazily imported package (no new hard dependency)
Niko12212026-10-01 08:27:57 +02:00
bd9a1bc126#333 follow-up: the unload keeps its terminate/kill fallback; EngineStuck instead of a catch-all RuntimeError
Niko12212026-10-01 08:26:28 +02:00
7f3a091895
serve: add lazy startup and reliable Windows model cleanup
Ricardo Ambrogi2026-10-01 04:47:30 +02:00
a8d5a16c35#321 follow-up: CORS only on /v1/* for configured origins; no own-page bypass for proxy headers
Niko12212026-10-01 08:23:27 +02:00
392e32c46b
serve: add CORS preflight (OPTIONS), reverse-proxy header support, and X-Accel-Buffering for SSE
BlitzenCatsandGemini2026-09-30 17:22:09 -07:00
ca85ebdee2#278 follow-up: an Anthropic request with its own reasoning_budget_tokens still thinks
Niko12212026-10-01 08:18:19 +02:00
40eaa123d4
serve: a restarting engine is not alive until READY; context 0 is a 503 "starting" (#344)
Niko12212026-10-01 08:17:54 +02:00
6cd29d9850
serve: keep retained K/V through the cache capacity gate
Developer2026-09-30 17:31:45 -05:00
b0711943b2
feat(mtp): add --coupled-draft and --no-coupled-draft CLI options for coupled speculative sampling
Pravesh Khatana2026-10-01 00:30:27 +05:30
43cd140ecd
bench: BF16 GEMV via Turing tensor cores on sm_75 - measured negative
Hozák Martin2026-10-01 06:14:10 +02:00
4e1a7c5982
verify: profile columns stop wrapping (unsigned stamp deltas) and the hc-read second half stops overwriting the next layer's base stamp
Zac Chen2026-09-30 19:36:42 +08:00
7f2c76e18d
iq_pack: keep experts.bin only when its blobs match the GGUF
sergiywith2026-09-30 22:25:38 +03:00
d672a5f443#287 follow-up: setup run again without --draft-vocab keeps the model's earlier choice
Niko12212026-10-01 08:14:00 +02:00
79aa0bb11b
setup: --draft-vocab cyrillic - the English/code subset plus the whole Cyrillic script
sergiywith2026-09-30 22:25:39 +03:00
fcef1b0dbd
strata-vision: --flash-attn on|off|auto; on the CPU no CUDA context, no warm-up, a thread per core
sergiywith2026-09-30 22:25:39 +03:00
7f49b76680#278 follow-up: the request-line follower starts once per log; its time field is prompt_read, not ttft
Niko12212026-10-01 08:12:35 +02:00
4c2cd14f5f
serve: /v1/messages/count_tokens, Anthropic thinking only when asked, STRATA_REQUEST_LINES, a relative exe
sergiywith2026-09-30 22:25:38 +03:00
158e85bf43#289 follow-up: a placeholder GPU name when the properties query fails; HIP builds compile (no device_code_error probe)
Niko12212026-10-01 08:11:39 +02:00
a606e3a966
Start: name the GPU and stop at once when the build has no code for it; STRATA_EMULATE_CC for tests
sergiywith2026-09-30 22:25:39 +03:00
aea6e45c64
diagnostics: STRATA_DUMP_FIRST_LOGITS writes the first generated token's logits
sergiywith2026-09-30 22:25:38 +03:00
cfb1866ec5
HIP (S6): router_top10.cu - drop a nested #if that left the HIP block unterminated
Niko12212026-10-01 08:07:46 +02:00
a2be1670bb
HIP (S6): router_top10 without its serial parts on AMD, bitwise the same (default on HIP; STRATA_HIP_ROUTER_OLD=1: old)
Niko12212026-10-01 07:24:19 +02:00
73ba449679
HIP (S6): RDNA4 matrix-core prompt attention for int8 KV, opt-in (STRATA_HIP_WMMA=1, gfx12 only)
Niko12212026-10-01 06:44:23 +02:00
6ac1a2cc5e
Engine 0.1.31: Unsloth UD-Q4_K_XL runs on a 64 GB PC (experimental: split GGUF, Q4_K/Q5_K/Q5_1/Q8_0 experts, RAM budget + SSD tier with routing prefetch), the low-RAM mode reads GGUF experts in place, Windows GGUF load 2x (#230), server status race (#266) and tokenizer (#268) fixes, truncated tool calls (#211/#231), AMD intrinsics (#262); setup requires it
Niko12212026-10-01 06:27:52 +02:00
368ec61aac
sycl: GR down projection sliced by columns (decode 65.5 -> 70.6 tok/s)
maxfridbe2026-09-30 23:25:20 -05:00