simple paralellism with 2 or 4 GPUs #21127
Unanswered
jecampagne
asked this question in
Q&A
Replies: 2 comments 1 reply
-
No help? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The doc you link to is for more advanced usage – I'd suggest starting with Introduction to sharded computation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Looking at the doc on shard_map, I'm quite lost...
If someone can convert this simple example which compute a 2D representation of a
f(x,y)
functionusing either 2 or 4 GPUs it would be help. Here is a 1-GPU (device) code using nested vmap.
I had in mind to split the image in 2x1 or 2x2 grid sending to each device the computation of part of the figure
then glue the results to build the final image.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions