Unable to install Apex on Linux(debian) with CUDA 12.1 and torch 2.2.2
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
When i run the command: python setup.py install --cuda_ext --cpp_ext
I get the error: 'RuntimeError: Error compiling objects for extension'
I also tried running this command: pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex.git
I receive a series of errors like this:
FAILED: /root/apex/build/temp.linux-x86_64-cpython-310/csrc/multi_tensor_l2norm_kernel.o
I have tried almost every single solution on github and stackoverflow, so I would greatly appreciate some help with this.
Contributor guide
No contributing guide indexed for this repository
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
Start with setup.py and reproduce the reported install commands on Linux with CUDA 12.1 and torch 2.2.2, then inspect the failed build output for csrc/multi_tensor_l2norm_kernel.o. Done means identifying a reproducible cause and documenting or validating a specific installation fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, linux, python, pytorch
- Domain
- build-system, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100