mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 20:40:34 +00:00
[zero] solve hang
This commit is contained in:
@@ -91,7 +91,7 @@ class GradientStore(BaseStore):
|
||||
|
||||
return grad_list
|
||||
|
||||
def get_working_grad_by_param_id(self, param_id) -> Tensor:
|
||||
def get_working_grad_by_param_id(self, param_id) -> Optional[Tensor]:
|
||||
"""
|
||||
Return the working gradient for the specified parameter.
|
||||
|
||||
|
Reference in New Issue
Block a user