Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Install cusparse header files into Docker #89

@tomshafer

Description

@tomshafer

I'm attempting to install detectron to do some prototyping for GRS, but the pip install (in a virtualenv) failes for missing cusparse.h headers. The headers are available but not installed.

Attempt:

(venv) tshafer@9a5494a2eaee:~/Projects/Blackmarker$ python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'

[...]

  /home/tshafer/Projects/Blackmarker/venv/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:6:10: fatal error: cusparse.h: No such file or directory
   #include <cusparse.h>
            ^~~~~~~~~~~~
  compilation terminated.
  error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for detectron2

Looks like the headers are available, just not installed:

(venv) tshafer@9a5494a2eaee:~/Projects/Blackmarker$ apt-cache search cuda
cuda-cusparse-10-0 - CUSPARSE native runtime libraries
...

If you could install them (or teach me how to "fish" rather than just be a support burden) that would be super helpful. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions