我需要使用具有cuda gpu访问权限的Pytorch。我使用"pytorch/pytorch:1.9.0-cuda10.2-cudnn7-runtime“中的作为我的基础图像。必要的python版本是否也随此命令一起安装?
发布于 2021-07-30 15:22:50
从DockerHub中可以看到这些类型的图像是如何构建的:https://hub.docker.com/layers/pytorch/pytorch/1.9.0-cuda10.2-cudnn7-runtime/images/sha256-5dc11a9036bcb5b7950f4f8a43974057559278fa4bd87513cafd477fef9eb57a?context=explore
在那里,您可以看到conda已安装。我建议在你正在使用的DockerFile中使用它附带的conda。
https://stackoverflow.com/questions/68591135
复制相似问题