Skip to content

nvidia gpu device acess in containers #287

@viprob-ai

Description

@viprob-ai

Hi I am facing an issue in setting up the gpu inside container.

OS: ubuntu 22.04
podman versions : 3.4.4
nvidia-ctk version : 1.17

Followed all the instruction as per the below link but still no success :
https://github.com/NVIDIA/nvidia-container-runtime/issues/85#issuecomment-1772741424

  • nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml

  • podman run --rm --device nvidia.com/gpu=all --security-opt=label=disable ubuntu nvidia-smi -L

Error: stat nvidia.com/gpu=all: no such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions