Skip to content

Commit fca26bf

Browse files
authored
Merge pull request #490 from ModECI/feature/update_onnx
To v0.4.9; Add support for torch>=2, torchvision>=0.15.2, onnx>=1.14
2 parents c147789 + 1011825 commit fca26bf

File tree

80 files changed

+4722
-4208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4722
-4208
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: [ "3.8", "3.9", "3.10"]
30+
python-version: [ "3.8", "3.10", "3.11"]
3131
runs-on: [ubuntu-latest, macos-latest, windows-latest]
3232

3333
steps:
@@ -62,48 +62,37 @@ jobs:
6262
6363
- name: Install most optional dependencies
6464
run: |
65-
python -m pip install .[all_except_psyneulink]
65+
python -m pip install .[optional]
6666
6767
- name: Version info for optional installed packages
6868
run: |
6969
pip list
7070
7171
- name: Install graphviz
72-
if: ${{ matrix.runs-on != 'windows-latest' }}
73-
run: |
74-
if [[ ${{ matrix.runs-on }} == *"macos"* ]]; then brew install graphviz ; fi
75-
if [[ ${{ matrix.runs-on }} == *"ubuntu"* ]]; then sudo apt install graphviz ; fi
72+
uses: ts-graphviz/setup-graphviz@v1
7673

7774
- name: Test interface ACT-R
78-
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
7975
run: |
8076
python -m pytest -v -m "actr" tests/
8177
8278
- name: Test interface PyTorch
83-
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
8479
run: |
8580
python -m pytest -v -m "pytorch" tests/
8681
8782
- name: Test interface NeuroML
88-
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
8983
run: |
84+
python -m pip install .[neuroml]
9085
python -m pytest -v -m "neuroml" tests/
9186
92-
- name: Test interface TensorFlow linux/mac
93-
if: ${{ matrix.runs-on != 'windows-latest' }}
94-
run: |
95-
dot -V
96-
python -m pytest -v -m "tensorflow" tests/
97-
98-
- name: Test interface TensorFlow windows
99-
if: ${{ matrix.python-version != '3.10' && matrix.runs-on == 'windows-latest' }}
87+
- name: Test interface TensorFlow
88+
if: ${{ matrix.python-version != '3.11'}}
10089
run: |
101-
choco install graphviz
90+
python -m pip install .[tensorflow]
10291
dot -V
10392
python -m pytest -v -m "tensorflow" tests/
10493
10594
- name: Test interface PsyNeuLink
106-
if: ${{ matrix.python-version != '3.10' }}
95+
if: ${{ matrix.python-version != '3.11'}}
10796
run: |
10897
python -m pip install .[psyneulink]
10998
python -m pytest -v -m "psyneulink" tests/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,4 @@ examples/TensorFlow/Keras/keras_to_MDF
307307
/examples/TensorFlow/Keras/MNIST/keras_to_MDF
308308
/examples/TensorFlow/Keras/MNIST/keras_to_MDF.1
309309
/examples/TensorFlow/Keras/IRIS/keras_to_MDF.1
310+
/checkout_pngs.sh

docs/MDF_function_specifications.json

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

docs/MDF_function_specifications.md

Lines changed: 519 additions & 528 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)