Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JAX parallel operations in chex.fake_pmap contexts #142

Merged
merged 0 commits into from
Mar 17, 2022

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 7, 2022

Support JAX parallel operations in chex.fake_pmap contexts

This change removes existing workarounds in Chex for a lack of support
for parallel operations (such as pmean, psum, etc.) in a
jax.vmap context. Now that JAX supports this, these operations can
be used, instead of being patched with identity functions.

@copybara-service copybara-service bot force-pushed the test_426865572 branch 4 times, most recently from 8fb59c6 to cef7a99 Compare February 7, 2022 15:35
@copybara-service copybara-service bot force-pushed the test_426865572 branch 2 times, most recently from c6fd579 to 04790b4 Compare February 21, 2022 10:34
@copybara-service copybara-service bot force-pushed the test_426865572 branch 2 times, most recently from c54e9bd to 395e02a Compare March 7, 2022 11:49
@copybara-service copybara-service bot force-pushed the test_426865572 branch 5 times, most recently from 36d3466 to 7862f3a Compare March 16, 2022 11:20
@copybara-service copybara-service bot changed the title Enable parallel ops in fake contexts Support JAX parallel operations in chex.fake_pmap contexts Mar 16, 2022
@copybara-service copybara-service bot force-pushed the test_426865572 branch 6 times, most recently from e0918b4 to 997c0a1 Compare March 17, 2022 10:40
@copybara-service copybara-service bot closed this Mar 17, 2022
@copybara-service copybara-service bot merged commit f368153 into master Mar 17, 2022
@copybara-service copybara-service bot deleted the test_426865572 branch March 17, 2022 11:04
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.

None yet

0 participants