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

Ubuntu18.04环境中PARL2.x无法使用GPU算力 #689

Closed
ouyangshixiong opened this issue Jul 19, 2021 · 4 comments
Closed

Ubuntu18.04环境中PARL2.x无法使用GPU算力 #689

ouyangshixiong opened this issue Jul 19, 2021 · 4 comments

Comments

@ouyangshixiong
Copy link

环境:

  1. Ubuntu18.04 (PaddlePaddle官方指定版本)
  2. CUDA 10
  3. cudnn 7
  4. GPU GTX 1030ti
  5. PaddlePaddle 2.0.2
  6. parl 2.0.2

问题截图:

  1. 飞桨官方脚本输出信息
    WechatIMG90

  2. GPU信息
    WechatIMG87

  3. PaddlePaddle和PARL版本信息
    WechatIMG89

  4. 启动xparl报错信息
    WechatIMG88

我不仅仅试过paddlepaddle-gpu 2.0.2 parl2.0.2 CUDA10 cudnn7, 其他版本比如paddlepaddle-gpu 2.1.1 CUDA11 cudnn8我都试过,都无法正确使用GPU算力。请尽快修复。

@TomorrowIsAnOtherDay
Copy link
Collaborator

hello,十分感谢你的反馈。
xparl默认是关闭GPU进行并行的,这个的出发点是担心用户启动太多节点同时运行,GPU显存被撑爆的情况出现。
请问你运行DQN+atari是否可以看到GPU正常使用呢?

@ouyangshixiong
Copy link
Author

谢谢您的回复。我刚刚测试过,example项目 DQN+atari是可以正常使用GPU
WechatIMG91
我下一步应该怎么做呢?

@TomorrowIsAnOtherDay
Copy link
Collaborator

那这说明PARL现在是正常运行的哈。
xparl 启动集群是为了分布式并行计算用的,主要是使用CPU,目前这个提示不影响正常使用的。

@ouyangshixiong
Copy link
Author

已测试过训练程序确实可以用GPU算力。谢谢!

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