Skip to content

Commit

Permalink
Merge pull request #490 from ModECI/feature/update_onnx
Browse files Browse the repository at this point in the history
To v0.4.9; Add support for torch>=2, torchvision>=0.15.2, onnx>=1.14
  • Loading branch information
pgleeson authored Sep 18, 2023
2 parents c147789 + 1011825 commit fca26bf
Show file tree
Hide file tree
Showing 80 changed files with 4,722 additions and 4,208 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10"]
python-version: [ "3.8", "3.10", "3.11"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down Expand Up @@ -62,48 +62,37 @@ jobs:
- name: Install most optional dependencies
run: |
python -m pip install .[all_except_psyneulink]
python -m pip install .[optional]
- name: Version info for optional installed packages
run: |
pip list
- name: Install graphviz
if: ${{ matrix.runs-on != 'windows-latest' }}
run: |
if [[ ${{ matrix.runs-on }} == *"macos"* ]]; then brew install graphviz ; fi
if [[ ${{ matrix.runs-on }} == *"ubuntu"* ]]; then sudo apt install graphviz ; fi
uses: ts-graphviz/setup-graphviz@v1

- name: Test interface ACT-R
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
run: |
python -m pytest -v -m "actr" tests/
- name: Test interface PyTorch
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
run: |
python -m pytest -v -m "pytorch" tests/
- name: Test interface NeuroML
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
run: |
python -m pip install .[neuroml]
python -m pytest -v -m "neuroml" tests/
- name: Test interface TensorFlow linux/mac
if: ${{ matrix.runs-on != 'windows-latest' }}
run: |
dot -V
python -m pytest -v -m "tensorflow" tests/
- name: Test interface TensorFlow windows
if: ${{ matrix.python-version != '3.10' && matrix.runs-on == 'windows-latest' }}
- name: Test interface TensorFlow
if: ${{ matrix.python-version != '3.11'}}
run: |
choco install graphviz
python -m pip install .[tensorflow]
dot -V
python -m pytest -v -m "tensorflow" tests/
- name: Test interface PsyNeuLink
if: ${{ matrix.python-version != '3.10' }}
if: ${{ matrix.python-version != '3.11'}}
run: |
python -m pip install .[psyneulink]
python -m pytest -v -m "psyneulink" tests/
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,4 @@ examples/TensorFlow/Keras/keras_to_MDF
/examples/TensorFlow/Keras/MNIST/keras_to_MDF
/examples/TensorFlow/Keras/MNIST/keras_to_MDF.1
/examples/TensorFlow/Keras/IRIS/keras_to_MDF.1
/checkout_pngs.sh
106 changes: 53 additions & 53 deletions docs/MDF_function_specifications.json

Large diffs are not rendered by default.

1,047 changes: 519 additions & 528 deletions docs/MDF_function_specifications.md

Large diffs are not rendered by default.

Loading

0 comments on commit fca26bf

Please sign in to comment.