Skip to content

Conversation

@copybara-service
Copy link

[pmap] Remove check_arg on every pmap invocation.

jit calls check_arg on cache miss. If we pass something else, jit will miss its cache and will call check_arg again.

Improving the jax.jit(jax.shard_map) implementation of jax.pmap.

@copybara-service copybara-service bot force-pushed the test_858886211 branch 5 times, most recently from 2311fdd to 0e26942 Compare January 27, 2026 17:30
jit calls check_arg on cache miss. If we pass something else, jit will miss its cache and will call check_arg again.

Improving the `jax.jit(jax.shard_map)` implementation of `jax.pmap`.

PiperOrigin-RevId: 861765976
@copybara-service copybara-service bot merged commit 08fd5ea into main Jan 27, 2026
@copybara-service copybara-service bot deleted the test_858886211 branch January 27, 2026 17:52
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