facebookresearch / facebookresearch/detectron2

Wheels for torch 2.0

Open
#4,901 10 comments 9 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

## Instructions To Reproduce the 🐛 Bug:
1. Full runnable code or full changes you made:

Running the Colab demo for Detic - https://colab.research.google.com/drive/1QtTW9-ukX2HKZGvt0QvVGqjuqEykoZKI#scrollTo=S7MpTaZ0YNTb

results with an error as pytorch 2.0 is not part of the pre-build wheels - https://detectron2.readthedocs.io/en/latest/tutorials/install.html#install-pre-built-detectron2-linux-only

3. __Full logs__ or other relevant observations:
```
torch: 2.0 ; cuda: cu118
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Looking in links: https://dl.fbaipublicfiles.com/detectron2/wheels/cu118/torch2.0/index.html
ERROR: Could not find a version that satisfies the requirement detectron2 (from versions: none)
ERROR: No matching distribution found for detectron2
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked Detic Colab demo and the Detectron2 installation page, then inspect the pre-built wheel index for the reported torch 2.0 and cu118 combination. Reproduce the pip failure and determine the wheel-generation or publishing entry point involved. Done means the documented installation succeeds for that combination and the demo can install Detectron2.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.