what would equivalent of this conda in pyproject.toml or cli #1664
Unanswered
pvbhanuteja
asked this question in
Q&A
Replies: 1 comment
-
The equivalent would be:
Resulting in (after removing not required fields): [project]
name = "torch-test"
requires-python = ">= 3.11"
[tool.pixi.project]
channels = ["conda-forge", "pytorch"]
platforms = ["linux-64"]
[tool.pixi.dependencies]
pytorch = { version = ">=2.4.0,<3", channel = "pytorch" }
torchvision = { version = ">=0.19.0,<0.20", channel = "pytorch" }
torchaudio = { version = ">=2.4.0,<3", channel = "pytorch" }
cpuonly = { version = ">=2.0,<3", channel = "pytorch" }
Note We define the channels = [ "pytorch", "conda-forge"] Notice that now more packages are pulled from the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As heading as
conda install pytorch torchvision torchaudio cpuonly -c pytorch
how would the above translate into pyproject.toml or cli? There are a lot of GPU examples but not for CPU.
Beta Was this translation helpful? Give feedback.
All reactions