optimization: get actions in CI (#2125)

* get actions in CI

* actually run the test

* pythonpath
This commit is contained in:
George Hotz
2023-10-20 12:22:01 -07:00
committed by GitHub
parent 14625721e9
commit abeba8f1fc
2 changed files with 6 additions and 3 deletions

View File

@@ -118,8 +118,8 @@ jobs:
strategy:
fail-fast: false
matrix:
task: [optimage, openpilot, onnx]
name: ${{ matrix.task=='optimage'&&'GPU OPT and IMAGE Tests' || matrix.task=='openpilot'&&'openpilot (OpenCL) Tests' || matrix.task=='onnx'&&'ONNX Tests' }}
task: [optimage, openpilot, onnx, optimization]
name: ${{ matrix.task=='optimage'&&'GPU OPT and IMAGE Tests' || matrix.task=='openpilot'&&'openpilot (OpenCL) Tests' || matrix.task=='onnx'&&'ONNX Tests' || matrix.task=='optimization'&&'Optimization Tests' }}
runs-on: ubuntu-20.04
timeout-minutes: 20
@@ -184,6 +184,9 @@ jobs:
- if: ${{ matrix.task == 'onnx' }}
name: Test ONNX (CLANG)
run: CLANG=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20
- if: ${{ matrix.task == 'optimization' }}
name: Test Action Space
run: PYTHONPATH="." GPU=1 python3 extra/optimization/get_action_space.py
testmetalwebgpu:
name: Metal and WebGPU Tests