Skip to content

perf(ci): dev profile opt-level 3->1 (faster test builds) - #13

Merged
hanzo-dev merged 1 commit into
mainfrom
fix/dev-profile-fast-ci
Jun 2, 2026
Merged

hanzo-dev merged 1 commit into
mainfrom
fix/dev-profile-fast-ci

Conversation

@hanzo-dev

Copy link
Copy Markdown
Member

[profile.dev] opt-level = 3 meant full optimization on every CI test build — the single biggest unforced CI cost per the fleet audit. Drop to opt-level = 1 + debug = "line-tables-only" for substantially faster dev/test compiles, keeping reasonable runtime + backtraces. 🤖 Generated with Claude Code

[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@hanzo-dev
hanzo-dev merged commit 8ae1839 into main Jun 2, 2026
@hanzo-dev
hanzo-dev deleted the fix/dev-profile-fast-ci branch June 2, 2026 11:08
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Code Metrics Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Language              Files        Lines         Code     Comments       Blanks
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 C Header                  5          305          210           52           43
 C++                       1         1048          868           42          138
 CSS                       5         1462         1288           39          135
 CUDA                     60        20622        16570         1656         2396
 Dockerfile                1           38           21            8            9
 JavaScript               19         3972         3089          488          395
 Jinja2                    7          694          656            5           33
 JSON                     27         9400         9397            0            3
 Makefile                  1            6            5            0            1
 MDX                       1          147            0          132           15
 Metal Shading Lan|       34        13466        10542         1117         1807
 PowerShell                1          300          227           30           43
 Python                  131        10161         8357          462         1342
 Shell                     4          948          765          106           77
 Plain Text                3         3723            0         2413         1310
 TOML                     28         1130         1027           23           80
 TypeScript               11         1607         1371           66          170
 YAML                      4           41           39            2            0
─────────────────────────────────────────────────────────────────────────────────
 HTML                      4          782          695           38           49
 |- CSS                    1          578          544           14           20
 |- JavaScript             1           24           23            0            1
 (Total)                             1384         1262           52           70
─────────────────────────────────────────────────────────────────────────────────
 Jupyter Notebooks         3          122           83           23           16
 |- Markdown               1           60           30           22            8
 |- Python                 1          122          113            1            8
 (Total)                              304          226           46           32
─────────────────────────────────────────────────────────────────────────────────
 Markdown                211        19270            0        13529         5741
 |- BASH                 124         1405         1095          191          119
 |- Dockerfile             3            6            6            0            0
 |- JSON                  35         1175         1175            0            0
 |- PowerShell             5            7            7            0            0
 |- Python                45         1717         1459           65          193
 |- Rust                  63         2410         2037           56          317
 |- TOML                  16          318          250            4           64
 |- YAML                   3           18           17            1            0
 (Total)                            26326         6046        13846         6434
─────────────────────────────────────────────────────────────────────────────────
 Rust                    525       252900       223535         6459        22906
 |- Markdown             323         8147          452         6740          955
 (Total)                           261047       223987        13199        23861
─────────────────────────────────────────────────────────────────────────────────
 Svelte                   18         1831         1696           50           85
 |- CSS                    1            4            4            0            0
 |- JavaScript            18          876          727           24          125
 (Total)                             2711         2427           74          210
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Total                  1104       360842       288380        33858        38604
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

hanzo-dev added a commit that referenced this pull request Jun 28, 2026
get_layers was a no-op stub -> --isq silently did nothing. Converted Thinker q/k/v/o + per-expert
gate/up/down + lm_head to Arc<dyn QuantMethod> (ReplicatedLayer; UnquantLinear == old Linear when
unquant, numerics preserved). get_isq_layers + residual_tensors + loader ISQ regexes scoped to
thinker text (towers/Talker/Code2Wav/router-gate excluded, kept full precision). FP8 config wired.
Validated on real 30B: Q4K greedy=9707 (==f16 ref), cosine 0.9822, ~3.3x smaller. Q4K/Q2K/Q8_0
structural tests pass. GGUF-file export (multimodal container) = follow-on.
hanzo-dev added a commit that referenced this pull request Jul 16, 2026
[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
hanzo-dev added a commit that referenced this pull request Jul 16, 2026
get_layers was a no-op stub -> --isq silently did nothing. Converted Thinker q/k/v/o + per-expert
gate/up/down + lm_head to Arc<dyn QuantMethod> (ReplicatedLayer; UnquantLinear == old Linear when
unquant, numerics preserved). get_isq_layers + residual_tensors + loader ISQ regexes scoped to
thinker text (towers/Talker/Code2Wav/router-gate excluded, kept full precision). FP8 config wired.
Validated on real 30B: Q4K greedy=9707 (==f16 ref), cosine 0.9822, ~3.3x smaller. Q4K/Q2K/Q8_0
structural tests pass. GGUF-file export (multimodal container) = follow-on.
zeekay pushed a commit that referenced this pull request Jul 26, 2026
[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.

Co-authored-by: Hanzo Dev <[email protected]>
zeekay pushed a commit that referenced this pull request Jul 26, 2026
[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.

Co-authored-by: Hanzo Dev <[email protected]>
zeekay pushed a commit that referenced this pull request Jul 26, 2026
get_layers was a no-op stub -> --isq silently did nothing. Converted Thinker q/k/v/o + per-expert
gate/up/down + lm_head to Arc<dyn QuantMethod> (ReplicatedLayer; UnquantLinear == old Linear when
unquant, numerics preserved). get_isq_layers + residual_tensors + loader ISQ regexes scoped to
thinker text (towers/Talker/Code2Wav/router-gate excluded, kept full precision). FP8 config wired.
Validated on real 30B: Q4K greedy=9707 (==f16 ref), cosine 0.9822, ~3.3x smaller. Q4K/Q2K/Q8_0
structural tests pass. GGUF-file export (multimodal container) = follow-on.
hanzo-dev added a commit that referenced this pull request Jul 27, 2026
[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.
hanzo-dev added a commit that referenced this pull request Jul 27, 2026
[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.
hanzo-dev added a commit that referenced this pull request Jul 27, 2026
get_layers was a no-op stub -> --isq silently did nothing. Converted Thinker q/k/v/o + per-expert
gate/up/down + lm_head to Arc<dyn QuantMethod> (ReplicatedLayer; UnquantLinear == old Linear when
unquant, numerics preserved). get_isq_layers + residual_tensors + loader ISQ regexes scoped to
thinker text (towers/Talker/Code2Wav/router-gate excluded, kept full precision). FP8 config wired.
Validated on real 30B: Q4K greedy=9707 (==f16 ref), cosine 0.9822, ~3.3x smaller. Q4K/Q2K/Q8_0
structural tests pass. GGUF-file export (multimodal container) = follow-on.
zeekay added a commit that referenced this pull request Sep 15, 2026
get_layers was a no-op stub -> --isq silently did nothing. Converted Thinker q/k/v/o + per-expert
gate/up/down + lm_head to Arc<dyn QuantMethod> (ReplicatedLayer; UnquantLinear == old Linear when
unquant, numerics preserved). get_isq_layers + residual_tensors + loader ISQ regexes scoped to
thinker text (towers/Talker/Code2Wav/router-gate excluded, kept full precision). FP8 config wired.
Validated on real 30B: Q4K greedy=9707 (==f16 ref), cosine 0.9822, ~3.3x smaller. Q4K/Q2K/Q8_0
structural tests pass. GGUF-file export (multimodal container) = follow-on.
zeekay added a commit that referenced this pull request Sep 15, 2026
[profile.dev] opt-level=3 ran full optimization on every CI test build — the
biggest unforced CI cost (swarm audit). opt-level=1 + debug=line-tables-only cuts
dev/test compile time substantially while keeping reasonable runtime + backtraces.

Co-authored-by: Hanzo Dev <[email protected]>
breezesamuel added a commit to breezesamuel/engine that referenced this pull request Nov 18, 2026
…w-up)

Completes the four remaining contract items from review:
- Matched baselines: unpinned-LRU (phase A) vs tenant-pinned (phase B)
  on the identical storm fixture - committed as
  hanzo-kv-fabric/results/lora-paging-results.json
- Raw measurements: 0/2048 (0.0%) unpinned vs 248/256 (96.9%) pinned;
  evictions 2038 vs 1800; policy cost ~302 ns hit / ~709 ns admission;
  8/8 pinned pages survive
- HIP-1345 update: results/HIP-1345-update.md proposes the §2.4 status
  addendum (§2.4 = Bounties hanzoai#14-hanzoai#15; the §2.3 label in the first cycle
  was a mislabel - §2.3 is Bounties hanzoai#13/hanzoai#18) - section refs corrected
  in module docs and the bench
- Out-of-scope statement: explicit 7-item list (training lifecycle,
  attention-path hot-swap, device I/O, cross-worker replication,
  multi-GPU placement, pin-quota arbiter, Bounty hanzoai#14)
zeekay pushed a commit to breezesamuel/engine that referenced this pull request Nov 21, 2026
…w-up)

Completes the four remaining contract items from review:
- Matched baselines: unpinned-LRU (phase A) vs tenant-pinned (phase B)
  on the identical storm fixture - committed as
  hanzo-kv-fabric/results/lora-paging-results.json
- Raw measurements: 0/2048 (0.0%) unpinned vs 248/256 (96.9%) pinned;
  evictions 2038 vs 1800; policy cost ~302 ns hit / ~709 ns admission;
  8/8 pinned pages survive
- HIP-1345 update: results/HIP-1345-update.md proposes the §2.4 status
  addendum (§2.4 = Bounties hanzoai#14-hanzoai#15; the §2.3 label in the first cycle
  was a mislabel - §2.3 is Bounties hanzoai#13/hanzoai#18) - section refs corrected
  in module docs and the bench
- Out-of-scope statement: explicit 7-item list (training lifecycle,
  attention-path hot-swap, device I/O, cross-worker replication,
  multi-GPU placement, pin-quota arbiter, Bounty hanzoai#14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant