Fix CI: pin torch 2.10.0 and use torchcodec 0.10.0 from PyTorch CPU index#58
Draft
Copilot wants to merge 2 commits into
Draft
Fix CI: pin torch 2.10.0 and use torchcodec 0.10.0 from PyTorch CPU index#58Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/will-rice/denoisers/sessions/e9ba73d3-420d-4d8f-95d0-5ad40c23b09d Co-authored-by: will-rice <25072137+will-rice@users.noreply.github.com>
…index Agent-Logs-Url: https://github.com/will-rice/denoisers/sessions/97ce4363-b64e-4e60-b74d-cca174947722 Co-authored-by: will-rice <25072137+will-rice@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
will-rice
April 2, 2026 19:52
View session
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.
torchcodec 0.11.0from PyPI ships CUDA-linked.sofiles thatdlopenlibnppicc.so.13(CUDA NPP) at import time — a system library absent on GitHub Actions runners, causing all test collection to fail.Changes
torch==2.10.0,torchaudio==2.10.0,torchvision==0.25.0,torchcodec==0.10.0— at this version, thetorchcodecCPU wheel has zero CUDA shared-library dependencies (only FFmpeg + torch)[[tool.uv.index]](explicit) +[tool.uv.sources]so uv always resolvestorchcodecfromhttps://download.pytorch.org/whl/cpu, not PyPI, regardless of machine CUDA availabilityuv.lock: stale lock pinned the CUDA PyPI wheel; CI regenerates it underUV_TORCH_BACKEND: cpuwith the correct CPU-only resolutionAudioDecoderis back intransforms.py,datasets/audio.py, andtest_transforms.py