-
Notifications
You must be signed in to change notification settings - Fork 837
docker GPU Api Update #5340
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
docker GPU Api Update #5340
Conversation
* Update basic_usage_cn.md
* Update macos-docker_en.md * Update macos-docker.md
* Update grammar_list_cn.md
* Update case_analysis_cn.md
* Update windows-pip.md * Update windows-pip_en.md * Update linux-pip.md * Update linux-pip_en.md
* Update CUDAPlace_cn.rst
* Update take_along_axis_cn.rst
* ipu_shard_guard_cn.rst * set_ipu_shard_cn.rst Modify note Format: * mlu_places_cn.rst
* fix put_along_axis_cn.rst returns format * fix ipu_shard_guard_cn.rst note format * fix mlu_places_cn.rst note format * fix set_ipu_shard_cn.rst note format
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5340.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
根据上述测试结果,docker run如果不添加--gpus 参数,则无法正常调用GPU,参考:https://docs.docker.com/config/containers/resource_constraints/#gpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -8,7 +8,41 @@ | |||
|
|||
- 在本地主机上[安装 Docker](https://hub.docker.com/search/?type=edition&offering=community) | |||
|
|||
- 如需在 Linux 开启 GPU 支持,请[安装 nvidia-docker](https://github.com/NVIDIA/nvidia-docker) | |||
- 如需在 Linux 开启 GPU 支持, 需提前[安装 nvidia-container-toolkit](https://github.com/NVIDIA/nvidia-docker) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个链接需要更新吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不需要,他们是同个东西
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
To be verified