|
18 | 18 | deepsparse: ${{ steps.deepsparse-check.outputs.output }}
|
19 | 19 | onnx: ${{ steps.onnx-check.outputs.output }}
|
20 | 20 | pytorch: ${{ steps.pytorch-check.outputs.output }}
|
21 |
| - tensorflow_v1: ${{ steps.tensorflow_v1-check.outputs.output }} |
22 | 21 | steps:
|
23 | 22 | - uses: actions/checkout@v2
|
24 | 23 | with:
|
|
54 | 53 | ((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/pytorch|setup.py|.github")
|
55 | 54 | || (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
|
56 | 55 | && echo "::set-output name=output::1" || echo "::set-output name=output::0"
|
57 |
| - - name: "Checking if sparseml.tensorflow_v1 was changed" |
58 |
| - id: tensorflow_v1-check |
59 |
| - run: > |
60 |
| - ((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/tensorflow_v1|setup.py|.github") |
61 |
| - || (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]")) |
62 |
| - && echo "::set-output name=output::1" || echo "::set-output name=output::0" |
63 | 56 | base-tests:
|
64 | 57 | runs-on: ubuntu-22.04
|
65 | 58 | env:
|
@@ -160,30 +153,6 @@ jobs:
|
160 | 153 | run: pip3 install .[dev,torchvision,onnxruntime]
|
161 | 154 | - name: "🔬 Running pytorch tests"
|
162 | 155 | run: make test TARGETS=pytorch
|
163 |
| - tensorflow-v1-tests: |
164 |
| - runs-on: ubuntu-22.04 |
165 |
| - env: |
166 |
| - SPARSEZOO_TEST_MODE: "true" |
167 |
| - needs: test-setup |
168 |
| - if: ${{needs.test-setup.outputs.tensorflow_v1 == 1}} |
169 |
| - steps: |
170 |
| - - uses: actions/setup-python@v4 |
171 |
| - with: |
172 |
| - python-version: '3.7' |
173 |
| - - uses: actions/checkout@v2 |
174 |
| - - uses: actions/checkout@v2 |
175 |
| - with: |
176 |
| - repository: "neuralmagic/sparsezoo" |
177 |
| - path: "sparsezoo" |
178 |
| - ref: ${{needs.test-setup.outputs.branch}} |
179 |
| - - name: "⚙️ Install sparsezoo dependencies" |
180 |
| - run: pip3 install -U pip && pip3 install setuptools sparsezoo/ |
181 |
| - - name: "Clean sparsezoo directory" |
182 |
| - run: rm -r sparsezoo/ |
183 |
| - - name: "⚙️ Install dependencies" |
184 |
| - run: pip3 install .[dev,tf_v1,onnxruntime] |
185 |
| - - name: "🔬 Running tensorflow_v1 tests" |
186 |
| - run: make test TARGETS=tensorflow_v1 |
187 | 156 | compat-pytorch-1_9-pytorch-tests:
|
188 | 157 | runs-on: ubuntu-22.04
|
189 | 158 | env:
|
|
0 commit comments