Skip to content

OSError: libcublas.so.11: cannot open shared object file: No such file or directory #7032

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

Closed
datumbox opened this issue Dec 12, 2022 · 1 comment

Comments

@datumbox
Copy link
Contributor

datumbox commented Dec 12, 2022

🐛 Describe the bug

Multiple cmake_* CI and unittest_linux_gpu_py3.8 jobs fail with:

OSError: libcublas.so.11: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/circleci/project/env/lib/python3.8/site-packages/torch/__init__.py", line 218, in <module>
    _load_global_deps()
  File "/home/circleci/project/env/lib/python3.8/site-packages/torch/__init__.py", line 179, in _load_global_deps
    _preload_cuda_deps()
  File "/home/circleci/project/env/lib/python3.8/site-packages/torch/__init__.py", line 159, in _preload_cuda_deps
    ctypes.CDLL(cublas_path)
UnboundLocalError: local variable 'cublas_path' referenced before assignment

Versions

Latest main

cc @seemethere

@atalman
Copy link
Contributor

atalman commented Dec 13, 2022

This should be resolved now in all environments

@atalman atalman closed this as completed Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants