Repository navigation
[Docs] Configure GPU access and shared memory for distributed Docker training - #7933
Open
Daiyuanranfeng wants to merge 1 commit into
Open
Daiyuanranfeng wants to merge 1 commit into
Daiyuanranfeng wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与改动
分布式部署指南的 GPU Docker 示例没有向容器开放 GPU,也没有提供多卡训练需要的共享内存挂载。为示例补充
--gpus all、-v /dev/shm:/dev/shm,并说明 NVIDIA Container Toolkit 前置配置及参数用途。Refs #5622。当前指南已使用
--net=host,本次保留该参数;仅处理仍存在的 GPU 和共享内存配置遗漏。验证
prek run --files docs/guides/06_distributed_training/deployment_cn.rst:全部适用检查通过。git diff --check:通过。