nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

create rays on device when rendering

Open zmurez opened this issue 2 years ago • 2 comments

When using traj=="filename" camera_ray_bundle is generated on the cpu and then moved to the gpu which can be slow.

zmurez avatar Nov 21 '22 08:11 zmurez

I think it depends on utilization/hardware... I got no speed up when running render on a server by itself. But when running 8 copies in parallel on the server (1 per gpu), the cpu became the bottleneck and I got 10x speedup after.

zmurez avatar Nov 21 '22 19:11 zmurez

Feel free to merge

tancik avatar Nov 21 '22 19:11 tancik

Feel free to merge

I don't have merge access.

zmurez avatar Nov 22 '22 19:11 zmurez

I don't have merge access.

I merged for now. Sent you a new invite.

tancik avatar Nov 22 '22 19:11 tancik