Update dependencies to latest and fix torchcodec CPU loading - #60
Merged
Conversation
- Bump direct dependency floors to their latest resolved versions and regenerate uv.lock. The torch stack now resolves to torch 2.13, torchvision 0.28, torchaudio 2.11 (its latest), and torchcodec 0.15, alongside transformers 5.14, pytorch-lightning 2.6.5, mypy 2.3, ruff 0.15, pytest 9.1, wandb 0.28, and others. - Bump torchcodec 0.11 -> 0.15 (latest; supports torch >= 2.11). - Lift the numpy<2.4 cap. numba now bounds numpy transitively, so the explicit cap is unnecessary and the resolver picks the latest compatible numpy on its own. - Remove the invalid [tool.uv] torch-backend field, which is unknown to uv and emitted a TOML parse warning on every invocation. - Delete the stale autogenerated requirements.txt; uv.lock is the single source of truth for pinned versions. - CI: after uv sync, reinstall CPU-only torch/torchaudio/torchvision/ torchcodec wheels from the PyTorch CPU index and verify torchcodec's AudioDecoder imports. The PyPI torchcodec wheel links CUDA NPP (libnppicc), which is absent on CPU-only runners; the CPU wheels do not. Also bump checkout/setup-python action versions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CnieBtBKfRzKAYpc7N7hWP
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
The pedalboard 0.9.24 cp313 wheel aborts with "Fatal Python error: Illegal instruction" (SIGILL) on GitHub Actions runners, failing the build (3.13) job at import time. The cp311/cp312 wheels are fine, so this is specific to the 0.9.24 (and 0.9.23) 3.13 build. Pin back to 0.9.22, which is the version main already locks and CI validated across all three Python versions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CnieBtBKfRzKAYpc7N7hWP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://claude.ai/code/session_01CnieBtBKfRzKAYpc7N7hWP