Build pytorch trunk from source and build vision from source makes `import torchvision;` fail
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
Description
🐛 Describe the bug
If I build pytorch from turnk (2.8+1478d0185c29) and build vision from source, I can't run import torchvision;.
import torchvision
will report: RuntimeError: operator torchvision::nms does not exist.
It will succeed if I replace the version of pytorch from trunk to branch release/2.7. (Build from source still).
How can I build vision with pytorch from source?
Versions
trunk d02b1845a2fabea1eb8f9d09310369a5cbb5514f
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the import torchvision failure with PyTorch trunk and a source build of vision, then compare it with the working release/2.7 build. The issue is resolved when torchvision imports successfully with the reported trunk revisions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system, computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100