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

Modify clipping implementation to avoid jnp.moveaxis, which causes undesirable all-to-all's in distributed environments. #1049

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Sep 6, 2024

Modify clipping implementation to avoid jnp.moveaxis, which causes undesirable all-to-all's in distributed environments.

Also improve documentation on per_example_global_norm_clip and per_example_layer_norm_clip, and refactor them to consume PyTrees instead of lists.

Copy link

google-cla bot commented Sep 6, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service bot force-pushed the test_671865728 branch 14 times, most recently from b973090 to fac9ca1 Compare September 9, 2024 23:09
@copybara-service copybara-service bot force-pushed the test_671865728 branch 2 times, most recently from fab1981 to 8059866 Compare September 19, 2024 17:52
@copybara-service copybara-service bot closed this Sep 19, 2024
@copybara-service copybara-service bot deleted the test_671865728 branch September 19, 2024 18:07
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.

0 participants