Skip to content

Document CPU-only torch installation to speed up pip installs#2949

Merged
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/montreal-v1
Feb 18, 2026
Merged

Document CPU-only torch installation to speed up pip installs#2949
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/montreal-v1

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 18, 2026

pip users get CUDA torch from PyPI by default (~873 MB). Document how to pre-install torch and torchvision from PyTorch's CPU index (~200 MB) before installing the package, and the equivalent uv pyproject.toml configuration.


Note

Low Risk
Documentation-only change with no impact on runtime behavior, APIs, or security-sensitive code paths.

Overview
Updates installation.rst to document a faster/smaller install path by installing CPU-only torch/torchvision from PyTorch’s CPU wheel index before vws-python-mock, avoiding the default large CUDA-enabled PyPI download.

Adds equivalent uv pyproject.toml configuration for pinning torch and torchvision to the CPU index, plus a PyTorch reference link.

Written by Cursor Bugbot for commit 99fcbf8. This will update automatically on new commits. Configure here.

pip users get CUDA torch from PyPI by default (~873 MB). Document how to
pre-install torch and torchvision from PyTorch's CPU index (~200 MB) before
installing the package, and the equivalent uv pyproject.toml configuration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit aba2728 into main Feb 18, 2026
12 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/montreal-v1 branch February 18, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant