-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Revert "[CPU]Update CPU PyTorch to 2.9.0 (#29589)" #29647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit 35657bc.
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.
Code Review
This pull request reverts the update of CPU PyTorch to version 2.9.0, addressing a CI failure. The changes involve downgrading torch, torchaudio, and torchvision in the relevant requirement files and the CPU Dockerfile. The changes look correct and align with the goal of the revert. I have provided one suggestion in docker/Dockerfile.cpu to make the script more robust and concise.
| sed -i 's/^torch==.*/torch==2.8.0/g' requirements/cpu-test.in && \ | ||
| sed -i 's/torchaudio.*/torchaudio/g' requirements/cpu-test.in && \ | ||
| sed -i 's/torchvision.*/torchvision/g' requirements/cpu-test.in && \ |
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.
The sed commands for torchaudio and torchvision are not anchored to the start of the line, making them potentially fragile. They could unintentionally modify other parts of the file, such as comments.
For improved robustness and conciseness, you can combine all three sed operations into a single command. This ensures each substitution is anchored to the beginning of the line (^) and is more specific about what it replaces.
sed -i 's/^torch==.*/torch==2.8.0/;s/^torchaudio==.*/torchaudio/;s/^torchvision==.*/torchvision/' requirements/cpu-test.in && \
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
|
The tests passed |
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk> Signed-off-by: Hashem Hashemi <hashem.hashemi@amd.com>
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk> Signed-off-by: Xingyu Liu <charlotteliu12x@gmail.com>
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk> Signed-off-by: Somoku <linsh0@protonmail.com>
…project#29647) Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
This reverts commit 35657bc.
Purpose
That PR is causing https://buildkite.com/vllm/ci/builds/40985/steps/canvas?jid=019ac81a-0a89-4dca-96dc-c331d4c7a4cf#019ac81a-0a89-4dca-96dc-c331d4c7a4cf to fail
Separately, fix a pre-commit error on main caused by #29594
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.