-
Notifications
You must be signed in to change notification settings - Fork 194
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 Error in LidarCenterNet Import #264
Comments
You probably have the wrong version of mmcv or torchscatter installed. Those two are also dependent of pytorch and cuda so if you change the versions of these two you need to change their versions as well. I don't know if the code will work without changes if you upgrade the pytorch, mmcv, cuda versions etc. |
Thank you, I look forward to trying this out. @Kait0 |
I'm experiencing a compatibility issue between CUDA and PyTorch. My GPU supports CUDA 12.5 (screenshot 1: nvidia-smi output). Following the installation guide (screenshot 2: CUDA Toolkit 12.5.0 instructions), I successfully installed CUDA 12.5 on WSL (Ubuntu) and verified its availability using python -c "import torch; print(torch.cuda.is_available())". |
The support that is shown with nvidia-smi means support up to cuda 12.5. using older versions should be fine. |
Never seen this issue before. You will need to debug / google. |
pytorch does not require mmcv. mmcv depends on pytorch. |
When running train.py with python -m pdb, a segmentation fault error occurs upon importing LidarCenterNet from model.py. The error arises after successfully importing PyTorch and other dependencies. This suggests a potential issue within the LidarCenterNet module or its interactions with PyTorch/CUDA. Steps to reproduce:
Run python -m pdb train.py with specified arguments.
Observe segmentation fault error at LidarCenterNet import.
Environment:
PyTorch version: 1.13.1+cu117
CUDA version: 12.0 (V12.0.140)
OS: Ubuntu (WSL2) 5.15.167.4-microsoft-standard
Expected Behavior:
Successful execution of train.py without segmentation fault errors.
Actual Behavior:
Segmentation fault error upon importing LidarCenterNet.
The result of debugging and the error snip are attached.
Can anyone help?
Thanks in advance
The text was updated successfully, but these errors were encountered: