NVIDIA / apex

A PyTorch Extension: Tools for easy mixed precision and distributed training in Pytorch
BSD 3-Clause "New" or "Revised" License
8.17k stars 1.35k forks source link

error: command '/usr/local/cuda-11.3/bin/nvcc' failed with exit code 1 #1738

Open Brion112233 opened 9 months ago

Brion112233 commented 9 months ago

Describe the Bug when I installed the apex on my ubuntu,an error occured after I used the command "python setup.py intall --cuda_ext --cpp_ext" Minimal Steps/Code to Reproduce the Bug

**Expected Behavior**

Environment

environment: ubuntu 18.04 python 3.7 CUDA 11.4 Pytorch 1.10.1

Brion112233 commented 9 months ago

Minimal Steps/Code to Reproduce the Bug: git clone https://github.com/NVIDIA/apex.git cd apex python setup.py install --cuda_ext --cpp_ext