Skip to content
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

Install set.up #1822

Open
Maritime-Moon opened this issue Jul 25, 2024 · 0 comments
Open

Install set.up #1822

Maritime-Moon opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Maritime-Moon
Copy link

Warning: Torch did not find available GPUs on this system.
If your intention is to cross-compile, this is not an error.
By default, Apex will cross-compile for Pascal (compute capabilities 6.0, 6.1, 6.2),
Volta (compute capability 7.0), Turing (compute capability 7.5),
and, if the CUDA version is >= 11.0, Ampere (compute capability 8.0).
If you wish to cross-compile for a single specific architecture,
export TORCH_CUDA_ARCH_LIST="compute capability" before running setup.py.

torch.version = 2.4.0

Traceback (most recent call last):
File "E:\anaconda\envs\pytorch\Lib\site-packages\apex\setup.py", line 137, in
_, bare_metal_version = get_cuda_bare_metal_version(CUDA_HOME)
File "E:\anaconda\envs\pytorch\Lib\site-packages\apex\setup.py", line 24, in get_cuda_bare_metal_version
raw_output = subprocess.check_output([cuda_dir + "/bin/nvcc", "-V"], universal_newlines=True)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

@Maritime-Moon Maritime-Moon added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant