Skip to content

Commit

Permalink
Add --from-to option to azcopy command (#295)
Browse files Browse the repository at this point in the history
* Add --from-to option to azcopy command as downloading turing-1b dataset is failing without this option.

* --from-to should only be added for azcopy.

---------

Co-authored-by: Martin Aumüller <[email protected]>
  • Loading branch information
suri-kumkaran and maumueller authored Aug 26, 2024
1 parent fc3755b commit 3666346
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmark/dataset_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def download_accelerated(src, dst, quiet=False, sas_string=""):
cmd = f"azcopy copy {src} {dst}"
else:
cmd = f"azcopy copy '{src}?{sas_string}' '{dst}'"
cmd += " --from-to BlobLocal"
else:
cmd = f"axel --alternate -n 10 {src} -o {dst}"
if quiet:
Expand Down

0 comments on commit 3666346

Please sign in to comment.