Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目前提供的镜像ubuntu-gpu-mxnet1.3、ubuntu-gpu-tf1.12,似乎有一些问题,尝试修复了一下 #118

Merged
merged 1 commit into from
Feb 3, 2019

Conversation

icemoon1987
Copy link
Contributor

#116 针对这个问题,尝试修复了一下。

通过这个Dockerfile_for_gpu构建的镜像,可以正常运行nvidia-smi,并可以正常进入到使用GPU训练模型的过程。

主要修改:

  1. 依赖于提供的GPU镜像;(避免重新构建所有环境)
  2. 删除GPU镜像中的cuda和nvidia相关库;(解决nvidia-driver冲突)
  3. 采用Nvidia官方的方式,重新安装用到的cuda计算库;(解决安装cuda大包联带安装nvidia-driver,解决cuda 9库小版本问题)
  4. 补充必要的环境变量,是的nvidia-docker加载宿主机nvidia-driver相关库和工具。(解决nvidia-docker启动镜像问题)
  5. 稍微修改pip脚本,使其可用。(解决pip问题)

@songyue1104 songyue1104 merged commit 47fe052 into alibaba:master Feb 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants