facebookresearch / dynalab

The Python library with command line tools to interact with Dynabench(https://dynabench.org/), such as uploading models.
MIT License
54 stars 10 forks source link

[be]More robust upload for large files using multipart form data; [feat] better management of submission files; [be]some be abstrations; [feat] progress bar for upload #92

Closed mazhiyi closed 3 years ago

mazhiyi commented 3 years ago

Also uploaded a ~6G file to devserver, no problem

  % dynalab-cli upload -n zm-test-large-mm100-175m-gpu              !10364
Config file validated
Tarballing the project directory...
Uploading files to S3. For large submissions, the progress bar may hang a while even after uploading reaches 100%. Please do not kill it...
Upload: 100%|█████████████████████████| 5.98G/5.98G [31:52<00:00, 3.35MB/s]
Your model zm-test-large-mm100-175m-gpu has been uploaded to S3 and will be deployed shortly. You will get an email notification when your model is available on Dynabench.
You can inspect the prepared model submission locally at .dynalab_submissions/Jun-28-2021-18-47-56-zm-test-large-mm100-175m-gpu.tar.gz
mazhiyi commented 3 years ago

cc @gwenzek