Skip to content

Conversation

gouzil
Copy link
Member

@gouzil gouzil commented Oct 9, 2022

To be verified

gouzil and others added 18 commits August 28, 2022 10:04
* 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 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
@paddle-bot
Copy link

paddle-bot bot commented Oct 9, 2022

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5340.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:[Beta]飞桨文档预览工具

@gouzil
Copy link
Member Author

gouzil commented Oct 27, 2022

cmd use --gpus Meets expectations remarks
docker run --name paddle_docker_temp1 -it --gpus all -v $PWD:/paddle registry.baidubce.com/paddlepaddle/paddle:2.3.2-gpu-cuda11.2-cudnn8 /bin/bash true test1
docker run --name paddle_docker_temp1 -it -v $PWD:/paddle registry.baidubce.com/paddlepaddle/paddle:2.3.2-gpu-cuda11.2-cudnn8 /bin/bash false test2

test1

截屏2022-10-27 下午7 57 06

test2

截屏2022-10-27 下午8 01 30

@dingjiaweiww
Copy link
Contributor

根据上述测试结果,docker run如果不添加--gpus 参数,则无法正常调用GPU,参考:https://docs.docker.com/config/containers/resource_constraints/#gpu

Copy link
Contributor

@XieYunshen XieYunshen left a 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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个链接需要更新吗?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要,他们是同个东西

Copy link
Contributor

@pangyoki pangyoki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dingjiaweiww dingjiaweiww merged commit 83bf96a into PaddlePaddle:develop Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants