My pixi success story #507
Replies: 3 comments
-
|
@Bernd-Vogelgesang Thanks for sharing your success story. Installing QGIS, GeoAI, and Pytorch GPU is always a tricky issue due to the hundreds of dependencies involved. It gets even more tricky after adding deepforest due to its transformers version contraint weecology/DeepForest#1291. Hopefully, after the transformer constraint is lifted, it will be a bit easier to install. |
Beta Was this translation helpful? Give feedback.
-
|
@Bernd-Vogelgesang I was also having issues with package conflicts when trying to enable GPU processing. Thank you for sharing! This was very helpful! |
Beta Was this translation helpful? Give feedback.
-
|
I just released a new video tutorial on installing deepforest and the GeoAI QGIS Plugin: https://youtu.be/23Su8J6R4Cw |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First, thanks a lot for this amazing project and thanks for using pixi!
I just recently stumbled upon pixi and as a complete noob (my friends would say otherwise, but what do they know) I am so happy to see the light at the end of python dependency hell.
Unfortunately the provided recipe for the toml did not work for me, so I had to fiddle around a lot with the configuration.
So, for others who may run as well into trouble as for myself as a reference after I forgot everything I did, I will post my steps:
create a folder geoai, open terminal in the folder
pixi initopen the newly created pixi.toml in an editor
Only insert the section for CUDA (in my case 13 and on Linux) and the python version:
Save the toml
In the command line , I started with adding deepforest, because this refused to install beforhand under any circumstances:
pixi add "deepforest>=2.0.0"then
pixi add "pytorch-gpu>=2.7.1,<3"Now, that these steps went through without any hickups, I just added the other components without any version numbers:
Finally
pixi installSo, my toml now looks like this:
In a nutshell: Only add really needed version requirements to the toml like CUDA and and python version, and then let pixi find the fitting packages by itself.
Maybe this is not how you should work with pixi, and I get the concept wrong, but it worked!
Beta Was this translation helpful? Give feedback.
All reactions