add failing regression test for image (#5540)

* add failing regression test for image

* tg type

* simpler test

* don't realize image to image casts caused issue

* simple pad
This commit is contained in:
George Hotz
2024-07-17 17:27:18 -07:00
committed by GitHub
parent 218e157f00
commit d3b098299d
4 changed files with 35 additions and 16 deletions

View File

@@ -166,8 +166,10 @@ jobs:
name: Test WINO=1
run: GPU=1 DEBUG=2 WINO=1 python3 test/test_ops.py TestOps.test_simple_conv2d
- if: ${{ matrix.task == 'optimage'}}
name: Test GPU IMAGE=2 ops
run: GPU=1 IMAGE=2 python -m pytest -n=auto test/test_ops.py
name: Test GPU IMAGE=2 ops + training
run: |
GPU=1 IMAGE=2 python -m pytest -n=auto test/test_ops.py
GPU=1 IMAGE=2 python3 test/models/test_end2end.py TestEnd2End.test_linear_mnist
- if: ${{ matrix.task == 'optimage' }}
name: Test openpilot model compile and size
run: |