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

Unable to train without using GPU. #12

Closed
cardboardcode opened this issue Mar 29, 2021 · 1 comment
Closed

Unable to train without using GPU. #12

cardboardcode opened this issue Mar 29, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cardboardcode
Copy link
Contributor

Encountered the following terminal error output when attempting to train using only CPU.

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.

Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    _, bare_metal_major, _ = get_cuda_bare_metal_version(cpp_extension.CUDA_HOME)
  File "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'
@cardboardcode cardboardcode self-assigned this Mar 29, 2021
@cardboardcode cardboardcode added the bug Something isn't working label Mar 29, 2021
@cardboardcode
Copy link
Contributor Author

The Training component of EPD has a GPU dependency and a CPU-variant is yet to be created. However, due to the impractical nature of training a model using CPU (~takes 20 hours to train), this CPU-variant is not currently being worked on.

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