NVIDIA / apex

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

ERROR: Could not build wheels for apex, which is required to install pyproject.toml-based projects #1682

Open PeytonTse opened 1 year ago

PeytonTse commented 1 year ago

Building wheel for apex (setup.py) ... error ERROR: Failed building wheel for apex Running setup.py clean for apex Running command python setup.py clean

torch.version = 1.8.1+cu101

Compiling cuda extensions with nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Fri_Feb__8_19:08:17_PST_2019 Cuda compilation tools, release 10.1, V10.1.105 from /usr/local/cuda/bin

running clean removing 'build/temp.linux-x86_64-cpython-39' (and everything under it) removing 'build/lib.linux-x86_64-cpython-39' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it removing 'build' Failed to build apex ERROR: Could not build wheels for apex, which is required to install pyproject.toml-based projects

KwunTangKwai commented 1 year ago

same bug here.

torch.version = 1.9.1+cu102 cuda 10.2

dong4325 commented 9 months ago

same bug

ononplay commented 8 months ago

the same bug,who know how to solve

cytehsi commented 7 months ago

1653

https://github.com/NVIDIA/apex/issues/1653#issuecomment-1537034300 It work.

torch.version=1.8.2 cuda 11.1