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

check_ray_intersection_with_unit_cube bottlenecking CPU #69

Closed
ruoshiliu opened this issue Dec 14, 2021 · 2 comments
Closed

check_ray_intersection_with_unit_cube bottlenecking CPU #69

ruoshiliu opened this issue Dec 14, 2021 · 2 comments

Comments

@ruoshiliu
Copy link

Hi, I was running your code on a custom dataset and I noticed the GPU utilization rate is pretty low due to the method
check_ray_intersection_with_unit_cube bottlenecking the CPU. First of all, do you notice this during your experiments? What's a typical GPU utilization rate for you? If this is the case for you as well, I was wondering if setting use_cube_intersection: false and using depth_range will potentially hurt the model performance?

Would really appreciate if you can share some insights on this. Thanks in advanced!

@m-niemeyer
Copy link
Collaborator

Hi @ruoshiliu , yeah we run the above-mentioned on CPU - developing a custom CUDA kernel for this will for sure speed things up quite a bit! If you choose an appropriate depth_range, you can also drop the use_cube_intersection function; we used it such that no tuning of range is required. Best of luck for your research !

@ruoshiliu
Copy link
Author

That makes sense. Thank you for your suggestion!

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