Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
haolin-nju committed Dec 27, 2024
1 parent 7e3fcd0 commit 7c75953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatlearn/utils/dist_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def bucket_tensor_generator(tensor_generator, bucket_size_mb):
tensor_generator (Generator): A generator of tensors to be separated into chunks.
size_limit (int): The limit of each chunk in bytes.
Return:
Yield:
dense_buckets: Blocks of tensors of same type and within size_limit.
sparse_bucket: A list of sparse tensors
"""
Expand Down

0 comments on commit 7c75953

Please sign in to comment.