pmap(lambda: matmul) takes forever to compile with 2M input shape #8586
Unanswered
ivandustin
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
matmul
insidepmap
takes forever to compile. I tried this in Google Colab using TPU.So I set up the environment to use TPU.
I created a test input.
First, I tested without
pmap
and it compiles quickly.However, when I tried to run
matmul
to all cores in parallel by usingpmap
, it takes forever to compile.Beta Was this translation helpful? Give feedback.
All reactions