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

Rework comparisons in the docs of JAX vs. NumPy PRNG #24927

Open
emilyfertig opened this issue Nov 16, 2024 · 1 comment
Open

Rework comparisons in the docs of JAX vs. NumPy PRNG #24927

emilyfertig opened this issue Nov 16, 2024 · 1 comment

Comments

@emilyfertig
Copy link
Collaborator

Parts of the docs (https://jax.readthedocs.io/en/latest/key-concepts.html#pseudorandom-numbers, https://jax.readthedocs.io/en/latest/random-numbers.html) imply that NumPy PRNG needs global state. NumPy currently recommends passing around an (implicitly updated) local PRNG state, and we should update our docs so the comparison is more fair. (see #24917 (comment)).

@jakevdp
Copy link
Collaborator

jakevdp commented Nov 16, 2024

I found the original issue: #11026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants