Skip to content

Can we use TrainState with pad_shard_upad? #2411

Answered by zjoukhadar
zjoukhadar asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @marcvanzee
I think I had a bug in my code. I was mistakenly passing rng which is jax.random.PRNGKey(seed) which is a devicearray and I was asking it to be static. devicearray cannot be passed as static arguments. I will close this issue now.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zjoukhadar
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
Converted from issue

This discussion was converted from issue #2410 on August 23, 2022 06:28.