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

RuntimeError: CUDA error: device-side assert triggered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. #70

Open
jiangyijin opened this issue Mar 17, 2024 · 0 comments

Comments

@jiangyijin
Copy link

Hello, I used two RTX 4090 graphics cards. when I run python runners/hypersim/triangulation.py --output_dir outputs/quickstart_triangulation, I encountered the following error:
Extracting colors

Computing visual neighbors... (n_neighbors = 20)
[LOG] Start 2D line detection and description (detector = deeplsd, extractor = wireframe, n_images = 98)...
100% | | 98/98 [00:32<00:00, 3.05it/s]
Loaded SuperPoint model
100% | |98/98 [00:02<00:00, 32.92it/s]
[LOG] Start matching 2D lines... (extractor = wireframe, matcher = gluestick, n_images = 98, n_neighbors = 20)
Loaded SuperPoint model
0%| | 0/98 [00:00<?, ?it/s]../aten/src/ATen/native/cuda/ScatterGatherKernel.cu:144: operator(): block: [2,0,0], thread: [96,0,0] Assertion idx_dim >= 0 && idx_dim < index_size && "index out of bounds" failed.
../aten/src/ATen/native/cuda/ScatterGatherKernel.cu:144: operator(): block: [2,0,0], thread: [98,0,0] Assertion idx_dim >= 0 && idx_dim < index_size && "index out of bounds" failed.
../aten/src/ATen/native/cuda/ScatterGatherKernel.cu:144: operator(): block: [2,0,0], thread: [100,0,0] Assertion idx_dim >= 0 && idx_dim < index_size && "index out of bounds" failed.

RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

0%| | 0/98 [00:00<?, ?it/s]

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

1 participant