Skip to content

Commit

Permalink
CI: Add Extra Example Requirements (CPU)
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed May 23, 2024
1 parent 926bedf commit b9e263c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dependencies/gcc-openmpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ python3 -m pip install -U cmake pytest
python3 -m pip install -U -r requirements_mpi.txt
python3 -m pip install -U -r examples/requirements.txt

python3 -m pip install -U openPMD-validator
# extra tests
python3 -m pip install -U -r examples/requirements_extra.txt
3 changes: 2 additions & 1 deletion .github/workflows/dependencies/gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ python3 -m pip install -U cmake pytest
python3 -m pip install -U -r requirements.txt
python3 -m pip install -U -r examples/requirements.txt

python3 -m pip install -U openPMD-validator
# extra tests
python3 -m pip install -U -r examples/requirements_extra.txt
10 changes: 10 additions & 0 deletions examples/requirements_extra.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This is for CPU CI tests with extra requirements.
#
# For PyTorch, see alternative packages, e.g., for GPU here:
# https://pytorch.org/get-started/locally/
-i https://download.pytorch.org/whl/cpu

-r requirements.txt

openPMD-validator
torch

0 comments on commit b9e263c

Please sign in to comment.