How to Unshard an Array back to a single device? #24613
Answered
by
yashk2810
amishra791
asked this question in
Q&A
-
Suppose I had a function that operates on sharded arrays:
I'd like to make |
Beta Was this translation helpful? Give feedback.
Answered by
yashk2810
Oct 30, 2024
Replies: 1 comment 2 replies
-
Outside of the function, you can do arr.addressable_shards and choose any shard you want on any device. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
amishra791
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outside of the function, you can do arr.addressable_shards and choose any shard you want on any device.