You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why is random generation significantly (~50x) slower when vmapped over random keys? See the code below for an example.
UPDATE: It seems that only
rbg
andunsafe_rbg
PRNG is slow, the default PRNG have similar speed when vmapped.Test result on a RTX 3090 GPU (
rbg
):Test result on a RTX 3090 GPU (default):
Beta Was this translation helpful? Give feedback.
All reactions