interTwin-eu / itwinai

Advanced AI workflows for digital twins applications in science.
https://itwinai.readthedocs.io
MIT License
15 stars 5 forks source link

Update package manager to uv #244

Open jarlsondre opened 2 weeks ago

jarlsondre commented 2 weeks ago

Update the package manager to uv

uv is a new package manager written in Rust, which is quite a bit faster than other alternatives. It is also meant to handle more things than just installing packages, such as creating python environments. Currently, our install scripts are quite messy and take a long time to run, so updating the scripts and making them conform to uv's standard would clean up our code quite a bit. In addition to this, it would most likely be a lot faster.

Suggested solution

Rewrite the scripts such as generic_torch.sh and incorporate all of this into the pyproject.toml for a more unified experience. Make sure that we are not dependent on uv, so we also have to use files that can be used with pip.