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

[nnx] vectorize vmap split counts #3989

Merged
merged 1 commit into from
Jun 12, 2024
Merged

[nnx] vectorize vmap split counts #3989

merged 1 commit into from
Jun 12, 2024

Conversation

cgarciae
Copy link
Collaborator

What does this PR do?

  • Vectorizes split RngCount state in vmap, this avoids issues that arise when rows perform a variable number of splits (e.g. using cond).
  • Removes RngKeyBackup and RngStream.key_backups.

@copybara-service copybara-service bot merged commit 551eaf0 into main Jun 12, 2024
21 checks passed
@copybara-service copybara-service bot deleted the nnx-fix-vmap branch June 12, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants