Commit Graph
1898 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 9431242e55 STRA-338 size4-e: engine/leaf crates within the 301 limits
gemm shader generator split (template + unrolled parts, output verified byte-identical for all kinds/tiles/moe),
OpenVino::load split into per-group loaders, long string literals and comments wrapped; baseline and allowlist tightened.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 09:32:13 +01:00
Pavlo Ratushnyi dfa5e01973 Merge remote-tracking branch 'origin/claude/hexagonal-s23' into claude/hexagonal-integ 2026-11-06 23:49:33 +01:00
Pavlo Ratushnyi 4f25158ebb Merge branch 'claude/size2-en3' into claude/hexagonal-integ 2026-11-06 23:48:06 +01:00
Pavlo Ratushnyi 758f72b2a9 STRA-338 size2: merge slice en3 (conflict in moe_activation_reuse_gpu resolved with the en4 version), baselines 2026-11-06 23:45:35 +01:00
Pavlo Ratushnyi 263cd08650 STRA-338 S23: record the test parity of the second review (0 missing, 0 changed, 38 new; 552 ok) 2026-11-06 23:45:19 +01:00
Pavlo Ratushnyi e0fb964b2e STRA-338 size2 en3: drop a needless mut 2026-11-06 23:44:38 +01:00
Pavlo Ratushnyi 13333d611c STRA-338 size2 en3: chunk producer rows and the GR output workspace stages move into child files 2026-11-06 23:42:35 +01:00
Pavlo Ratushnyi e7b93ad691 STRA-338 size2 en3: last GPU proof and test-support helpers within the limits 2026-11-06 23:38:03 +01:00
Pavlo Ratushnyi 906b64ae2d STRA-338 S23: output-event.md after the second review: what adding a family touches, the stronger golden, the worker metrics of an early cancel 2026-11-06 23:37:58 +01:00
Pavlo Ratushnyi 34c7f74e25 Merge remote-tracking branch 'origin/claude/hexagonal-integ' into claude/hexagonal-s23 2026-11-06 23:37:56 +01:00
Pavlo Ratushnyi ddea3ac916 STRA-338 S23: close the golden gaps of the second review, recorded on the code before S23
29 more cases (159 cases, 318 captures), recorded on 08afbf216 in a temporary worktree and checked against the new code; none
differs. New cases: the request's max_output_tokens reached (text, reasoning, closed reasoning, tools, structured, gpt-oss);
Qwen reasoning on with json_schema valid and violated; gpt-oss json_schema, tools with structured output, effort none with
tools; Qwen reasoning plus tools at the length limit with calls inside the unclosed reasoning, and without; namespaced tools
through the stream and the buffered reading (Qwen with and without reasoning, gpt-oss); DONE before the first token and an error
after DONE (all four readings); a worker that reports fewer generated tokens than the reasoning took (the reasoning_tokens
clamp, usage output_tokens).
New tests of the binary (15 pass on 08afbf216 and on the new code): the stored response equals the one the client was sent
(streamed and not, six cases); a client that leaves at DONE closes the source (five cases, among them the final preview
flush); what reaches the worker: gpt-oss gets none of the server defaults for the samplers it lacks (top_k 20 and
penalty_last_n 64 included), accepts neutral values, Qwen keeps all five samplers and penalty_last_n, own and default.
In the lib: BufferedRun finishing its generation twice returns the shared GENERATION_ENDED error and fail() sends
response.failed; a token after the end fails the stream.
regenerate_output_golden now refuses unless OUTPUT_GOLDEN_RECORD names the pre-S23 commit and the tree has no output module
(checked: it panics on this tree); output_events.recorded_on names 08afbf216 and a test pins it.
2026-11-06 23:37:15 +01:00
Pavlo Ratushnyi 1a9ff645c6 STRA-338 size: limits-offenders.py --over lists every function over any limit 2026-11-06 23:37:13 +01:00
Pavlo Ratushnyi 2d25958e42 STRA-338 size2: merge of the 14 function-size slices; seven files over 400 lines split again, baselines regenerated (dyn-trait ratchet raised by helper parameters that repeat an existing &dyn seam, allowlist gets the legacy functions the splitter moved) 2026-11-06 23:36:21 +01:00
Pavlo Ratushnyi 2972732186 STRA-338 size2 en3: GDN chunk numeric, four-borrow and GR handoff GPU proofs split into stage helpers 2026-11-06 23:30:54 +01:00
Pavlo Ratushnyi 1c3bcdf290 Merge branch 'claude/size2-en4' into claude/hexagonal-integ 2026-11-06 23:29:07 +01:00
Pavlo Ratushnyi bd036b52b8 STRA-338 S23: names, one cut struct, sampler_limit.rs, no dead live reading for gpt-oss
Renames: ReasoningSplit to ReasoningPreview, Bytes to TokenBytes, Split and Cut to the one CutGeneration (the tokens are
counted from its extent by Generation::count_tokens), split_reasoning to cut_reasoning_for_corpus. AtEndDecoder::read_answer
returns the events and the notes, and build_events keeps the notes (two steps). decode_lossy has its doc comment. The
message of a decode error after the generation ended is one constant, output::GENERATION_ENDED, used by the decoders and by
the buffered stream. The sampler types and the admission functions move from codec.rs and effort.rs to sampler_limit.rs
(with their tests); lib.rs no longer names TokenDecoder.
TextCodec::live_decoder returns Option and defaults to None: a model that always reasons is read at its end, so the
gpt-oss live arm and LiveDecoder::harmony are deleted; the two live streams fail the response with NO_LIVE_READING if they
ever get None. harmony_family tests pin reasoning_enabled(effort none, gpt-oss) = true and the missing live reading.
New unit tests: preview off with an unclosed block at the length limit, and the same reasoning tokens with preview on and
off when the marker is split over two multi-byte tokens.
Proof: golden (260 captures recorded on 08afbf216) identical, strata-control lib 316, gateway-domain 36, tool corpus 4.
2026-11-06 23:26:53 +01:00
Pavlo Ratushnyi 569329bfff Merge branch 'claude/size2-en7' into claude/hexagonal-integ 2026-11-06 23:26:01 +01:00
Pavlo Ratushnyi 4bdd736a78 Merge branch 'claude/size2-en6' into claude/hexagonal-integ 2026-11-06 23:26:00 +01:00
Pavlo Ratushnyi 70c6b1f23c Merge branch 'claude/size2-en5' into claude/hexagonal-integ 2026-11-06 23:25:59 +01:00
Pavlo Ratushnyi 407f83de01 Merge branch 'claude/size2-en2' into claude/hexagonal-integ 2026-11-06 23:25:58 +01:00
Pavlo Ratushnyi 831a77e43e Merge branch 'claude/size2-en1' into claude/hexagonal-integ 2026-11-06 23:25:57 +01:00
Pavlo Ratushnyi f509d39868 Merge branch 'claude/size2-cd7' into claude/hexagonal-integ 2026-11-06 23:25:55 +01:00
Pavlo Ratushnyi a808e4e7cb Merge branch 'claude/size2-cd6' into claude/hexagonal-integ 2026-11-06 23:25:54 +01:00
Pavlo Ratushnyi 1bd04f60c1 Merge branch 'claude/size2-cd5' into claude/hexagonal-integ 2026-11-06 23:25:53 +01:00
Pavlo Ratushnyi 6586653876 Merge branch 'claude/size2-cd4' into claude/hexagonal-integ 2026-11-06 23:25:52 +01:00
Pavlo Ratushnyi 65ce8a267a Merge branch 'claude/size2-cd3' into claude/hexagonal-integ 2026-11-06 23:25:51 +01:00
Pavlo Ratushnyi 81ff6b1a9d Merge branch 'claude/size2-cd2' into claude/hexagonal-integ 2026-11-06 23:25:50 +01:00
Pavlo Ratushnyi fdd032fc29 Merge branch 'claude/size2-cd1' into claude/hexagonal-integ 2026-11-06 23:25:48 +01:00
Pavlo Ratushnyi e96ac874af STRA-338 size2 en4: remaining complexity offenders of the slice files split (slotpack, route, mtp frame/norm/attend, transports) 2026-11-06 23:24:29 +01:00
Pavlo Ratushnyi 712ecc93fd STRA-338 size2 cd1: batch_gr_preview launch takes its arguments by value 2026-11-06 23:24:05 +01:00
Pavlo Ratushnyi 1a1e3ebdf8 STRA-338 size2 cd2: mmq numeric/resident/stress tests, k-quant admission and group output helpers split; restore backslash string continuations 2026-11-06 23:21:42 +01:00
Pavlo Ratushnyi 4c26ddfe1d STRA-338 size2 en3: GR output workspace proof split into stage helpers 2026-11-06 23:21:04 +01:00
Pavlo Ratushnyi 3dd90f49ac STRA-338 size2 en4: mtp decode, batch/transport proofs and expert transport functions split into phases 2026-11-06 23:18:50 +01:00
Pavlo Ratushnyi 0be6c15961 STRA-338 size2 cd1: GR batch workspace and microbatch read, prompt device, fused t1 smoke and gpu report split into phases 2026-11-06 23:17:30 +01:00
Pavlo Ratushnyi 160aa3b8fc STRA-338 size2 cd3: mtp original full forward/round/drafter, int8 ring and ffi owners under the limits 2026-11-06 23:16:23 +01:00
Pavlo Ratushnyi 7c28f9dad8 STRA-338 size2 en3: row queue, retained chain, input lease and state mirror GPU proofs split into stage helpers 2026-11-06 23:16:03 +01:00
Pavlo Ratushnyi 8db0fba156 STRA-338 size2 en6: complexity trims in the qsa decode/prefill/index helpers and clippy cleanups 2026-11-06 23:12:45 +01:00
Pavlo Ratushnyi de6533c341 STRA-338 size2 en5: validate_ready frame checks in their own fn 2026-11-06 23:10:37 +01:00
Pavlo Ratushnyi 8ea40da057 STRA-338 size2 cd5: sampler, session state, stream_all and verify functions cut to the lawbook limits 2026-11-06 23:09:44 +01:00
Pavlo Ratushnyi 7edd23d673 STRA-338 size2 en1: remaining gpu proof, adaptive five-case and laptop bench functions split into child modules 2026-11-06 23:09:38 +01:00
Pavlo Ratushnyi 04130c7b54 STRA-338 S23: rustfmt and clippy fixes, record the test parity numbers (0 missing, 0 changed, 27 new; 541 ok) 2026-11-06 23:06:51 +01:00
Pavlo Ratushnyi 48619e66f5 STRA-338 size2 en3: layer0 observation report, MoE retained fixtures and component owner split into helpers 2026-11-06 23:06:28 +01:00
Pavlo Ratushnyi 5f3def25c0 STRA-338 size2 cd4: short-prompt GPU proof imports the arena type; cleanup_fns needs no unused-import allowance 2026-11-06 23:05:02 +01:00
Pavlo Ratushnyi 7a848a87cb STRA-338 size2 cd7: the grouped-workspace and columns-loan fixtures move their cases into child files 2026-11-06 23:04:03 +01:00
Pavlo Ratushnyi 6c0aa04954 STRA-338 size2 cd2: mmq original group, ring, host stage, chunk stream, stream-all, enqueue ffi, asset and layout tables split into phases 2026-11-06 23:03:06 +01:00
Pavlo Ratushnyi d800f58992 STRA-338 size2 cd1: GDN fused t1, native batch, state guard and gemm loan split into phases 2026-11-06 23:02:30 +01:00
Pavlo Ratushnyi 42c7a7a2ed STRA-338 size2 en6: ple transport, qsa index/attention/decode/prefill, q6 columns and GPU proof functions cut into phases 2026-11-06 23:00:38 +01:00
Pavlo Ratushnyi d594815eac STRA-338 size2 en3: KAR PLE cache staging, gather and LRU planning split into phase helpers 2026-11-06 23:00:37 +01:00
Pavlo Ratushnyi f7d3ff8b69 STRA-338 size2 cd7: complexity of the new routed and qsa test helpers 2026-11-06 22:58:18 +01:00
Pavlo Ratushnyi 665b5bdd10 STRA-338 size2 en5: last small overages of the split helpers and the wide comment lines 2026-11-06 22:57:26 +01:00