Skip to content

When I run the code I get a warning about sharing CUDA tensor. #6

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

Closed
zhw-github opened this issue Nov 16, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@zhw-github
Copy link

zhw-github commented Nov 16, 2022

There is a warning when I run the code, but it does not affect the normal operation of the program.
I execute the code using the following command. python demo/run.py configs/replica/room_0.yaml.
operation result:
******* initializing first_frame: 0
initializing the first frame ...
mapping process started!
insert keyframe
******* tracking process started! *******
tracking frame: 52%|████████████████████ | 51/99 [00:51<01:02, 1.29s/it]insert keyframe
********** current num kfs: 2 **********
tracking frame: 100%|███████████████████████████████████████| 99/99 [01:41<00:00, 1.02s/it]
========== stop_mapping set ==========
******* tracking process died *******
********** post-processing 0 steps **********
******* extracting final mesh *******
[W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
********** get color from network **********
tensor(1457)
******* mapping process died *******
[W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
I wonder if the warning can be eliminated and if it has something to do with having multiple GPUs on my computer

@garylidd
Copy link
Collaborator

Thanks for pointing out, we will fix it later.

The critical problem with multiple GPUs is that they cannot efficiently access shared GPU memory. We are working on this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants