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

An error occurs when running splatfacto in the nerfstduio environment of docker:RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call #3518

Open
luanyu3 opened this issue Nov 10, 2024 · 1 comment

Comments

@luanyu3
Copy link

luanyu3 commented Nov 10, 2024

No description provided.

@luanyu3 luanyu3 changed the title 在docker的nerfstduio环境中运行splatfacto报错RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call An error occurs when running splatfacto in the nerfstduio environment of docker:RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call Nov 10, 2024
@SmthFail
Copy link

@luanyu3 I have this error too. I run docker on different systems.
On NVIDIA RTX 2080 - work,
On NVIDIA A100 - work,
On NVIDIA RTX 4090 - didn't work,
On NVIDIA V100 - didn't work.

After one week of research and rebuilds docker only find this solution: use precompiled libs from gsplat.
To achieve this change 80 line in Dockerfile from this

pip install --no-cache-dir git+https://github.com/nerfstudio-project/gsplat.git@v${GSPLAT_VERSION} && \

to this

pip install --no-cache-dir ninja 'numpy<2.0.0' jaxtyping rich && \
pip install --no-cache-dir gsplat --index-url https://docs.gsplat.studio/whl/pt21cu118 && \

then rebuild docker image. After this my docker image work on all platform without problems. Also it decrease docker image build time

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