Skip to content

Commit

Permalink
gpu runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Marton Havasi committed Dec 11, 2024
1 parent 1f23369 commit 6e35658
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/notebooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: push

jobs:
run-notebooks:
runs-on: ubuntu-20.04
runs-on: 4-core-ubuntu-gpu-t4
steps:
- uses: actions/checkout@v2
- uses: mamba-org/[email protected]
Expand All @@ -19,14 +19,8 @@ jobs:
- name: Run notebooks
shell: bash -l {0}
run: |
set +e
set -e
export PYTHONPATH=${PWD}:$PYTHONPATH
cd examples/
python -m flow_matching "import flow_matching; print('flow_matching module imported successfully')"
python -c "import flow_matching; print('flow_matching module imported successfully')"
python -c "import sys; print(sys.path)"
cd ..
for file in examples/*.ipynb; do
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.timeout=300 "$file"
done

0 comments on commit 6e35658

Please sign in to comment.