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

Merged PR #937 breaks tox installs #940

Open
minggnim opened this issue Aug 12, 2020 · 6 comments
Open

Merged PR #937 breaks tox installs #940

minggnim opened this issue Aug 12, 2020 · 6 comments

Comments

@minggnim
Copy link

The same error as in #931 still persists after the merge #937. The environment I attempted to install apex was in tox for CD, where Cuda toolkit isn't available, and caused the error below

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-md7yngpi/setup.py", line 35, in <module>
        _, bare_metal_major, _ = get_cuda_bare_metal_version(cpp_extension.CUDA_HOME)
      File "/tmp/pip-req-build-md7yngpi/setup.py", line 14, 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'
@HolographicWings
Copy link

same

1 similar comment
@Kepler-Br
Copy link

same

@xden2331
Copy link

Same

@lqniunjunlper
Copy link

same

1 similar comment
@lqniunjunlper
Copy link

same

@lqniunjunlper
Copy link

export TORCH_CUDA_ARCH_LIST="compute capability" before run install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants