Skip to content

Docker Error: No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' #86

Closed
@kadirnar

Description

@kadirnar
Processing ./tgs/models/snowflake/pointnet2_ops_lib
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/user/app/custom_nodes/ComfyUI-3D-Pack/tgs/models/snowflake/pointnet2_ops_lib/setup.py", line 20, in <module>
          os.environ["TORCH_CUDA_ARCH_LIST"] = ".".join(map(str, torch.cuda.get_device_capability()))
        File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/torch/cuda/__init__.py", line 381, in get_device_capability
          prop = get_device_properties(device)
        File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/torch/cuda/__init__.py", line 395, in get_device_properties
          _lazy_init()  # will define _get_device_properties
        File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/torch/cuda/__init__.py", line 247, in _lazy_init
          torch._C._cuda_init()
      RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions