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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
torchaudio==2.4.0+cu121andtorchvision==0.19.0are only compatible withtorch==2.4.x; they link against that specific version of torch's C++ ABI. After this bump totorch==2.12.0, importing either package will raise aRuntimeErrorabout a torch version mismatch at startup. The CUDA suffix was also dropped from the new torch pin (no+cu12x), which may mean a different CUDA variant or the CPU wheel — either way, the companion packages still expect CUDA 12.1 binaries. To align,torchaudioandtorchvisionshould be bumped to their respective2.12.0and0.22.0(or whatever the matching release is) compatible versions, andtriton==3.0.0(which corresponds to torch 2.4.x) likely needs updating as well.Prompt To Fix With AI