Skip to content

[QwixOdmlTagPropagation] Fix ODML tag propagation by adding gather and split to _VALUE_PRESERVING_PRIMITIVES.#220

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_874688434
Feb 26, 2026
Merged

[QwixOdmlTagPropagation] Fix ODML tag propagation by adding gather and split to _VALUE_PRESERVING_PRIMITIVES.#220
copybara-service[bot] merged 1 commit intomainfrom
test_874688434

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented Feb 25, 2026

[QwixOdmlTagPropagation] Fix ODML tag propagation by adding gather and split to _VALUE_PRESERVING_PRIMITIVES.

  • Removed Split class and jax.lax.split mapping from get_all_ops. The previous implementation intercepted the high-level jax.lax.split op. Any other JAX composite that used splitting primitives internally would bypass this class and potentially lose tags. This had caused gemma3 multiply0_lhs tagloss issue.

@copybara-service copybara-service Bot force-pushed the test_874688434 branch 2 times, most recently from f970b09 to 572be0c Compare February 26, 2026 00:25
…and `split` to `_VALUE_PRESERVING_PRIMITIVES`.

- Removed `Split` class and `jax.lax.split` mapping from `get_all_ops`. The previous implementation intercepted the high-level `jax.lax.split` op. Any other JAX composite that used splitting primitives internally would bypass this class and potentially lose tags. This had caused gemma3 `multiply0_lhs` tagloss issue.

PiperOrigin-RevId: 875388000
@copybara-service copybara-service Bot merged commit c2c7067 into main Feb 26, 2026
@copybara-service copybara-service Bot deleted the test_874688434 branch February 26, 2026 00:26
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