Vmap Flax + Huggingface Model #3780
Unanswered
pharringtonp19
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm surprised that the following doesn't appear to work. I would have thought that we could
vmap
a Flax + Huggingface model across an array of "tokens".TypeError: cannot reshape array of shape (32, 768) (size 24576) into shape (32, 768, 12, 64) (size 18874368)
Beta Was this translation helpful? Give feedback.
All reactions