Slice 250.2c: Adaptive Quantization Execution Matrix (hardware-aware router + fp16 parity) - #69512
Open
drussell23 wants to merge 1 commit into
Conversation
…-aware router (power+pressure) + fp16 parity proof (drift<=tau, verdict-equivalent) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> [integrity-verified: 7a33646017f3]
📊 PR Size AnalysisSize: 💡 This PR is large. Ensure it focuses on a single feature or fix. Review Checklist
|
Owner
Author
|
HELD (not merging this session) per operator review: same rationale as #69511 — hardware-aware quant router is production-shaped, no consumer yet, parity proven against an fp16 stand-in. Hold until the real ECAPA execution paths exist. Green + isolated; safe to land later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Final sub-slice of the offline ML pipeline (stacked on #69511). A hardware-aware router that picks the ECAPA execution path from live host signals every call — no static model preference — with a proof the compressed path is decision-equivalent.
tests/ml/only; structural injection (nobackend/unified_supervisorimports).AdaptiveQuantizationRouter): reads Power State (AC/Battery) + Memory Pressure (structurally aligned toMemoryPressureGate.PressureLevel, lazy-probed, injectable). Rule: AC AND NORMAL → HIGH_FIDELITY; battery OR elevated → COMPRESSED. Recomputed per call (dynamic re-evaluation proven).Test Plan
tests/ml/only🤖 Generated with Claude Code
Summary by cubic
Adds a hardware-aware ECAPA router that picks the execution path per call from live power and memory pressure, plus an fp16 quantizer with tests proving the compressed path is decision-equivalent to high fidelity. Tests live in
tests/ml/only and use structural injection (no backend imports).JARVIS_ECAPA_FORCE_PATHoverride. Probes are lazy, fail-soft, and structurally injected.Written for commit 0056948. Summary will update on new commits.