Python Kernel Crashing with GPU support #285
-
Hello, I am trying to run the tutorial example Ray tracing part 1 using GPU support in the docker container. I see that the Python kernel crashes as soon as I try to load the scene. But everything works fine when using the CPU to run the code. Did anyone face this problem while running it? Can someone help us with this? We pretty much used the DOCKERFILE and Makefile provided in the repository and haven't changed any Python versions while running the sample codes. What have I tried?: We tried to see if this issue persists while running other code samples. So, we tried running the Realistic Multiuser MIMO channel code with GPU support, and it worked perfectly. We ensured that it ran on GPU by observing that the GPU utilization has increased when running with GPU support. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I'm not a Sionna developer, but here is my basic advice: First, check if tensorflow detects your GPU: In my experience, I had a hard time installing a compatible version of CUDA and CUDNNN and making everything compatible within my system, but in the end, everything works fine and it's worth it. Don't hesitate and keep going. |
Beta Was this translation helpful? Give feedback.
-
Hello @manideepabc, Could you please share any error message or stack trace that you can see in the terminal when the crash occurs? There were two new releases of Mitsuba last week, there might be compatibility issues. Could you try again by installing either:
or
|
Beta Was this translation helpful? Give feedback.
-
Hello @merlinND . |
Beta Was this translation helpful? Give feedback.
Hello @merlinND .
Thanks for getting back. Some of my colleagues helped me fix this issue.
Looks like the problem is with the NVIDIA Optix library using the GPUs. The fix is to add
RUN ln -s /usr/lib/x86_64-linux-gnu/libcuda.so.1 /usr/lib/libcuda.so
at the end of the Dockerfile