Skip to content

Upgrade torch and torchvision#289

Open
perry2of5 wants to merge 1 commit intowaybarrios:mainfrom
perry2of5:upgrade-torch-torchvision-latest-python-3-9
Open

Upgrade torch and torchvision#289
perry2of5 wants to merge 1 commit intowaybarrios:mainfrom
perry2of5:upgrade-torch-torchvision-latest-python-3-9

Conversation

@perry2of5
Copy link
Copy Markdown
Contributor

@perry2of5 perry2of5 commented Apr 11, 2026

In PR 276 it was observed the lower bound of torch was lower than pip would resolve it to. Since vllm-mlx advertises it should be run with python 3.10+, I upgraded the libraries as far as possible without compile errors. Attempting to upgrade torch to 2.9 and torchvision to 0.24, which are python 3.10+ led to dependency resolution errors so I went with the python 3.9 compatible versions listed on https://pypi.org/project/torchvision/ torch to 2.8 and torchvision to 0.21

In PR 276 it was observed the lower bound of torch was lower than pip
would resolve  it do. Since vllm-mlx advertises it should be run with
python 3.10+, I upgraded the libraries as far as possible without
compile errors. Attempting to upgrade torch to 2.9 and torchvision to
0.24 let to dependency resolution errors so I went with the python 3.9
compatible versions listed on https://pypi.org/project/torchvision/
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