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

Memory usage optimization #13

Open
bloom256 opened this issue Jun 4, 2024 · 2 comments
Open

Memory usage optimization #13

bloom256 opened this issue Jun 4, 2024 · 2 comments

Comments

@bloom256
Copy link

bloom256 commented Jun 4, 2024

Hello Oliver! Thank you for your work.
Are there any plans to improve memory efficiency in your implementation? All Gaussians3D fields are float32 now, but float16 is probably sufficient for many of them. If at least the SH coefficients became float16, it would significantly reduce memory usage because there are 48 of them. Positions, radii, opacity and rotations are also good candidates in my opinion. Of course, this can be optional, as done with depth.

@bloom256
Copy link
Author

I apologize if my previous message was unclear. After some tests, I've found that "rotation," "log_scaling," and "alpha_logit" can be converted to float16 without issues. However, converting "feature" or "position" to float16 causes crashes.

I believe making "feature" field float16 could greatly improve memory efficiency. Do you have any plans for this, or could you provide guidance on how to achieve it?

Thank you again for your amazing work!

@oliver-batchelor
Copy link
Contributor

oliver-batchelor commented Jun 13, 2024 via email

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

2 participants