Skip to content

[QwixOdmlSiblingBranch] Refactor metadata propagation and unify sibling-branch sharing.#294

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_919902229
Open

[QwixOdmlSiblingBranch] Refactor metadata propagation and unify sibling-branch sharing.#294
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_919902229

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jun 2, 2026

Copy link
Copy Markdown

[QwixOdmlSiblingBranch] Refactor metadata propagation and unify sibling-branch sharing.

Refactors the Qwix ODML metadata propagation system and sibling matching lifecycle to ensure robust quantization intent sharing and float path isolation across model eager execution and tracing/conversion pipelines.

  • Refactored _maybe_fake_quant to align tracer-sharing behavior between eager execution and graph tracing. By replacing over-inclusive immediate-quantization copying with strict, rule-matched sibling reuse, sibling branches correctly share the same quantized tracer, eliminating KeyErrors during model conversion.
  • Refactored _forward_metadata to properly support elementwise linear scaling and shifting operations (e.g., addition, multiplication, negation) by propagating structural quantization rules and fusion permissions downstream while stripping value-dependent metadata.

…ng-branch sharing.

Refactors the Qwix ODML metadata propagation system and sibling matching lifecycle to ensure robust quantization intent sharing and float path isolation across model eager execution and tracing/conversion pipelines.

- Refactored `_maybe_fake_quant` to align tracer-sharing behavior between eager execution and graph tracing. By replacing over-inclusive immediate-quantization copying with strict, rule-matched sibling reuse, sibling branches correctly share the same quantized tracer, eliminating KeyErrors during model conversion.
- Refactored `_forward_metadata` to properly support elementwise linear scaling and shifting operations (e.g., addition, multiplication, negation) by propagating structural quantization rules and fusion permissions downstream while stripping value-dependent metadata.

PiperOrigin-RevId: 919902229
@copybara-service copybara-service Bot changed the title Refactors the Qwix ODML metadata propagation system and sibling matching lifecycle to ensure robust quantization intent sharing and float path isolation across model eager execution and tracing/conversion pipelines. [QwixOdmlSiblingBranch] Refactor metadata propagation and unify sibling-branch sharing. Jun 2, 2026
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