Skip to content

Commit 96ae4bc

Browse files
miclegrtrade6-bot
andauthored
docs(cli): Document how to install CPU only (#75)
* Document how to install cpu only * newline --------- Co-authored-by: michele gregori <[email protected]>
1 parent a2f27fd commit 96ae4bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/cli.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ pipx install vectorcode
4848
in your shell. To specify a particular version of Python, use the `--python`
4949
flag. For example, `pipx install vectorcode --python python3.11`. For hardware
5050
accelerated embedding, refer to [the relevant section](#hardware-acceleration).
51+
If you want a cpu-only installation without CUDA dependences required by
52+
default by pytorch, run:
53+
```bash
54+
PIP_INDEX_URL="https://download.pytorch.org/whl/cpu" PIP_EXTRA_INDEX_URL="https://pypi.org/simple" pipx install vectorcode
55+
```
56+
5157
If you need to install multiple dependency group (for [LSP](#lsp-mode) or
5258
[MCP](#mcp-server)), you can use the following syntax:
5359
```bash

0 commit comments

Comments
 (0)