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

RuntimeError: cublas runtime error(gpgpu-sim with pytorch) #284

Open
Wen-Tian-Pineapple opened this issue Oct 27, 2023 · 1 comment
Open

Comments

@Wen-Tian-Pineapple
Copy link

Hi, I'm having issue with gpgpu-sim with pytorch when testing mnist program.
I use shared library when building pytorch :libcudnn.so libcublas.so
And when mnist program is trying to call "nn.linear" function, it gives me this error:

RuntimeError: cublas runtime error : library not initialized at /home/user/pytorch-gpgpu-sim/aten/src/THC/THCGeneral.cpp:333

Anyone have any idea ho to bypass this issue?

Set up:
GPGPUSIM version 4.2.0
GCC: 5.4
CUDA: 8.0.61
CUDNN: 7.1.4
PYTORCH_BIN: /home/wentian/.local/lib/python2.7/site-packages/torch/lib/libcaffe2_gpu.so

@mattsinc
Copy link

I am unfamiliar with this error, but would strongly encourage you to use Accel-Sim instead, which uses GPGPU-Sim in general, but has much better support for library code like this.

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