mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-02 01:28:31 +00:00
[hotfix] Correct several erroneous code comments (#4794)
This commit is contained in:
@@ -92,7 +92,7 @@ class BucketStore(BaseStore):
|
||||
|
||||
def get_flatten_grad(self) -> Tensor:
|
||||
"""Return the flattened gradients slices in the bucket, the data orginization of the flattened tensor:
|
||||
[grad0_rank0, grad1_rank0, ..., grad_1_rank0, grad1_rank1, ....]
|
||||
[grad0_rank0, grad1_rank0, ..., grad_0_rank1, grad1_rank1, ....]
|
||||
|
||||
Returns:
|
||||
Tensor: the flattened gradients slices in the bucket
|
||||
|
Reference in New Issue
Block a user