jax.core.InconclusiveDimensionOperation: Cannot divide evenly the sizes of shapes (8, 8, 3600) and (8, 10, 8, 3600) #13783
Unanswered
buttercutter
asked this question in
Q&A
Replies: 2 comments
-
I proceed with my own python script with the following slight modification to get it past the dimension runtime error. Note that the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to modify the following
reshape()
code to solve the dimension runtime error ?Do I need
padding
for thebatch
input array ?Note: In my code,
training_args.per_device_gradient_accumulation_steps = 10
, andtraining_args.per_device_train_batch_size = 8
andbatch
has shape of(8, 3600)
Reference : huggingface/transformers#20855 (comment)
Beta Was this translation helpful? Give feedback.
All reactions