Skip to content

perf(release): trim AIGS engines, skip compressing TRT blobs, time installer build#11

Merged
opariffazman merged 1 commit into
mainfrom
perf/release-size-ci-timing
Jun 23, 2026
Merged

perf(release): trim AIGS engines, skip compressing TRT blobs, time installer build#11
opariffazman merged 1 commit into
mainfrom
perf/release-size-ci-timing

Conversation

@opariffazman

Copy link
Copy Markdown
Contributor

What

Build/CI optimization. Measured on the self-hosted RTX runner.

File Change Effect
maxine-manifest.psd1 VfxModelGlobs -> AIGS_*_m0* green-screen MODE hardcoded 0 (aigs.cpp), only m0 loads -> drops m1/m2/m3, ~290 MB off the multi-arch bundle
CameraOnScreen.iss .trtpkg engines nocompression + excluded from catch-all stops solid lzma2/ultra64 re-compressing already-compressed TRT blobs -> faster release build, no double-pack
build-installer.ps1 stopwatch timing split per step next release prints shim / dotnet / bundle / iscc seconds

Why

.exe size + 15-min CI. Findings:

  • ci.yml was never the problem (<1 min). The 15 min was release.yml's installer build (6.9 min active + single-runner queue wait).
  • The historical 695 MB bloat (cublasLt 514 MB + cufft 181 MB) is already excluded by the current TRT-10.9 manifest; the on-disk dist\ that showed 1.5 GB was stale (Nov-2024 SDK).
  • Remaining controllable size = the greedy AIGS glob (8 engines/arch, only m0 used) -> trimmed here.

Verify (runner)

  • bundle-maxine.ps1 fresh-size measure.
  • Re-run trace_closure / bundle_probe on the trimmed bundle (both effects load, COS_* unset).
  • Next tagged release auto-prints the timing split.

Local: 21 Pester tests pass (Bundle-Maxine.Tests, Build-Installer.Tests).

🤖 Generated with Claude Code

…staller build

- manifest: VfxModelGlobs -> AIGS_*_m0* (green-screen MODE is hardcoded 0 in
  aigs.cpp, so only m0 engines ever load). Drops m1/m2/m3 -> ~290 MB off the
  multi-arch bundle.
- installer: ship .trtpkg engines with nocompression + exclude them from the
  catch-all, so the solid lzma2/ultra64 block stops re-compressing already-
  compressed TensorRT blobs. Faster release build, no double-pack.
- build-installer: stopwatch timing split per step (shim/dotnet/bundle/iscc) so
  the next release run shows where the ~7 min goes.

ci.yml is untouched (already <1 min on the self-hosted runner); the slow path
was release.yml's installer build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@opariffazman
opariffazman merged commit 6c5d2be into main Jun 23, 2026
1 check passed
@opariffazman
opariffazman deleted the perf/release-size-ci-timing branch June 23, 2026 12:27
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