Skip to content

[pmap] In-line definitions of jax.device_put_sharded and jax.device_put_replicated.#440

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_888582452
Apr 10, 2026
Merged

[pmap] In-line definitions of jax.device_put_sharded and jax.device_put_replicated.#440
copybara-service[bot] merged 1 commit intomainfrom
test_888582452

Conversation

@copybara-service
Copy link
Copy Markdown

[pmap] In-line definitions of jax.device_put_sharded and jax.device_put_replicated.

Both jax.device_put_sharded and jax.device_put_replicated were deprecated in JAX v0.8.1 in November 2025. We in-line their definitions using public JAX APIs taking the jax_pmap_shmap_merge=True branch, which was made the default in JAX v0.8.0 in October 2025.

Please see the below for more information:

@copybara-service copybara-service bot force-pushed the test_888582452 branch 8 times, most recently from 01961df to a58a60c Compare April 10, 2026 14:59
…e_put_replicated`.

Both `jax.device_put_sharded` and `jax.device_put_replicated` were deprecated in JAX v0.8.1 in November 2025. We in-line their definitions using public JAX APIs taking the `jax_pmap_shmap_merge=True` branch, which was made the default in JAX v0.8.0 in October 2025.

Please see the below for more information:
- JAX CHANGELOG: https://docs.jax.dev/en/latest/changelog.html
- Migrating from `jax.pmap`: https://docs.jax.dev/en/latest/migrate_pmap.html

PiperOrigin-RevId: 897706398
@copybara-service copybara-service bot merged commit 5fbd2c9 into main Apr 10, 2026
@copybara-service copybara-service bot deleted the test_888582452 branch April 10, 2026 15:33
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