Pavlo Ratushnyi
ffac8f75d8
STRA-338 size-fn: experimental-ref: second pass over the new helpers and plan_open, dispatch, resolve
2026-11-06 17:31:12 +01:00
Pavlo Ratushnyi
3bc93a6d97
STRA-338 size-fn: cpu-sys: build.rs split per ISA level
2026-11-06 17:27:11 +01:00
Pavlo Ratushnyi
058f5c7466
STRA-338 size-fn: cpu-sys: mapping open, topology cores and check_tile split
2026-11-06 17:26:29 +01:00
Pavlo Ratushnyi
7933d216f4
STRA-338 size-fn: shm: open_read split
2026-11-06 17:24:51 +01:00
Pavlo Ratushnyi
569e7026ed
STRA-338 size-fn: gpu-npu-worker: run, argument parsing and main split
2026-11-06 17:24:36 +01:00
Pavlo Ratushnyi
7722bacfc1
STRA-338 size-fn: npu-worker, igpu-worker: argument parsing and main split
2026-11-06 17:22:46 +01:00
Pavlo Ratushnyi
d256657225
STRA-338 size-fn: npu-service: matmul_ir, main, parse and Weights::matrix split
2026-11-06 17:21:01 +01:00
Pavlo Ratushnyi
32e6f7c8fe
STRA-338 size-fn: npu-service: Engine::new and run_at split
2026-11-06 17:19:12 +01:00
Pavlo Ratushnyi
ac90cbf6bd
STRA-338 size-fn: experimental-ref: cache, layout, f16, fwht split
2026-11-06 17:18:08 +01:00
Pavlo Ratushnyi
d1d14634a5
STRA-338 size-fn: experimental-ref: parse_artifact, plan_open and dispatch split
2026-11-06 17:15:52 +01:00
Pavlo Ratushnyi
fc2417264c
STRA-338 size-fn: experimental-ref: StreamMap::resolve, control vector loader/apply and GGUF parser split
2026-11-06 17:13:55 +01:00
Pavlo Ratushnyi
375e13ea87
STRA-338 size-fn: gptoss-npu client, cpu-worker slots/engine/main split
2026-11-06 17:09:55 +01:00
Pavlo Ratushnyi
e0b54dcbbe
STRA-338 size-fn: cpu-worker: serve, generate and the decode loop split
2026-11-06 17:07:13 +01:00
Pavlo Ratushnyi
e4a0c4eb9c
STRA-338 size-fn: gptoss-igpu: GpuPrefill::prefill_part split into a prefill run with per-stage recorders
2026-11-06 17:05:31 +01:00
Pavlo Ratushnyi
17ec7df311
STRA-338 size-fn: gptoss-npu: prefill_part and experts split into stages
2026-11-06 17:01:19 +01:00
Pavlo Ratushnyi
50cbe55f2a
STRA-338 size-fn: gptoss: sample, speculate draft/replay, logits_after_each, prefill_reuse_accelerated and synthetic-model tests split
2026-11-06 16:56:16 +01:00
Pavlo Ratushnyi
662c279014
STRA-338 size-fn: gptoss: forward pass, run_region, Config::from_gguf, Model::load, q_tensor split into stages
2026-11-06 16:53:09 +01:00
Pavlo Ratushnyi
0c594d351f
STRA-338 size-rest: split record, render_request_with entry within 30 lines, allowlist of functions moved verbatim, baselines re-run
...
docs/architecture/size-split-rest.md records the mapping of the 24 oversize files and the test-id parity (27 crates, 0
missing / 0 new / 0 outcome changes on Linux). render_request_with now delegates the template call to render_messages
(gateway-domain fn>30 16 -> 15, cx>10 13 -> 12). limits-allowlist.json gains 80 entries (owner STRA-338, reason "moved
verbatim ... not yet decomposed"); limits-baseline.json and architecture-baseline.json re-run with --update-baseline
(no total raised). Oversize files in the crates of this batch: 0.
2026-11-06 16:33:36 +01:00
Pavlo Ratushnyi
e183b1b237
Merge remote-tracking branch 'origin/claude/hexagonal-integ' into claude/hexagonal-size-gw
2026-11-06 16:29:32 +01:00
Pavlo Ratushnyi
0ad203f7d7
STRA-338 size-rest: tokenizer, gateway-text, gateway-domain, runtime-client, cpu-worker and experimental-ref within 400 lines per file
...
Oversize files before/after: tokenizer 1 -> 0 (lib.rs 840 into construction, encoding, decoding, bpe_merge, vocabulary),
gateway-text 1 -> 0, runtime-client 1 -> 0, cpu-worker 1 -> 0, experimental-ref 1 -> 0 (test files split by topic),
gateway-domain 1 -> 0: render_request_with (385 lines, complexity 93) became an entry function plus one function per
system message and one method per input item kind; messages, check order and rendered text unchanged (gateway-domain 17
tests and strata-control responses 72 tests pass).
Census prod/test (fn>30 / cx>10 / nesting>4 / wide lines): gateway-domain 16/3, 13/0, 6/0, 53/1 -> 16/3, 12/0, 5/0, 45/1;
runtime-client test 9 -> 6 long functions; experimental-ref test wide lines 58 -> 37; tokenizer, gateway-text and
cpu-worker unchanged. Test ids and outcomes unchanged.
2026-11-06 16:28:25 +01:00
Pavlo Ratushnyi
3be0bab601
STRA-338 size-rest: igpu, gptoss-igpu, gptoss-npu, openvino and shm within 400 lines per file
...
Oversize files before/after: igpu 2 -> 0 (lib.rs 1386 into 12 modules with the long Gpu and Recorder impls cut between
methods, shaders.rs 440 into WGSL constant modules), gptoss-igpu 1 -> 0, gptoss-npu 1 -> 0, openvino 1 -> 0,
shm 1 -> 0 (the unix and windows mapping code in their own files). unsafe blocks and SAFETY comments moved verbatim
(openvino 110 -> 110).
Census prod/test (fn>30 / cx>10 / nesting>4 / wide lines): igpu 12/12, 1/1, 0/0, 5/0 -> 10/12, 1/1, 0/0, 5/0;
gptoss-igpu, gptoss-npu, openvino and shm unchanged. Test ids and outcomes unchanged.
2026-11-06 16:28:25 +01:00
Pavlo Ratushnyi
c1e7c02d1e
STRA-338 size-rest: cpu-kernels, cpu-sys, gguf, gptoss and quant-core within 400 lines per file
...
Oversize files before/after: gptoss 2 -> 0 (lib.rs 1788 into 14 modules, synthetic_model.rs 922 into topic modules),
cpu-sys 2 -> 0 (lib.rs 1007, simd.rs 1503 with its inline x86 module split by kernel family), gguf 2 -> 0,
cpu-kernels 1 -> 0, quant-core 1 -> 0 (iq2s_grid.rs reflowed four entries per line, entries unchanged).
Modules are named after what they hold; public paths are re-exported unchanged; unsafe blocks and SAFETY comments moved
verbatim (cpu-sys 70 -> 70).
Census prod/test (fn>30 / cx>10 / nesting>4 / wide lines): cpu-sys 19/16, 3/0, 2/0, 5/2 -> 11/16, 3/0, 2/0, 3/2;
gptoss 13/16, 6/4, 1/0, 1/7 -> 12/14, 6/4, 1/0, 1/8; gguf 6/5, 6/0, 0/0, 3/1 -> 6/3, 6/0, 0/0, 3/1;
cpu-kernels and quant-core unchanged. Test ids and outcomes unchanged (recorded in docs/architecture/size-split-rest.md).
2026-11-06 16:28:24 +01:00
Pavlo Ratushnyi
2ae8d47a00
Merge branch 'claude/size-eng-nz2' into claude/hexagonal-integ
2026-11-06 16:10:41 +01:00
Pavlo Ratushnyi
25d5066d66
STRA-338 size: engine generate_mtp tile_parts split, wide lines wrapped, baselines tightened
2026-11-06 16:10:17 +01:00
Pavlo Ratushnyi
cbe83aac90
Merge branch 'claude/size-cd-am2' into claude/hexagonal-integ
2026-11-06 16:09:46 +01:00
Pavlo Ratushnyi
710dadb648
STRA-338 size: limits baseline tightened after the cuda-driver a-m round 2
2026-11-06 16:09:11 +01:00
Pavlo Ratushnyi
da5a67e773
STRA-338 size: cuda-driver GrMicrobatchRead::close_inner <= 30 lines
2026-11-06 16:06:07 +01:00
Pavlo Ratushnyi
49f9917a82
STRA-338 size: cuda-driver GrMicrobatchRead::inject split into admit/arguments/enqueue/complete (106 -> 18 lines)
2026-11-06 16:05:21 +01:00
Pavlo Ratushnyi
cd1d8c4c93
STRA-338 size: cuda-driver OriginalMtpDraftProgram capture/stage_round/write_mapped_round/finish_after_drain <= 30 lines, complexity <= 10
2026-11-06 16:02:49 +01:00
Pavlo Ratushnyi
685b779da1
STRA-338 size: engine produce_rows, retry settle trimmed
2026-11-06 16:00:00 +01:00
Pavlo Ratushnyi
48ae2be713
STRA-338 size: cuda-driver OriginalMtpForwardProgram capture/validate_flags/stage_coupled <= 30 lines, complexity <= 10
2026-11-06 15:59:42 +01:00
Pavlo Ratushnyi
ad71096f26
STRA-338 size: engine project_impl and cache retry helpers within limits
2026-11-06 15:58:03 +01:00
Pavlo Ratushnyi
bccb8d1b7d
STRA-338 size: cuda-driver split experiment_load and stream_start out of files over 400 lines
2026-11-06 15:58:01 +01:00
Pavlo Ratushnyi
5628289171
STRA-338 size-deploy: merge origin/claude/hexagonal-integ ( d0b2b633b); architecture baseline re-run with --update-baseline, limits baseline re-run (allowlist 349 entries)
2026-11-06 15:55:35 +01:00
Pavlo Ratushnyi
57e4200135
STRA-338 size: cuda-driver prefix_commands/FullGeometry::admit/scalar empty trimmed to <= 30 lines, complexity <= 10
2026-11-06 15:55:29 +01:00
Pavlo Ratushnyi
fb1f1c5901
STRA-338 size: engine q6 project_impl split, cache open retry trimmed
2026-11-06 15:55:27 +01:00
Pavlo Ratushnyi
f36fdd6fd6
STRA-338 size: cuda-driver OriginalMmqCopySchedule::stream_launch <= 30 lines
2026-11-06 15:54:24 +01:00
Pavlo Ratushnyi
e6edd2d86e
STRA-338 size: cuda-driver OriginalMtpPrefill::project split into tile/grid/operand/launch helpers (<= 30 lines)
2026-11-06 15:52:52 +01:00
Pavlo Ratushnyi
4a37d9bff7
STRA-338 size: engine original_cache_startup::open split (open_parts)
2026-11-06 15:52:32 +01:00
Pavlo Ratushnyi
b495f972d9
STRA-338 size-deploy: Profile::validate and resources::compute within the limits (one function per rule / per sizing stage, messages unchanged); oversize files 0; fn>30 101/89, cx>10 48/0, nesting>4 7/0, wide lines 305/63; 220 tests, ids and outcomes unchanged
2026-11-06 15:52:19 +01:00
Pavlo Ratushnyi
5fda2b3b9f
STRA-338 size: cuda-driver Ring::stage_one split into wait/copy/record helpers (<= 30 lines)
2026-11-06 15:50:49 +01:00
Pavlo Ratushnyi
e541a197a5
STRA-338 size: engine sample_and_verify trimmed
2026-11-06 15:50:27 +01:00
Pavlo Ratushnyi
85c5bc51e7
STRA-338 size: engine host run_window split (sample_and_verify, verify_sampled, finish_window)
2026-11-06 15:49:04 +01:00
Pavlo Ratushnyi
aeb895517c
STRA-338 size: cuda-driver GrNativeBatch finish/read end <= 30 lines, complexity <= 10
2026-11-06 15:48:59 +01:00
Pavlo Ratushnyi
210c9ac358
STRA-338 size: cuda-driver MmqWorkspace prepare_original_expert_layer(_device) split into route plan/upload helpers (<= 30 lines)
2026-11-06 15:46:51 +01:00
Pavlo Ratushnyi
38e570872a
STRA-338 size-deploy: mechanical child modules renamed after what they hold, export lines compacted, split recorded in docs/architecture/size-split-deploy.md; oversize files 0; fn>30 103/89, cx>10 50/0, nesting>4 7/0, wide lines 339/63; 220 tests, ids and outcomes unchanged
2026-11-06 15:46:38 +01:00
Pavlo Ratushnyi
f6d2402476
STRA-338 size: engine generate_mtp_resume/handle_command/verify_commit trimmed
2026-11-06 15:46:36 +01:00
Pavlo Ratushnyi
52bfb0d824
STRA-338 size: engine generate_mtp_resume within limits (step/Decoding)
2026-11-06 15:45:07 +01:00
Pavlo Ratushnyi
cbf9f166ef
STRA-338 size: engine verify_commit within limits (commit_parts)
2026-11-06 15:42:56 +01:00
Pavlo Ratushnyi
8f862e5e0f
STRA-338 size: cuda-driver OriginalGroupBank init/load_functions and OriginalMmqCopySchedule close/stream_launch end <= 30 lines
2026-11-06 15:42:53 +01:00