Files
apache--tvm/python
Lunderberg 6b2cbfe31f [Contrib] Added default non-verbose to download_testdata(), pass to download() (#8533)
* [Contrib] Added default non-verbose to download_testdata(), pass to download().

Minor cleanup as well, while in the file

- Using tempfile.TemporaryDirectory instead of explicit cleanup.

- Pass through verbose/retries arguments if replacing a corrupted
  copy.

* [Contrib] Switched download.py from print statements to logging

* [Contrib] Added shutil.copy2 fallback after downloading file.

Initial implementation using tempfile.TemporaryDirectory assumed that
the tempdir and output location were on the same drive, and could be
renamed.  This update falls back to copying from the temporary
directory, in case the tempdir is on a different drive.

Co-authored-by: Eric Lunderberg <elunderberg@octoml.ai>
2021-07-29 15:35:12 +09:00
..
2021-07-15 23:08:10 -07:00
2021-07-15 23:08:10 -07:00