Repository navigation
docs(onnx) O0–O4: Optimum offline compiler frontend → BGZ/Palette256 sidecar - #1751
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Architecture correction approved by the operator on 2026-10-23. Adds one marked supersession block under the title and inline markers on the sentences that state a root assumption (A1-A7). Canonical text and the representation seams are in #1753 (d-native-first-dependency-correction-v1.md, d-native-repr-contract-v1.md). No other text in this plan changes; the #1744/#1745/#1750 S0 dispute is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…1754) Marked supersession: 'R2IL polyfill' reads as the R2IL router (D-MPF-4), and [7] is the lance-graph-onnx leaf facade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
D-OPTIMUM-BGZ-OFFLINE-v1 (docs-only; independent from contested S0)
Use Hugging Face optimum-onnx as an offline model-specific ONNX export, reference validation and calibration-data frontend for existing BGZ/Palette256/ndarray execution. Do not fork until an extension-point gap is demonstrated. Do not create an AST, ONNX runtime interpreter, new codec or Python dependency on Rust runtime.
Source-backed reuse
main_export,BertOnnxConfig,validate_models_outputs,ORTCalibrationDataReader,ORTQuantizer,ORTOptimizer. The ORT quantizer is not a BGZ codebook compiler.bgz-tensor::{WeightPalette,FamilyGamma,FisherZTable,AttentionTable},helix::{RollingFloor,DistanceLut}, andAdaWorldAPI/ndarrayBurnCompiledAttention(feat(planner): internal API — Planner + CamSearch (same-binary, zero-serde) api.rs: - Planner: plan(), plan_with_style(), plan_assessed(), gate_check() - CamSearch: prepare_query(), top_k(), encode(), decode(), stats() - Gate re-export (Proceed/Sandbox/Compass) - All direct fn calls, no HTTP/IPC/serialization 51 tests passing (43 existing + 8 new API tests). https://claude.ai/code/session_01BTATTRUACijvsK4hqmKUBR #42),CompiledLinear(feat: 48 meaning axes + Gestalt I/Thou/It + Volition + Council — 128 tests #100), SIMDtanhand numeric fallback.Stages and gates
Explicitly account for calibration/prepack costs, full-model versus layer fidelity, exact/approximation frontier, external tensor security, licensing, EXO-137/139 and #1726/#1731 negative composition laws. No model download, code, tests, branch merge or benchmark performed here.
Architecture and ownership
This plan is an extension of #1746 S1/S2, #1748 S3d, #1749 S4/S5, and optional #1747 S3. It does not resolve the conflicting canonical S0 drafts #1744/#1745/#1750; operator/CC owners decide that through EXO-50. No edits to other owners' board or code. Python Optimum is cold; runtime stays existing ndarray/R2IL/DR.
⊘ Supersession — D-NFC (2026-10-23, operator-approved architecture correction)
Canonical dependency diagram and root assumptions: #1753 (
d-native-first-dependency-correction-v1.md); shipped / lab / missing seams:d-native-repr-contract-v1.mdthere.P0 invariants. (1) ONNX is an external mathematical compatibility specification; the existing R2IL polyfill is the native starting point; no ONNX graph, Tract runtime or Optimum dependency in the internal execution path. (2) Quack binding + DR64³ + Palette256³ is the intended native representation; existing R2IL, mask-risc, BGZ, Helix and ndarray primitives are reused; implemented components and unimplemented integration contracts are kept apart.
For this PR:
Where this description or the plan says otherwise, it is superseded at the marked ⊘ points (plan commit
10e7e1967). Nothing is merged, no ABI or execution contract changes, and the #1744 / #1745 / #1750 S0 dispute is unchanged.