Skip to content

Commit d079645

Browse files
committed
fix lint
1 parent 3b50036 commit d079645

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

verl/protocol.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ def union_numpy_dict(tensor_dict1: dict[str, np.ndarray], tensor_dict2: dict[str
198198
return tensor_dict1
199199

200200

201-
202201
def fold_batch_dim(data: "DataProto", new_batch_size):
203202
"""
204203
Fold a batch dim from [bsz, xxx] into [new_bsz, bsz // new_bsz, xxx]

verl/utils/py_functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,4 @@ def list_of_dict_to_dict_of_list(list_of_dict: list[dict]):
365365
for key, item in data.items():
366366
assert key in output, f"Key '{key}' is not present in the keys of the first dictionary in the list."
367367
output[key].append(item)
368-
return output
368+
return output

0 commit comments

Comments
 (0)