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

Implement GPU acceleration in RAM #29

Open
ango1994 opened this issue Feb 6, 2023 · 5 comments
Open

Implement GPU acceleration in RAM #29

ango1994 opened this issue Feb 6, 2023 · 5 comments
Assignees

Comments

@ango1994
Copy link
Contributor

ango1994 commented Feb 6, 2023

Enable GPU acceleration in the new Robotics Application Manager as in the old manager. DIfferent commands should be launched depending if the GPU acceleration is enabled or not. See the classic manager for more information: https://github.com/JdeRobot/RoboticsAcademy/blob/master/scripts/manager.py

@jmplaza
Copy link
Member

jmplaza commented Feb 6, 2023

Related to JdeRobot/RoboticsAcademy#902. @dpascualhe is also working on refining the support of GPU acceleration from the RADI container, both on Linux user machines and on Windows user machines.

@Bhardwaj-Himanshu
Copy link

Hi @ango1994 @jmplaza, (sorry for the ping, but do let me know if it bothers you)
I want to start contributing to this issue, just wanted to confirm a few steps related to it.

-after setting the codebase up locally, which files do I need to navigate into to implement the same?
-also, if you could provide a slight idea about how to start?

--Some various methods after my little walkthrough suggested usage of CUDA or pytorch!

I know these doubts can sound naive, but yep these do derive from my lack of experience!
But I would love to know about this, cause I am very keen into "how we implement hardware usage and can control it, via our code."

@ango1994
Copy link
Contributor Author

HI @Bhardwaj-Himanshu check the RAM (Robotics Application Manager).
https://github.com/JdeRobot/RoboticsAcademy/blob/master/src/manager/manager.py
It's a new implementation of the manager more agnostic to the aplication that is launched. The RAM should implement GPU acceleration as the old manager. https://github.com/JdeRobot/RoboticsAcademy/blob/master/scripts/manager.py

@Bhardwaj-Himanshu
Copy link

Ah thanks @ango1994, now this gives me a slight of idea to atleast get on working on that!

Will give it a shot and let you know! Thanks;)

@Bhardwaj-Himanshu
Copy link

Bhardwaj-Himanshu commented Apr 8, 2023

Hi @ango1994 ,
If this issue is being still worked on, I would like to state my thinking--

https://github.com/JdeRobot/RoboticsAcademy/blob/b918ce1a73063b0b3aa9388371e33151630dec41/src/manager/manager.py#L195-L199

The highlighted lines in above codebase are from new manager.py script

So,should I try to implement the steps mentioned here below-
https://github.com/JdeRobot/RoboticsAcademy/blob/b918ce1a73063b0b3aa9388371e33151630dec41/scripts/manager.py#L66-L82

Do let me know, would be of great help.
Thanks

@pariaspe pariaspe transferred this issue from JdeRobot/RoboticsAcademy May 26, 2023
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

3 participants