Skip to content

convert NumPy RNG key data to uncommitted default-device-backed jax.Array data #28045

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

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Apr 15, 2025

convert NumPy RNG key data to uncommitted default-device-backed jax.Array data

Generally, we want to maintain that key data backing a PRNGKeyArray is a jax.Array. This change converts NumPy arrays on construction.

Co-authored-by: Yash Katariya [email protected]

@copybara-service copybara-service bot force-pushed the test_748016892 branch 4 times, most recently from 1171f5b to 680e55b Compare April 15, 2025 23:40
@copybara-service copybara-service bot changed the title convert NumPy RNG key data to uncommitted CPU-backed jax.Array data convert NumPy RNG key data to uncommitted default-device-backed jax.Array data Apr 15, 2025
@copybara-service copybara-service bot force-pushed the test_748016892 branch 2 times, most recently from ccdb681 to 8e86bb3 Compare April 15, 2025 23:54
@copybara-service copybara-service bot closed this Apr 16, 2025
@copybara-service copybara-service bot deleted the test_748016892 branch April 16, 2025 00:11
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