How do system requirements work? #301
-
I'm a bit confused on how the When I specify: [system-requirements]
cuda = "11" I assume this means CUDA 11 is required by this environment? How could I specify any version greater than 11? It seems |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
System requirements basically configure the reference machine for your project. So any system that has at least those specs will work for your project. In essence, it sets the virtual package When you run any task with pixi, it will check if the specs from your system are at least equal to or higher than the system requirements specified in your pixi.toml. So with the specification you mentioned above, if I don't have cuda or a version lower than 11, I wont be able to run your project. If I have cuda 11 or higher, I'm guaranteed that your project will run. |
Beta Was this translation helpful? Give feedback.
-
Link to the new documentation on system requirements for future readers: https://prefix.dev/docs/pixi/configuration#the-system-requirements-table |
Beta Was this translation helpful? Give feedback.
System requirements basically configure the reference machine for your project. So any system that has at least those specs will work for your project. In essence, it sets the virtual package
__cuda
to__cuda=11=0
when you solve an environment. So this means that if a package requires__cuda >=11.0
it is installable. If a package requires__cuda>=12
it wont be installable.When you run any task with pixi, it will check if the specs from your system are at least equal to or higher than the system requirements specified in your pixi.toml. So with the specification you mentioned above, if I don't have cuda or a version lower than 11, I wont be able to run your project. If I have cuda 11 or h…