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

[Docs] 分布式训练和GPU的选择能不能在配置文件中读取? #1549

Open
anzitong opened this issue May 24, 2024 · 0 comments
Open

Comments

@anzitong
Copy link

📚 The doc issue

分布式训练和GPU的选择能不能在配置文件中读取?现在的分布式训练是采用命令行设置python -m torch.distributed.launch --nproc_per_node=8 examples/distributed_training.py --launcher pytorch
CUDA_VISIBLE_DEVICES=0,3 python -m torch.distributed.launch --nproc_per_node=2 examples/distributed_training.py --launcher pytorch
我想把是否选择分布式训练和gpu的选择加入到config.json里,应该怎么做?

Suggest a potential alternative/fix

No response

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

No branches or pull requests

1 participant