-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marton Havasi
committed
Dec 11, 2024
1 parent
1f23369
commit 6e35658
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 |