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

脚本里的export CUDA_VISIBLE_DEVICES不起作用 #35

Closed
wjn1996 opened this issue Apr 21, 2022 · 2 comments
Closed

脚本里的export CUDA_VISIBLE_DEVICES不起作用 #35

wjn1996 opened this issue Apr 21, 2022 · 2 comments

Comments

@wjn1996
Copy link
Collaborator

wjn1996 commented Apr 21, 2022

脚本里的export CUDA_VISIBLE_DEVICES不起作用,main函数里的os.environ["CUDA_VISIBLE_DEVICES"] = "1"也没有作用,不论设置多少值都会默认在0号卡上运行。
不知道是不是bug

@minghui
Copy link
Collaborator

minghui commented Apr 21, 2022

哪个脚本?

@wjn1996 wjn1996 closed this as completed Apr 22, 2022
@wjn1996
Copy link
Collaborator Author

wjn1996 commented Apr 22, 2022

已解决

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

2 participants