Skip to content

fix: strip heavy ML/CUDA deps for lightweight worker installs#25

Merged
abrichr merged 2 commits intomainfrom
fix/uv-sync-lightweight
Mar 19, 2026
Merged

fix: strip heavy ML/CUDA deps for lightweight worker installs#25
abrichr merged 2 commits intomainfrom
fix/uv-sync-lightweight

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 19, 2026

Strips PyTorch, CUDA, transformers etc from pyproject.toml before uv sync. 6 new tests.

abrichr and others added 2 commits March 19, 2026 11:05
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Worker fails on repos with CUDA/PyTorch optional deps (500MB+).
Strips known heavy packages from [dependencies] and removes
[project.optional-dependencies] entirely. Combined with --no-dev
--inexact, the worker installs only what's needed to run tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abrichr abrichr merged commit 1db5df3 into main Mar 19, 2026
1 check passed
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