Skip to content

CUDA Version: N/A  #1023

@mayday0208

Description

@mayday0208

Description

nerdctl run -it --rm --gpus capabilities=utility,device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a nvidia/cuda:9.0-base nvidia-smi
nvidia

when i use python pytorch,torch.cuda.is_available(),return false.

Steps to reproduce the issue

1.nerdctl run -it --rm --gpus capabilities=utility,device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a nvidia/cuda:9.0-base nvidia-smi
2.install python3, pip install torch
3.python,import torch,retrun false
image

Describe the results you received and expected

can't use cuda

What version of nerdctl are you using?

0.19.0

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

No response

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions