Giter VIP home page Giter VIP logo

Comments (6)

zenghsh3 avatar zenghsh3 commented on June 19, 2024 2

@mxfengustc Hi, we find that IMPALA example also can run normally when using single GPU to train. You can try to set export CUDA_VISIBLE_DEVICES=0.

from parl.

zenghsh3 avatar zenghsh3 commented on June 19, 2024

这边测试了下发现paddle>=1.5.1版本时,在GPU上训练时会有这个问题,CPU能正常训练(export CUDA_VISIBLE_DEVICES=""),这个问题应该跟Paddle的这个issue类似:
PaddlePaddle/Paddle#19628

这边先问下Paddle开发者这个issue解决的进展,你也可以先尝试用CPU训练先。

from parl.

TomorrowIsAnOtherDay avatar TomorrowIsAnOtherDay commented on June 19, 2024

Thanks for raising the issue. Can you run the IMPALA algorithm in your environment when setting CUDA_VISIBLE_DEVICES="" ?

from parl.

mxfengustc avatar mxfengustc commented on June 19, 2024

@TomorrowIsAnOtherDay When I only use CPU to run it, no errors occurred.

from parl.

mxfengustc avatar mxfengustc commented on June 19, 2024

@zenghsh3 Hi,thanks for the advice, now i can run the code~
You can close the issue , and i think that maybe you can communicate with paddlepaddle team to try to solve the problem for getting errors when using multiple gpus.
I offen use some nodes with gpus as actors to sample experiences, i want to know if errors will occur in this setting(actors with gpus)

from parl.

TomorrowIsAnOtherDay avatar TomorrowIsAnOtherDay commented on June 19, 2024

Thanks @zenghsh3 for providing the temporary solution. I'm closing the issue as it is not an error of PARL. We can confirm that it is a bug of PaddlePaddle.
We will do following things:

  1. assert that only a GPU is being used when running the IMPALA algorithm.
  2. locate the bug and report it to the Paddle team.

Thanks @mxfengustc for reporting the issue and @yobobobo for providing suggestion.

from parl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.