Skip to content

uv tool install almost 6 GB? #151

Closed Answered by Davidyz
deas asked this question in Q&A
May 20, 2025 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@deas
Comment options

@Davidyz
Comment options

Answer selected by deas
Comment options

You must be logged in to vote
8 replies
@Davidyz
Comment options

@deas
Comment options

@Davidyz
Comment options

@deas
Comment options

@Davidyz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants