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 <guyueh@nvidia.com> * Add comments Signed-off-by:
Guyue Huang <guyueh@nvidia.com> * Make sure tensor is moved to dst device before quantizer quantizes Signed-off-by:
Guyue Huang <guyueh@nvidia.com> --------- Signed-off-by:
Guyue Huang <guyueh@nvidia.com> Co-authored-by:
Tim Moon <4406448+timmoon10@users.noreply.github.com>
Showing
Please register or sign in to comment