Jump to content

UNRAID中的Docker如何使用GPU呢?


Go to solution Solved by jinlife,

Recommended Posts

希望在JupyterLab中使用Pytorch(需CUDA),在Jupyter中安装Torch后,检测CUDA是否可用

image.thumb.png.b209421257026b08b0d4e217fd6754f1.png

 

返回结果为 False 无法正常使用

 

UNRAID Version 6.11.5 已经安装Nvidia-Driver并且能看到显卡型号image.thumb.png.cfe89e4f7b32bedd2eda91c8665546bc.png

 

在“TOOLS —— System Devices" 如下图所示

image.thumb.png.0a7d0024ec3b7ab5cd535bafc0b5c077.png

 

UNRAID Terminal中可以看到Nvidia的相关信息

image.thumb.png.9367f2172b2e5541694b7fcb29943499.png

 

已经尝试在Docker启动加入 “--runtime=nvidia” 但并不能解决以上问题,请问我该如何开始排查和使用呢?

 

 

 

image.png

Link to comment
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...