From ae049783b8d39322402ee8ded0d33ebcec9016d3 Mon Sep 17 00:00:00 2001 From: Karla Saur <1703543+ksaur@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:39:12 -0700 Subject: [PATCH 1/3] testing onnx issue --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index dca5a7a5..f7b68645 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ install_requires = [ "numpy>=1.15", "onnxconverter-common>=1.6.0", + "onnx<=1.16.1", "scipy", "scikit-learn", "torch>1.7.0", From ebddc21d127b3370548fe8f0ce452432a6ad68b4 Mon Sep 17 00:00:00 2001 From: Karla Saur <1703543+ksaur@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:52:04 -0700 Subject: [PATCH 2/3] codecov prob for macs, moving to ubu --- .github/workflows/pythonapp.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index b184710f..33478f78 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -138,18 +138,18 @@ jobs: cd ~/work/hummingbird/tvm/python python3 -m pip install -e . - # We don't run pytest for macos py3.9 since we do coverage for that case. + # We don't run pytest for ubuntu py3.9 since we do coverage for that case. - name: Test with pytest - if: ${{ matrix.python-version != '3.9' || startsWith(matrix.os, 'macos') != true }} + if: ${{ matrix.python-version != '3.9' || startsWith(matrix.os, 'ubuntu') != true }} run: pytest - # Run and push coverage only for macos py3.9 - - name: Coverage 3.9 macos - if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'macos') }} + # Run and push coverage only for ubuntu py3.9 + - name: Coverage 3.9 ubuntu + if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') }} run: | coverage run -a -m pytest tests coverage xml - name: Upload coverage to Codecov - if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'macos') }} + if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') }} uses: codecov/codecov-action@v3 with: file: ./coverage.xml From 47e18fd187c771d67a5c48877d0c810e3212e270 Mon Sep 17 00:00:00 2001 From: Karla Saur <1703543+ksaur@users.noreply.github.com> Date: Sun, 4 Aug 2024 20:21:42 -0700 Subject: [PATCH 3/3] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 33478f78..445cb1b4 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -150,7 +150,7 @@ jobs: coverage xml - name: Upload coverage to Codecov if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests