Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deepcopy FP module even if on meta device
Summary: When we fx trace, even if there are 2 FP modules (because 2 cards), since it was sharded on meta, the ranks just have a reference to the FP on rank 0 and for whatever reason, FX eliminates the FP on rank 1 and it just shows the one on rank 0 do a deepcopy even when on meta device so each rank explicitly has their own copy, fx will persist it Reviewed By: lequytra, tissue3 Differential Revision: D53294788
- Loading branch information