Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Commit fd5c4ba

Browse files
driazatixinetzone
authored andcommitted
[ci] Add onnx model to S3 (apache#12716)
Addresses this CI failure on `main`: https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4235/pipeline/ Co-authored-by: driazati <driazati@users.noreply.github.com>
1 parent 6c7da2e commit fd5c4ba

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/upload_ci_resource.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ jobs:
5656
echo "$SHA256 downloaded_file" | sha256sum --check
5757
aws s3 cp downloaded_file "s3://tvm-ci-resources/$UPLOAD_PATH"
5858
echo "The item is available at https://tvm-ci-resources.s3.us-west-2.amazonaws.com/$UPLOAD_PATH"
59+
echo "Add this line to tests/scripts/request_hook/request_hook.py"
60+
echo " \"$URL\": f\"{BASE}/$UPLOAD_PATH\",

tests/scripts/request_hook/request_hook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"http://dl.caffe.berkeleyvision.org/bvlc_alexnet.caffemodel": f"{BASE}/bvlc_alexnet.caffemodel",
4141
"http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel": f"{BASE}/bvlc_googlenet.caffemodel",
4242
"https://github.com/dmlc/web-data/blob/main/darknet/data/dog.jpg": f"{BASE}/dog.jpg",
43+
"https://github.com/onnx/models/raw/bd206494e8b6a27b25e5cf7199dbcdbfe9d05d1c/vision/classification/mnist/model/mnist-1.onnx": f"{BASE}/onnx/mnist-1.onnx",
4344
}
4445

4546

0 commit comments

Comments
 (0)