Skip to content

Chore: Install CPU torch wheels on Windows and Linux - #139

Merged
b-re-w merged 1 commit into
developfrom
work/cpu-wheels
Oct 3, 2026
Merged

b-re-w merged 1 commit into
developfrom
work/cpu-wheels

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 3, 2026

Copy link
Copy Markdown
Member

Decided with the team lead. [tool.uv.sources]: torch from https://download.pytorch.org/whl/cpu on Windows and Linux (marker), PyPI default on macOS; the cu128 index is gone (CUDA → M4 cuda extra). uv lock resolves torch 2.14.1+cpu (CPU index) and 2.14.1 (PyPI, macOS). AGENTS §15 updated; §16 notes core.fileMode=false and git update-index --chmod=+x.

Closes #138

The engine runs on CPU, but Windows took torch from the CUDA 12.8 index
and Linux took PyPI's CUDA build: several GB of downloads with no use.
Both now use the PyTorch CPU index; macOS keeps the PyPI default. CUDA
returns in M4 as a cuda extra. AGENTS.md also notes that executable bits
must be set with git update-index --chmod=+x (core.fileMode=false).
@b-re-w
b-re-w merged commit af08380 into develop Oct 3, 2026
4 checks passed
@b-re-w
b-re-w deleted the work/cpu-wheels branch October 3, 2026 10:20
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