From 8e856f1bf751b7fba9d573a5ec72f7bf92f5779e Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Thu, 14 Mar 2024 15:24:38 +0100 Subject: [PATCH] Update readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 5ccffc35..e30e1bd6 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,18 @@ pre-commit install pre-commit run -a ``` +**Adding dependencies (temporary)** + +Right now, for the CI to work, whenever a new dependency is added it needs to be also added to the cpu env, eg: + +``` +# Run in this directory, adds the package to the main env with cuda +poetry add some-package + +# Adds the same package to the cpu env +cd .github/poetry/cpu && poetry add some-package +``` + **Tests** Install [git lfs](https://git-lfs.com/) to retrieve test artifacts (if you don't have it already).