-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] Update Model Links to Include Commit #17015
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. There is a manual step to cache this file in S3. I will do it and report back when it's done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, the manual step should be complete now.
Can you add a new line to this file:
"https://github.com/onnx/models/raw/main/vision/classification/resnet/model/resnet50-v2-7.onnx": f"{BASE}/2022-10-05/resnet50-v2-7.onnx", |
The first part is the URL you just modified in the PR, and the second should be f"{BASE}/2024-05-22/resnet50-v2-7.onnx"
.
This should unblock it in CI.
For clarity, here is the manual step that we cached the file: https://github.com/apache/tvm/actions/runs/9188515282
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @jhong92-pro
I reviewed the links in tvm/tests/scripts/request_hook/request_hook.py Lines 122 to 123 in 27a3b90
For example, |
@tvm-bot rerun |
|
Thank you for your answer. I will update the links for |
Happy to do whichever works best for you :) |
Thanks for the update, quick reminder that we'd still need to add these new links to request_hook.py. The manual step that @leandron mentioned previously will also need completing again |
Thank you! Additionally, the original links will no longer be used. Please let me know if I can delete or comment them out. tvm/tests/scripts/request_hook/request_hook.py Lines 124 to 125 in 7c2c0d9
|
No problem, I think we can just rewrite them with the updated paths (both the key and value of the URL_MAP) |
I've just completed the manual step for mobilenetv2-7.onnx. It seems resnet-v2-7.onnx from the same commit hash has already been uploaded here. We'd just need to add a new line to request_hooks.py: "https://github.com/onnx/models/raw/bd206494e8b6a27b25e5cf7199dbcdbfe9d05d1c/vision/classification/mobilenet/model/mobilenetv2-7.onnx": f"{BASE}/m/onnx/models/raw/bd206494e8b6a27b25e5cf7199dbcdbfe9d05d1c/vision/classification/mobilenet/model/mobilenetv2-7.onnx", |
Just to confirm, would you like me to go ahead and rewrite the paths with the updated ones in the URL_MAP, or will you be handling that? |
Hi @jhong92-pro, if you would be able to add it here, that would be great! |
Many apologies, there was a mistake in the line I shared above, somehow I managed to add an additional
should fix it. |
I apologize for my misunderstanding. I encountered an issue related to the input names of the mobilenetv2-7.onnx model. After some investigation, I found that the input name was changed from EDIT |
Hi @jhong92-pro, I've completed the manual step, this line would need adding to request_hook.py again:
|
Thanks for the continued effort on this @jhong92-pro! And thanks for the reviews @leandron |
The ONNX pretrained ResNet model URLs have been updated in the autoTVM documentation. The previous URLs are no longer valid, and this change points to the correct URLs.
Related PR:
onnx/models#644