fix(deps): torch from CUDA 12.4 wheel channel #35

Merged
goldstein merged 1 commit from fix/torch-cu124 into main 2026-04-18 11:02:39 +00:00
Owner

Host driver is 12.4; default pypi torch 2.11 ships cu13 wheels. /healthz was reporting ocr: fail. Route torch through download.pytorch.org/whl/cu124 via tool.uv.sources.

Host driver is 12.4; default pypi torch 2.11 ships cu13 wheels. /healthz was reporting ocr: fail. Route torch through download.pytorch.org/whl/cu124 via tool.uv.sources.
goldstein added 1 commit 2026-04-18 11:02:37 +00:00
fix(deps): pin torch to the CUDA 12.4 wheel channel
All checks were successful
tests / test (push) Successful in 3m21s
tests / test (pull_request) Successful in 3m40s
d90117807b
The default pypi torch (2.11 as of lockfile) ships cu13 wheels, which
refuse to initialise against the deploy host's NVIDIA 12.4 driver
(UserWarning: "driver on your system is too old (found version 12040)").
/healthz reported ocr: fail because Surya couldn't pick up the GPU.

Use `tool.uv.sources` to route torch through PyTorch's cu124 index.
That pulls torch 2.6.0+cu124 (still satisfies surya-ocr >= 0.9). Lock
updated. transformers downgraded to 4.57.6, triton to 3.2.0 — all
compatible with surya and each other.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
goldstein merged commit fae8c3267f into main 2026-04-18 11:02:39 +00:00
goldstein referenced this pull request from a commit 2026-04-18 11:02:40 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: goldstein/infoxtractor#35
No description provided.