From 9378a898b6255af79c9206a95d1db007c2e37624 Mon Sep 17 00:00:00 2001 From: Karla Saur <1703543+ksaur@users.noreply.github.com> Date: Wed, 19 Jul 2023 09:52:12 -0700 Subject: [PATCH] continue-on-error: true for mac tvm install fail For https://github.com/microsoft/hummingbird/issues/727 --- .github/workflows/pythonapp.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 38bb6d52..09717baf 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -100,6 +100,7 @@ jobs: if: ${{ startsWith(matrix.os, 'macos') }} run: | brew install llvm@14 + continue-on-error: true - name: Fetch and prepare TVM for compilation if Mac if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }} run: | @@ -109,6 +110,7 @@ jobs: git checkout tags/v0.10.0 git submodule update --recursive --init cmake -E make_directory build + continue-on-error: true - name: CMake TVM if Mac if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }} working-directory: ../tvm/build @@ -118,11 +120,13 @@ jobs: "-DUSE_GRAPH_RUNTIME=ON" "-DUSE_LLVM=$(brew --prefix llvm@14)/bin/llvm-config --link-static" .. + continue-on-error: true - name: Build TVM if Mac if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }} working-directory: ../tvm/build run: | make -j3 + continue-on-error: true - name: Install python TVM if Mac if: ${{ startsWith(matrix.os, 'macos') }} working-directory: ../tvm/python @@ -130,7 +134,7 @@ jobs: python -m pip install -U wheel packaging python setup.py bdist_wheel python -m pip install dist/tvm-*.whl - + continue-on-error: true # We don't run pytest for Linux py3.8 since we do coverage for that case. - name: Test with pytest if: ${{ matrix.python-version != '3.8' || startsWith(matrix.os, 'ubuntu') != true }}