Skip to content

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

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_888582443
Mar 26, 2026
Merged

[pmap] In-line definitions of jax.device_put_sharded and jax.device_put_replicated.#179
copybara-service[bot] merged 1 commit intomasterfrom
test_888582443

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:

…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: 889947371
@copybara-service copybara-service bot merged commit bfd042f into master Mar 26, 2026
@copybara-service copybara-service bot deleted the test_888582443 branch March 26, 2026 18:18
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