Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

device = torch.device('cuda')在paddlepaddle上应该是怎样的 #159

Open
mingrizhuhao opened this issue Oct 18, 2021 · 0 comments
Open

Comments

@mingrizhuhao
Copy link

现在已有的程序是PyTorch程序,需要将其移植到paddlepaddle运行,遇到了一个问题是cude作为GPU在电脑上运行是需要的,但是在paddlepaddle也同样需要吗?如果不需要应该如何更爱,看到一个程序使用GPU的语句是#在使用GPU机器时,可以将use_gpu变量设置成True
use_gpu = True
此外在程序里也没有出现cude相关字样

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant