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
in-GPU-memory interoperability with Machine Learning frameworks? #684
Comments
Thank you @szabolcsdombi. By the way, @jakevdp responded to this question on the Jax end here:
Perhaps moderngl could be enhanced to support a |
Hey, I look into that, i guess we support it through the external buffer and external texture options. But I first have to verify |
Thank you @szabolcsdombi, this would be very cool if it can work. |
Just one additional comment from @jakevdp:
|
Hi @szabolcsdombi, just curious if you had a chance to look at this. I'd also be willing to look into it, but would be interested in your intuitions. |
Discussed in https://github.com/moderngl/moderngl/discussions/682
Originally posted by hrbigelow March 30, 2024
I am interested in using both moderngl and jax in an interactive application - the moderngl is needed to support displaying images and perhaps also interacting with a windowing system to allow the user to annotate them in various ways.
But in addition to this I would like to use Jax to do other processing on the image data.
I know that I can take the route of:
Texture
But, I wondered if there's any way to achieve this flow without involving system memory?
Thanks in advance!
The text was updated successfully, but these errors were encountered: