Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move instance of params from TBE fused kernels to named_parameters (p…
…ytorch#893) Summary: Pull Request resolved: pytorch#893 Fixing long standing nit bug with TorchRec's named parameters not returning fused parameters. Model code needs to change to account for this, we do this by adding the filter_optimizer_in_backward_named_parameters This sets the stage for the composability change The important parts to change, being MVAI/O3/PyPer should have this change. Tried to get everything else, Most important files to look at IMO are * full_sync_optimizer.py * fbcode/torchrec/optim/optimizers.py * torchrec/fb/optim/module_optimizer.py Reviewed By: YLGH Differential Revision: D41964643 fbshipit-source-id: 28f82a56a2147d10389ad4fd0e8dbaef78f12e3c
- Loading branch information