mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 12:30:42 +00:00
[Tensor] add hybrid device demo and fix bugs (#1059)
This commit is contained in:
@@ -92,4 +92,5 @@ class ColoInitContext(InsertPostInitMethodToModuleSubClasses):
|
||||
setattr(submodule, param_name, colo_param)
|
||||
colo_param.shared_param_modules.append(submodule)
|
||||
|
||||
module.to(self._device)
|
||||
ColoModulize(module)
|
||||
|
Reference in New Issue
Block a user