We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
看R200相关文档,只看到多卡训练指定R200卡号,但单卡推理时没有,默认是用的0号,但若不使用0号卡,怎么指定呀?
有没有类似英伟达卡的"CUDA_VISIBLE_DEVICES=1 python xxx.py"的指定方法?
The text was updated successfully, but these errors were encountered:
可以使用paddle.distributed.launch启动,通过--devices指定运行设备。
paddle.distributed.launch
--devices
文档: https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/distributed/launch_cn.html#cn-api-paddle-distributed-launch
示例:
python -u -m paddle.distributed.launch --devices run_xxx.py
Sorry, something went wrong.
KB-Ding
No branches or pull requests
问题描述
看R200相关文档,只看到多卡训练指定R200卡号,但单卡推理时没有,默认是用的0号,但若不使用0号卡,怎么指定呀?
有没有类似英伟达卡的"CUDA_VISIBLE_DEVICES=1 python xxx.py"的指定方法?
The text was updated successfully, but these errors were encountered: