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

Update instalL_NGC_PaddlePaddle_ch.rst #5338

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/install/instalL_NGC_PaddlePaddle_ch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ NGC 飞桨容器针对 NVIDIA GPU 加速进行了优化,并包含一组经过

::

docker run --gpus all --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:22.07-py3
docker run --gpus all --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:yy.mm-py3


如果您有 Docker 19.02 或更早版本,启动容器的典型命令是:

::

nvidia-docker run --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:22.07-py3
nvidia-docker run --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:yy.mm-py3



其中:
* 22.07 是容器版本。
* yy.mm 是容器版本,例如,2022年9月发布的版本为22.09
PaddlePaddle 通过将其作为 Python 模块导入来运行:

::
Expand Down
6 changes: 3 additions & 3 deletions docs/install/install_NGC_PaddlePaddle_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ If you have Docker 19.03 or later, a typical command to launch the container is:

::

docker run --gpus all --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:22.07-py3
docker run --gpus all --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:yy.mm-py3


If you have Docker 19.02 or earlier, a typical command to launch the container is:


::

nvidia-docker run --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:22.07-py3
nvidia-docker run --shm-size=1g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/paddlepaddle:yy.mm-py3



Where:

* 22.07 is the container version.
* yy.mm is the container version, e.g., the version published in Sept 2022 is 22.09.

PaddlePaddle is run by importing it as a Python module:

Expand Down