|
16 | 16 | branch: ${{ steps.get-branch.outputs.branch }} |
17 | 17 | base: ${{ steps.base-check.outputs.output }} |
18 | 18 | deepsparse: ${{ steps.deepsparse-check.outputs.output }} |
19 | | - keras: ${{ steps.keras-check.outputs.output }} |
20 | 19 | onnx: ${{ steps.onnx-check.outputs.output }} |
21 | 20 | pytorch: ${{ steps.pytorch-check.outputs.output }} |
22 | 21 | tensorflow_v1: ${{ steps.tensorflow_v1-check.outputs.output }} |
|
43 | 42 | ((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/deepsparse|setup.py|.github") |
44 | 43 | || (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]")) |
45 | 44 | && echo "::set-output name=output::1" || echo "::set-output name=output::0" |
46 | | - - name: "Checking if sparseml.keras was changed" |
47 | | - id: keras-check |
48 | | - run: > |
49 | | - ((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/keras|setup.py|.github") |
50 | | - || (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]")) |
51 | | - && echo "::set-output name=output::1" || echo "::set-output name=output::0" |
52 | 45 | - name: "Checking if sparseml.onnx was changed" |
53 | 46 | id: onnx-check |
54 | 47 | run: > |
@@ -119,30 +112,6 @@ jobs: |
119 | 112 | run: pip3 install .[dev,deepsparse,onnxruntime] |
120 | 113 | - name: "🔬 Running deepsparse tests" |
121 | 114 | run: make test TARGETS=deepsparse |
122 | | - keras-tests: |
123 | | - runs-on: ubuntu-22.04 |
124 | | - env: |
125 | | - SPARSEZOO_TEST_MODE: "true" |
126 | | - needs: test-setup |
127 | | - if: ${{needs.test-setup.outputs.keras == 1}} |
128 | | - steps: |
129 | | - - uses: actions/setup-python@v4 |
130 | | - with: |
131 | | - python-version: '3.8' |
132 | | - - uses: actions/checkout@v2 |
133 | | - - uses: actions/checkout@v2 |
134 | | - with: |
135 | | - repository: "neuralmagic/sparsezoo" |
136 | | - path: "sparsezoo" |
137 | | - ref: ${{needs.test-setup.outputs.branch}} |
138 | | - - name: "⚙️ Install sparsezoo dependencies" |
139 | | - run: pip3 install -U pip && pip3 install setuptools sparsezoo/ |
140 | | - - name: "Clean sparsezoo directory" |
141 | | - run: rm -r sparsezoo/ |
142 | | - - name: "⚙️ Install dependencies" |
143 | | - run: pip3 install .[dev,tf_keras,onnxruntime] |
144 | | - - name: "🔬 Running keras tests" |
145 | | - run: make test TARGETS=keras |
146 | 115 | onnx-tests: |
147 | 116 | runs-on: ubuntu-22.04 |
148 | 117 | env: |
|
0 commit comments