You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/23 20:13:07 UTC

[GitHub] [tvm] driazati commented on a diff in pull request #11856: [ci] Add manual workflow to upload files to CI bucket

driazati commented on code in PR #11856:
URL: https://github.com/apache/tvm/pull/11856#discussion_r905416326


##########
jenkins/README.md:
##########
@@ -72,6 +72,16 @@ See #<issue number>
 '
 gh pr create
 ```
+
+## Network Resources
+
+Downloading files from the Internet in CI is a big source of flaky failures
+(e.g. remote server goes down or is slow), so try to avoid using the network at
+all during tests. In some cases this isn't a reasonable proposition (e.g. the
+docs tutorials which need to download models). In these cases you can re-host
+files in S3 for fast access in CI. A committer can upload a file, specified by
+a name, hash, and path in S3, using the `workflow_dispatch` event on
+[the `upload_ci_resource.yml` GitHub Actions workflow](https://github.com/driazati/tvm/actions/workflows/upload_ci_resource.yml).

Review Comment:
   fixed, and `upload_path` is wherever the file goes in s3 so it can be whatever the person triggering the build wants (e.g. for the oneflow dep in #11839 the upload path is `oneflow/resnet18.zip`)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org