We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac06935 commit 51b7abeCopy full SHA for 51b7abe
applications/ColossalChat/coati/distributed/launch.py
@@ -16,7 +16,7 @@ def get_jsonl_size_fast(path: str) -> int:
16
with open(path) as f:
17
lines = f.readlines()
18
lines = [line for line in lines if line.strip()]
19
- return len(lines) - 1
+ return len(lines)
20
21
22
def get_dp_size_fast(n_procs: int, plugin_config: Dict[str, Any]) -> int:
0 commit comments