I got the same problem too. I was able to successfully install with uv pip
instead of uv add
.
uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
From uv
's official documentation https://docs.astral.sh/uv/guides/integration/pytorch/#the-uv-pip-interface