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

Testing of clustering fails on ubuntu due to CUDA issue. #60

Open
meghdadFar opened this issue May 28, 2023 · 0 comments
Open

Testing of clustering fails on ubuntu due to CUDA issue. #60

meghdadFar opened this issue May 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@meghdadFar
Copy link
Owner

meghdadFar commented May 28, 2023

Right now clustering tests, in particular, tests/clustering/test_clustering.py fails in GitHub Actions, throwing the following error:

lib/python3.10/site-packages/torch/__init__.py:168: in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/ctypes/__init__.py:374: in __init__
    self._handle = _dlopen(self._name, mode)
E   OSError: libcurand.so.10: cannot open shared object file: No such file or directory

Since the tests run without any problem on Mac OS 11.7.6, this seems to be a CUDA issue on ubuntu-latest (which is the machine on which the Python environment is created and the application is being tested).

cuda is one of the dependencies of torch and torch is a dependency of sentence-transformers.

@meghdadFar meghdadFar added the bug Something isn't working label May 28, 2023
@meghdadFar meghdadFar self-assigned this May 29, 2023
@meghdadFar meghdadFar changed the title Testing of clustering fails due to CUDA issue. Testing of clustering fails on ubuntu due to CUDA issue. May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant