-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apex installation fails #1762
Comments
(rei) ecust@ecust:~/EVA/EVA-CLIP/apex$ 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" ./ torch.version = 2.1.2+cu118 Traceback (most recent call last): × Preparing metadata (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
Describe the Bug
Apex installation fails.
(rei) ecust@ecust:~ EVA/EVA-CLIP/apex$ 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" ./
Using pip 23.3.2 from /home/ecust/1TSSD/anaconda3/envs/rei/lib/python3.8/site-packages/pip (python 3.8)rocessing /home/ecust/EVA/EVA-CLIP/apexRunning command Preparing metadata (pyproject.toml)
torch._version= 2.1.2+Cu118
Traceback (most recent call last):File "home/ecust/1TSS/anaconda3/envs/rei/lib/python3.8/site-packages/pip/.vendor/pyproject hooks/ in process/ in processpy", line 353, in module3main)File "/home/ecust/1TSD/anaconda3/envs/rei/ib/python38/site-packages/pip/.vendor/pyprojet hooks/-in process in process,py", line 335, in mainrule t['etur1-ya)amhoka/hook tnputl hwargs" /site-packaes/pip/ vendor/oworotect hooks/ in process/ in process v’, ine 14, n renare metadata for burid whereturn hook(metadata_directory, config_settings.File "/homeecust/1TSD/anaconda3envs/re/lib/python3.8/site-packages/setuptols/build meta.py", ine 39, in prepare metadata for build wheelself.run setup(File "/home/ecust/1TSSD/anaconda3/envs/rei/lib/python3.8/site-packages/setuptools/build meta.py", line 341, in run_setup
exec(code, locals())File "", line 137, in lineFile "<string:24, in get cuda bare metal versiorFile "/home/ecust/1TSsD/anaconda3/envs/rei/lib/python3.8/subprocess.py", line 415, in check outputfeturn run(*popenargs, stdout=PIPE,timeout=timeout, check=True .File "/home/ecust/1TSSD/anaconda3/ernvs/rei/lib/python3.8/subprocess.py", line 493, in runwith Popen(*popenargs,**kwargs) as DrocessFile "/home/ecust/1TSSD/anaconda3/envs/rei/lib/python3.8/subprocess.py", ine 858, in __initself. execute child(args, executable, preexec fn, close fds.File "/home/ecust/1TSsD/anaconda3/envs/rei/lib/python3.8/subprocess.py", line 1720, in execute_childraise child_exception_type(errno_num,err_msg, err_filename)FileNotFoundError: [Errno 2] No such file or directory:'/usr/local/cuda:/usr/local/cudaexport/bin/nvcc
error: subprocess-exited-with-error
x Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1> See above for output.note: This error originates from a subprocess. and is likely not a problem with pipFull comad: /hone/ecust/TSD/anaconda3/enws/rei/bin/python3.a hone/ecust/S/anacand3/enws/rei/libpython./site-padkaes pip/.vendor pyproect toks n proxessj-im proces.y metadata for build wheel /tmp/tmpi7imsvgpreparecwd: /home/ecust/EVA/EVA-CLIP/apexerPcepartngdnetadata (pyprofect.tonl) ... error
xEncountered error while generating package metadata> See above for output .
note: This is an issue with the package mentioned above, not pip.
hint: see above for details.
Minimal Steps/Code to Reproduce the Bug
Expected Behavior
Environment
OS: Ubuntu 20.04.6 LTS (x86_64)
PyTorch version: 2.1.2
GPU:RTX3090
torch 2.1.2+cu118
torchaudio 2.1.2+cu118
torchvision 0.16.2+cu118
pip 23.3.2
The text was updated successfully, but these errors were encountered: