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

Sparse Adam cuda error #72

Open
ricshaw opened this issue Dec 18, 2024 · 1 comment
Open

Sparse Adam cuda error #72

ricshaw opened this issue Dec 18, 2024 · 1 comment

Comments

@ricshaw
Copy link

ricshaw commented Dec 18, 2024

I'm getting a cuda error when using diff_gaussian_rasterization with sparse adam optimizer with cuda 12.
Without sparse adam optimizer it works just fine....

File "/home/ma-user/miniconda3/envs/gaussian_splatting/lib/python3.10/site-packages/torch/optim/optimizer.py", line 391, in wrapper
out = func(*args, **kwargs)
File "/home/ma-user/miniconda3/envs/gaussian_splatting/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/ma-user/miniconda3/envs/gaussian_splatting/lib/python3.10/site-packages/diff_gaussian_rasterization/init.py", line 263, in step
state['exp_avg'] = torch.zeros_like(param, memory_format=torch.preserve_format)
RuntimeError: CUDA error: invalid configuration argument
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.

@chenqi13814529300
Copy link

same problem

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