Pavlo Ratushnyi
0041bcfbde
STRA-338 size-fn: example helpers trimmed further
2026-11-06 18:40:10 +01:00
Pavlo Ratushnyi
61d53c9172
STRA-338 size-fn: cpu-worker: ab_speculation example split
2026-11-06 18:38:14 +01:00
Pavlo Ratushnyi
da8c4342c3
STRA-338 size-fn: cpu-worker: ab_slots example split
2026-11-06 18:37:35 +01:00
Pavlo Ratushnyi
06b5cfda9c
STRA-338 size-fn: gptoss-igpu: layer0_probe example split
2026-11-06 18:36:36 +01:00
Pavlo Ratushnyi
58c53931fe
STRA-338 size-fn: gptoss-npu: npu_prefill example split
2026-11-06 18:36:03 +01:00
Pavlo Ratushnyi
81940d86d6
STRA-338 size-fn: gpu-npu-worker: split_prefill example split
2026-11-06 18:35:40 +01:00
Pavlo Ratushnyi
1970b036d9
STRA-338 size-fn: gptoss-npu: ab_prefill_npu example split
2026-11-06 18:35:01 +01:00
Pavlo Ratushnyi
61e0d85b57
STRA-338 size-fn: gptoss-igpu: ab_prefill example split
2026-11-06 18:34:42 +01:00
Pavlo Ratushnyi
cc71d975e7
STRA-338 size-fn: igpu recorder methods and Gpu::with_tile trimmed
2026-11-06 18:33:54 +01:00
Pavlo Ratushnyi
5593ad4353
STRA-338 size-fn: openvino: Core::compile split
2026-11-06 18:32:17 +01:00
Pavlo Ratushnyi
0414e6d9f7
STRA-338 size-fn: gptoss-npu experts and prefill_part trimmed
2026-11-06 18:04:50 +01:00
Pavlo Ratushnyi
3691a466ce
STRA-338 size-fn: gpu-npu-worker run trimmed, cpu-worker reader alias, clippy clean
2026-11-06 18:03:30 +01:00
Pavlo Ratushnyi
9d2c38d716
STRA-338 size-fn: no new dyn-trait uses (aliases and generics), type aliases for clippy
2026-11-06 17:58:52 +01:00
Pavlo Ratushnyi
54d953f15d
STRA-338 size-fn: examples: last over-limit mains and widths
2026-11-06 17:55:15 +01:00
Pavlo Ratushnyi
047013803c
STRA-338 size-fn: examples: batch_cost, run_real, gpu_prefill, dump_logprobs mains trimmed
2026-11-06 17:54:28 +01:00
Pavlo Ratushnyi
87052cf9f4
STRA-338 size-fn: split_run and reference attention split further
2026-11-06 17:53:16 +01:00
Pavlo Ratushnyi
39ae461218
STRA-338 size-fn: long string literals continued over lines
2026-11-06 17:51:47 +01:00
Pavlo Ratushnyi
769254699a
STRA-338 size-fn: attention helpers trimmed, clippy findings fixed
2026-11-06 17:50:52 +01:00
Pavlo Ratushnyi
c94a001beb
STRA-338 size-fn: trim the new helpers that were a line or two over
2026-11-06 17:49:45 +01:00
Pavlo Ratushnyi
a5d789f635
STRA-338 size-fn: dump_logprobs_split example split
2026-11-06 17:47:43 +01:00
Pavlo Ratushnyi
5b60f64353
STRA-338 size-fn: dump_logprobs examples (cpu, gpu, npu) split
2026-11-06 17:46:18 +01:00
Pavlo Ratushnyi
18d11439e3
STRA-338 size-fn: gptoss examples: run_real and compare_logprobs split
2026-11-06 17:44:59 +01:00
Pavlo Ratushnyi
d944ff0031
STRA-338 size-fn: gptoss, gptoss-igpu examples: gpu_prefill and batch_cost split
2026-11-06 17:43:52 +01:00
Pavlo Ratushnyi
0a1b116310
STRA-338 size-fn: igpu: shape checks, MoE planning and device setup split out of the recorder/Gpu methods
2026-11-06 17:41:24 +01:00
Pavlo Ratushnyi
2f3e3aed9b
STRA-338 size-fn: gpu-npu-worker: run and install_accelerator second pass
2026-11-06 17:39:28 +01:00
Pavlo Ratushnyi
1143fcf936
STRA-338 size-fn: cpu-worker serve/load, gptoss loader/region, igpu prefill, mapping views: second pass
2026-11-06 17:37:40 +01:00
Pavlo Ratushnyi
e946f5c138
STRA-338 size-fn: gptoss-npu, npu-service: second pass over the new helpers
2026-11-06 17:34:08 +01:00
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