Merge pull request #6347 from hpcaitech/hotfix/fix_num_update_per_episode

[fix] fix num update per episode
This commit is contained in:
YeAnbang
2025-06-12 15:56:49 +08:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ def get_jsonl_size_fast(path: str) -> int:
with open(path) as f:
lines = f.readlines()
lines = [line for line in lines if line.strip()]
return len(lines) - 1
return len(lines)
def get_dp_size_fast(n_procs: int, plugin_config: Dict[str, Any]) -> int: