Closed XuehaiPan closed 2 years ago
@XuehaiPan you are correct that the distribution suffix is required. It seems that the published tags have changed since we last updated the nvml.h
definition.
Note that as a workaround you could pull and retag the image locally:
docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04
docker tag nvidia/cuda:11.4.2-devel-ubuntu20.04 nvidia/cuda:11.4.2-devel
and re-run the make command. This would mean that the image is available locally.
You motivation for pulling the file from anaconda seems reasonable. Updated: Please feel free to submit a PR with the changes.
Motivation:
anaconda.org/nvidia
are hosted in a more structured way (repodata.json
).nvml.h
anaconda.org/nvidia/cuda-nvml-dev-11.5.1
: 62.9kB (updated 1.5 days ago)hub.docker.com/nvidia/cuda/11.4.2-devel-ubuntu20.04
: 2.81 GB (updated 2 months ago)Current
Makefile
cannot build bindings withCUDA_VERSION=11.4.2
:Tag
nvidia/cuda:11.4.2-devel
does not exist. Suffix-ubuntu20.04
is needed. Ref: https://hub.docker.com/r/nvidia/cuda/tags