Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8384
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 4520bd4 with merge base e1f1fbe ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
We deprecated impl_abstract. This PR replaces it with the new API (register_fake). register_fake also (sometimes) requires a `set_python_module` in C++, so I add that as well. Test Plan: - existing tests
Reviewed By: vmoens Differential Revision: D58283859 fbshipit-source-id: e882d7dbc22ec3e04edea50f95b6a30456f8fd2b Co-authored-by: Nicolas Hug <nh.nicolas.hug@gmail.com> Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
This reverts commit a471305.
This reverts commit fbefdcc.
|
hello,when i install vision by source code,i got this error: /home/gai_test/wuyang/vision/torchvision/csrc/ops/nms.cpp:22:5: error: ‘class torch::Library’ has no member named ‘set_python_module’
22 | m.set_python_module("torchvision._meta_registrations");
| ^~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1is there any solutions? |
It seems like the versions are not matching. You can check the corresponding versions of Torch and TorchVision on the official website, and then switch TorchVision’s source code to the appropriate version. |
I got the same problem, while I'm using torch==2.4.0 torchvision==0.19.0 on jetson(arch). They are matched.But I got error: |
We deprecated impl_abstract. This PR replaces it with the new API (register_fake). register_fake also (sometimes) requires a
set_python_modulein C++, so I add that as well.Test Plan: