facebookresearch / facebookresearch/detectron2

Failing to build the wheel

Open
#5,445 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

1. Full runnable code or full changes you made:
```
conda create -n two-stage-weed-test python=3.10.12

%conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -c nvidia
!python -m pip install cython pyyaml
!python -m pip install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
!python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
```
2. __Full logs__ or other relevant observations:
```
Channels:
- pytorch
- nvidia
- defaults
- conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

environment location: /home/agandh04/miniconda3/envs/two-stage-weed-test

added / updated specs:
- pytorch-cuda=11.6
- pytorch==1.13.1
- torchaudio==0.13.1
- torchvision==0.14.1

The following packages will be downloaded:

package | build
---------------------------|-----------------
blas-1.0 | mkl 6 KB
...
ERROR: Failed building wheel for detectron2
Running setup.py clean for detectron2
Failed to build detectron2
ERROR: Failed to build installable wheels for some pyproject.toml based projects (detectron2)
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the Python 3.10.12, PyTorch 1.13.1, torchvision 0.14.1, and CUDA 11.6 commands shown in the issue, then capture the complete detectron2 build output. Identify why the wheel build fails and verify that the same installation command completes successfully.

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
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.