Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash in NeMo 2.0 during module._apply(lambda t: t.cpu()) (#1502)
* Fix a crash with module._apply(lambda t: t.cpu()) Signed-off-by: Guyue Huang <[email protected]> * Add comments Signed-off-by: Guyue Huang <[email protected]> * Make sure tensor is moved to dst device before quantizer quantizes Signed-off-by: Guyue Huang <[email protected]> --------- Signed-off-by: Guyue Huang <[email protected]> Co-authored-by: Tim Moon <[email protected]>
- Loading branch information