-
Notifications
You must be signed in to change notification settings - Fork 615
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
segmentation fault with cuda 11.1 #2506
Comments
Hi, |
Hi, I also get
Any idea what causes this? I'm running bare metal RTX 3090s, hence cuda 11.1 is needed. Cheers |
Hi, |
thanks Janusz, will try that & wait for the new build. |
@JanuszL If I must use CUDA 11.1, how should I fix this issue? Can I simply download the NVIDIA Video Codec SDK and then copy the .so files to /usr/local/cuda/lib64? (I am using version dali1.10) |
Hi @Bycqg, DALI relies on the CUDA minor version compatibility, so it provides cuda110 build that should cover the whole family of CUDA 11 compatible drivers and uses the latest cuda from that family (11.8). Also, the cuda110 build links statically to all the libraries and it should not have the mentioned problem. Please run DALI and let us know if it doesn't work. |
Hi @JanuszL I need to compile the DALI source code in an environment without internet access (so using Docker for compilation is not an option. Currently, I am using the nvidia/cuda:11.1.1-devel-ubuntu18.04 image for compilation). The subsequent use is to call DALI in C++ for image preprocessing on the GPU, facilitating TensorRT inference later (by the way, is there any C++ demo tutorial available? Most of the demos on the official website are in Python). Could you please recommend a DALI release version (I am using CUDA version 11.1 and TensorRT version 7.2.2.3), or can any version, whether DALI 1.38 or DALI 1.12, be compiled on CUDA 11.8 and subsequently used on CUDA 11.1? |
Hi @Bycqg,
This should work and I would recommend this path. |
I want to use DALI in a docker container which has environments below.
Framework: pytorch 1.7.0
CUDA version: 11.1
python version: 3.8.0
DALI version: nvidia-dali-cuda110 0.27.0
The code worked well when I run it with CUDA version 10.2 & without docker
But now it doesn't work with the above environments.
There are no error messages that I can get some hints for fixing it but segmentation fault (core dumped)
Only I know is there is something wrong in
pipe.build()
My code is right below.
If I set
dali_cpu=True
, it isn't terminated.Can I solve this problem?
The text was updated successfully, but these errors were encountered: