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

Code corrupted silently when import decord before torch #293

Open
zhangbw17 opened this issue Mar 13, 2024 · 2 comments
Open

Code corrupted silently when import decord before torch #293

zhangbw17 opened this issue Mar 13, 2024 · 2 comments

Comments

@zhangbw17
Copy link

This issue occurs when I import decord before torch, and then place nn.Module on the GPU.

import decord
import torch

torch.nn.Linear(3, 3).cuda()

It corrupted silently using python3 debug.py, and reported Segmentation fault (core dumped) when running in terminal.
Instead, the following code runs well,

import torch
import decord

torch.nn.Linear(3, 3).cuda()
@YinAoXiong
Copy link

same problem

@tongda
Copy link

tongda commented May 13, 2024

same with me. versions:

python: 3.10.14
decord: 0.6.0
pytorch: 2.3.0

and cuda related libs installed by pip:
nvidia-cublas-cu12 12.1.3.1
nvidia-cuda-cupti-cu12 12.1.105
nvidia-cuda-nvrtc-cu12 12.1.105
nvidia-cuda-runtime-cu12 12.1.105
nvidia-cudnn-cu12 8.9.2.26
nvidia-cufft-cu12 11.0.2.54
nvidia-curand-cu12 10.3.2.106
nvidia-cusolver-cu12 11.4.5.107
nvidia-cusparse-cu12 12.1.0.106
nvidia-nccl-cu12 2.20.5
nvidia-nvjitlink-cu12 12.4.127
nvidia-nvtx-cu12 12.1.105

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

3 participants