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

Numba/CUDA compatible? #64

Open
blooop opened this issue Oct 2, 2019 · 5 comments
Open

Numba/CUDA compatible? #64

blooop opened this issue Oct 2, 2019 · 5 comments
Labels

Comments

@blooop
Copy link

blooop commented Oct 2, 2019

Hi,

I'm interested in running say 1000 independent IK queries on a gpu. In the readme you mention that this is a pure python library which means it theory it should work with numba relatively easily. Are there any caveats or thing I should be aware of if I'm going to try this?

Something similar to this:
https://ipython-books.github.io/58-writing-massively-parallel-code-for-nvidia-graphics-cards-gpus-with-cuda/

Thanks

@Phylliade
Copy link
Owner

Hey @blooop,

That's a good idea indeed!
There is no caveat a priori for the inference part (forward kinematics)
For the inverse kinematics, the optimization is done in scipy, out of the python loop, so it won't be done on the GPU.

FYI, there is a plan to use Jax (https://github.com/google/jax) to do the inverse kinematics on GPU

@Phylliade Phylliade reopened this Oct 11, 2019
@blooop
Copy link
Author

blooop commented Oct 11, 2019

Thanks, jax also looks very interesting.

@stale
Copy link

stale bot commented May 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 3, 2020
@Phylliade Phylliade added pinned and removed wontfix labels May 3, 2020
@benjirer
Copy link

Hey! It's been a while but is there an update on this? Would be super useful!

@Phylliade
Copy link
Owner

Let me put up on the priority list then!

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

No branches or pull requests

3 participants