Closed
Description
Hello,
I just tried to build the docker image, but sadly it fails:
=> ERROR [ 8/14] RUN pip install -e /detectron2_repo 3.6s
------
> [ 8/14] RUN pip install -e /detectron2_repo:
#12 1.137 Obtaining file:///detectron2_repo
#12 3.374 ERROR: Command errored out with exit status 1:
#12 3.374 command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/detectron2_repo/setup.py'"'"'; __file__='"'"'/detectron2_repo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
#12 3.374 cwd: /detectron2_repo/
#12 3.374 Complete output (6 lines):
#12 3.374 Traceback (most recent call last):
#12 3.374 File "<string>", line 1, in <module>
#12 3.374 File "/detectron2_repo/setup.py", line 15, in <module>
#12 3.374 assert torch_ver >= [1, 6], "Requires PyTorch >= 1.6"
#12 3.374 AssertionError: Requires PyTorch >= 1.6
#12 3.374 No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
#12 3.374 ----------------------------------------
#12 3.375 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
------
executor failed running [/bin/sh -c pip install -e /detectron2_repo]: exit code: 1
It says No CUDA runtime is found
but that's not mentioned in the requirements.
Do I need to install it manually or what's the case here?
Metadata
Assignees
Labels
No labels