So I am trying to install torch on one of my projects and my specs are as below
Python 3.12.3 / pip latest / Poetry (version 2.0.1)/ I am on Apple M3 Max
Here is my pyproject.toml
torch = { version = "^2.5.1+cpu", source = "pytorch-cpu" }
torchvision = { version = "^0.20.1+cpu", source = "pytorch-cpu" }
torchaudio = { version = "^2.5.1+cpu", source = "pytorch-cpu" }
[[tool.poetry.source]]
name = "pytorch-cpu"
url = ";
priority = "explicit"
Adding a screenshot for more context
So I am trying to install torch on one of my projects and my specs are as below
Python 3.12.3 / pip latest / Poetry (version 2.0.1)/ I am on Apple M3 Max
Here is my pyproject.toml
torch = { version = "^2.5.1+cpu", source = "pytorch-cpu" }
torchvision = { version = "^0.20.1+cpu", source = "pytorch-cpu" }
torchaudio = { version = "^2.5.1+cpu", source = "pytorch-cpu" }
[[tool.poetry.source]]
name = "pytorch-cpu"
url = "https://download.pytorch./whl/cpu"
priority = "explicit"
Adding a screenshot for more context
Share Improve this question asked Jan 29 at 17:50 Olsi HoxhaOlsi Hoxha 4043 silver badges13 bronze badges 2- This may be useful github/python-poetry/poetry/issues/6409 – Karl Commented Jan 29 at 18:11
- @Karl I am doing the exact same thing as in the Option 2 of that and for some reason it is still failing. – Olsi Hoxha Commented Jan 29 at 18:18
1 Answer
Reset to default 1There is no version 2.5.1+cpu of torch available for macos.