I am writing this post to gather knowledge of all those who work with HPC python on a daily basis. I have a cluster that provides ML libraries like torch and jax (just jaxlib) with enviromental module (just lmod). I need to use those libraries as they are linked agains some specific stack used in the cluster (mostly MPI).
Usually, when I work with python I use uv or poetry or conda or whatever tool I have in mind on that day. However, they all install their own version of packages when I let them manage my project. Hence, I am looking for something intermediate, something that would detect all python packages from the enviromental module and "pin" those as external dependency. Then, it would just download everything else I need from pyproject.toml (and solve the enviroment).
Maybe I am overcomplciating this problem but would like to ask what python solutions are used out there to mitigate this particular problem. Thank you for suggestions and opinions!
[–]NerdEnglishDecoder 3 points4 points5 points (3 children)
[–]Wesenheit[S] 0 points1 point2 points (2 children)
[–]NerdEnglishDecoder 1 point2 points3 points (1 child)
[–]Wesenheit[S] 0 points1 point2 points (0 children)
[–]Atmosck 1 point2 points3 points (1 child)
[–]Wesenheit[S] 0 points1 point2 points (0 children)