Skip to content

[QwixFlaxUtil] Replace nn.unbox with local implementation of unbox in find_param in flax_util.py.#197

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_857345963
Jan 20, 2026
Merged

[QwixFlaxUtil] Replace nn.unbox with local implementation of unbox in find_param in flax_util.py.#197
copybara-service[bot] merged 1 commit intomainfrom
test_857345963

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented Jan 17, 2026

[QwixFlaxUtil] Replace nn.unbox with local implementation of unbox in find_param in flax_util.py.

  • Calling Partitioned.unbox with apply_constraint=True will trigger with_sharding_constraint, which crashes when manual axes are used.
  • Updated local unbox to call to not use sharding constrains when returning the raw value.

…` in `find_param` in `flax_util.py`.

- Calling `Partitioned.unbox` with `apply_constraint=True` will trigger `with_sharding_constraint`, which crashes when manual axes are used.
- Updated local unbox to call to not use sharding constrains when returning the raw value.

PiperOrigin-RevId: 858732350
@copybara-service copybara-service Bot merged commit dc1be14 into main Jan 20, 2026
@copybara-service copybara-service Bot deleted the test_857345963 branch January 20, 2026 21:38
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