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
请问use_cuda=True模式时,怎么指定使用哪块GPU?
The text was updated successfully, but these errors were encountered:
默认使用的第0卡,但你可以通过CUDA_VISIBLE_DEVICES指定GPU,如os.environ["CUDA_VISIBLE_DEVICES"]='2'
CUDA_VISIBLE_DEVICES
os.environ["CUDA_VISIBLE_DEVICES"]='2'
Sorry, something went wrong.
No branches or pull requests
请问use_cuda=True模式时,怎么指定使用哪块GPU?
The text was updated successfully, but these errors were encountered: