-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
sentence-transformers 2.2.2 pulling in nvidia packages #2637
Comments
Hello! Yes, these are requirements by the Note that if you don't have a GPU, then you may want to install
|
Thank you for your reply! |
If you're using the CPU only, then you won't need those CUDA packages. You can install it with:
(assuming that you're on Linux).
|
So at the moment, I have been running two pip commands, the first was installing a load of dependencies in a
Maybe the order of installing sentence-transfromers in the first requirements.txt and then installing torch was pulling the 2.3.0 (with nvidia) version of torch along as well? |
If I do
So not sure why/how we are getting the nvidia packages in our scans? |
That is rather odd. Perhaps you can
|
If I run I also think if I was pulling them cuda files, the docker image would be a lot larger (its only 2.5GB ish total, think with CUDA files it would be 8GB+).
|
For extra info I also installed
|
I think that looks fine, then! In fact, if you increase from
|
Do you happen to know if theres a check I can make to just completely know if them nvidia***.whl files got installed? I had a look in /usr/bin and /usr/lib/python3.9/site-packages and didn't find anything, also running |
Searching for |
I had a look and it found a load of related files, from torch, torchgen, and transformers... most of the files are like: I think these are just source code files from these packages tho, not the Nvidia Propriety Software |
I am using sentence-transformers-2.2.2.tar.gz while it pulls the following nvidia packages
nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl
nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl
nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl
nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl
nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl
nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl
nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl
nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl
nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl
nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl
nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl
When I search them online, it shows they are under license: NVIDIA Proprietary Software.
Can I freely use sentence-transformers-2.2.2.tar.gz?
Thanks!
The text was updated successfully, but these errors were encountered: