Skip to content

shard_map fails with jax.random.key but not jax.random.PRNGKey #26578

Closed Answered by jakevdp
jwtkeeble asked this question in Q&A
Discussion options

You must be logged in to vote

I suspect this issue comes from attempting to combine pmap and shard_map. pmap is deprecated, and is incompatible with shard_map. You should prefer to do the whole computation using shard_map.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jwtkeeble
Comment options

@jakevdp
Comment options

Answer selected by jwtkeeble
@jwtkeeble
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants