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

WebGL garbage collection #63

Open
dontcallmedom opened this issue Aug 19, 2020 · 1 comment
Open

WebGL garbage collection #63

dontcallmedom opened this issue Aug 19, 2020 · 1 comment
Labels
Developer's Perspective Machine Learning Experiences on the Web: A Developer's Perspective Discussion topic Topic discussed at the workshop

Comments

@dontcallmedom
Copy link
Member

dontcallmedom commented Aug 19, 2020

@jasonmayes' talk and @annxingyuan's talk mention the challenge of garbage-collecting with the WebGL API in the context of providing a library on top of WebGL-managed resources.

@grorg is there a well-known approach to deal with this, or ongoing work in WebGL land to address this?
Is this also an issue in the context of WebGPU?

@jasonmayes
Copy link

I mentioned my thoughts here on the other thread #66 related to WebGPU. In essence most JS devs do not think about memory cleanup as the JS garbage collector works so well, but as ML becomes more popular these sorts of leaks will certainly grow. This can help not only ML model execution from springing memory leaks but also folk working with graphics generally speaking too.

Adding @pyu10055 @dsmilkov @nsthorat @annxingyuan @tafsiri @lina128 for any thoughts related to this topic too (TF.js team) and for visibility.

@anssiko anssiko added the Developer's Perspective Machine Learning Experiences on the Web: A Developer's Perspective label Sep 3, 2020
@anssiko anssiko added this to the 2020-09-23 Live Session #3 milestone Sep 21, 2020
@dontcallmedom dontcallmedom added the Discussion topic Topic discussed at the workshop label Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer's Perspective Machine Learning Experiences on the Web: A Developer's Perspective Discussion topic Topic discussed at the workshop
Projects
None yet
Development

No branches or pull requests

3 participants