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

Reduce memory consumption by gathering a subset of rays earlier #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sirykd
Copy link

@sirykd sirykd commented Jun 14, 2022

Hi,
First of all, great work! Enjoyed your paper, project page, and code (neat options parser, btw!).

I'd like to contribute a small change which makes GPU memory consumption wrt the output image size scale much nicer.
I encountered the issue when I tried fitting some pretty big images, which resulted in OOM.

Here you can see a before/after comparison of GPU% usage on a Tesla T4 for the "ship" scene:

Main This PR
400x400 30.43% 24.98%
800x800 55.78% 28.67%

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

Successfully merging this pull request may close these issues.

1 participant