Skip to content

Commit

Permalink
Streaming Dataset: tiny optimisations (#19342)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton authored Jan 24, 2024
1 parent 0a75d3b commit 925357d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning/data/streaming/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def download_file(self, remote_filepath: str, local_filepath: str) -> None:
with FileLock(local_filepath + ".lock", timeout=0):
if self._s5cmd_available:
proc = subprocess.Popen(
f"s5cmd --numworkers 64 cp {remote_filepath} {local_filepath}",
f"s5cmd cp {remote_filepath} {local_filepath}",
shell=True,
stdout=subprocess.PIPE,
)
Expand Down

0 comments on commit 925357d

Please sign in to comment.