Commit 03c71b3
Remove no-op operation in sharded tensor pool (meta-pytorch#3551)
Summary:
Pull Request resolved: meta-pytorch#3551
During implementation for item usharding added a no-op operation by mistake. Since item usharding already updates the device map to correctly move all the parameters of corresponding LocalShardPool to cpu / cuda (depending upon where the shard is located), setting device for shard here is not required. Removing this line to avoid confusion
Reviewed By: cp2923
Differential Revision: D87244659
fbshipit-source-id: ea2a1d3fcaaba830b1cf6456c3326be2a66554fe1 parent 5f98e01 commit 03c71b3
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | 308 | | |
310 | 309 | | |
311 | 310 | | |
| |||
0 commit comments