-
Hi, did a Folder Is there are way to make it a bit lighter? ;) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
This is most likely because Torch packs a bunch of Nvidia dependencies. They provide hardware acceleration for embedding/reranking models on supported GPUs. If you don't have cuda or is okay with the CPU-only performance for embedding and reranking, changing the index URL for torch so that it installs the cpu-only build should help. You can find the corresponding index URL on torch's website. The docs contain instructions to do this for |
Beta Was this translation helpful? Give feedback.
-
I decided to change the suggested installation method to |
Beta Was this translation helpful? Give feedback.
This is most likely because Torch packs a bunch of Nvidia dependencies. They provide hardware acceleration for embedding/reranking models on supported GPUs. If you don't have cuda or is okay with the CPU-only performance for embedding and reranking, changing the index URL for torch so that it installs the cpu-only build should help. You can find the corresponding index URL on torch's website.
The docs contain instructions to do this for
pipx
, but I'm not quite sure whether the same env vars work for uv.