Skip to content

perf(vision): reuse LK pyramids across forward/backward passes - #335

Merged
rsasaki0109 merged 3 commits into
mainfrom
codex/lk-pyramid-reuse
Oct 22, 2026
Merged

rsasaki0109 merged 3 commits into
mainfrom
codex/lk-pyramid-reuse

Conversation

@rsasaki0109

Copy link
Copy Markdown
Owner

Robust LK rebuilt both CPU image pyramids for each direction. Reuse one private owned pair for u8/u16/f32/f64, preserving the point calculations, validation, public APIs and observable custom-component conversions. Four pyramid constructions become two; peak pyramid payload stays two.

Validation: 90 vision tests before and after, 24 web tests, no-feature vision build, two Clippy checks and workspace formatting pass. Independent frozen native camera reports match all 126 outputs; actual parent/candidate WASM matches 252 reports and 84 rejections. All 92 JS, six asset and 86 browser controls pass with synthetic capture.

Two prospective interleaved CPU surveys retain all 18 paired medians: 15 lower and three higher for the candidate. All samples, including the 5.3% adverse condition, are recorded. These observations do not prove physical-phone or end-to-end speed. Preserve the prelaunch wrapper failure and corrected owner.

The dedicated offline build stays under its 1 GiB cap with zero shared-cache growth; all 2,437 earlier camera/renderer files, scientific evidence and frozen native artifacts are preserved. No sensor, model, SDK, browser or toolchain acquisition. See docs/LK_PYRAMID_REUSE.md and docs/receipts/2026-10-22_lk_pyramid_reuse.json. Operational 80% gates remain open.

@rsasaki0109
rsasaki0109 merged commit b3ac527 into main Oct 22, 2026
132 checks passed
@rsasaki0109
rsasaki0109 deleted the codex/lk-pyramid-reuse branch October 22, 2026 02:28
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