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 Jan 13, 2025
1 parent 861dd9e commit 48f6d0f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dependencies/gcc-openmpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ python3 -m pip install -U -r src/python/impactx/dashboard/requirements.txt
python3 -m pip install -U -r examples/requirements.txt
python3 -m pip install -U -r tests/python/requirements.txt

# extra tests
python3 -m pip install -U -r examples/requirements_torch_cpu.txt
python3 -m pip install -U openPMD-validator
2 changes: 2 additions & 0 deletions .github/workflows/dependencies/gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ python3 -m pip install -U -r src/python/impactx/dashboard/requirements.txt
python3 -m pip install -U -r examples/requirements.txt
python3 -m pip install -U -r tests/python/requirements.txt

# extra tests
python3 -m pip install -U -r examples/requirements_torch_cpu.txt
python3 -m pip install -U openPMD-validator
6 changes: 6 additions & 0 deletions examples/requirements_torch_cpu.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 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/
--extra-index-url https://download.pytorch.org/whl/cpu
torch

0 comments on commit 48f6d0f

Please sign in to comment.