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.
2 parents ac06935 + 51b7abe commit 0e69b98Copy full SHA for 0e69b98
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