extract const if it's const (#2193)

* extract const if it's const

* fix if statement

* fast math issue

* fix graphing and casting

* disable flaky copyout test
This commit is contained in:
George Hotz
2023-10-31 18:52:35 -07:00
committed by GitHub
parent b245f1307e
commit 8ba7ced7f9
7 changed files with 41 additions and 28 deletions

View File

@@ -159,7 +159,7 @@ jobs:
- if: ${{ matrix.task == 'openpilot' }}
name: Test openpilot model compile and size
run: |
DEBUG=2 ALLOWED_KERNEL_COUNT=206 VALIDTEST=1 FLOAT16=1 DEBUGCL=1 GPU=1 IMAGE=2 python openpilot/compile.py
DEBUG=2 ALLOWED_KERNEL_COUNT=207 VALIDTEST=1 FLOAT16=1 DEBUGCL=1 GPU=1 IMAGE=2 python openpilot/compile.py
python -c 'import os; assert os.path.getsize("/tmp/output.thneed") < 100_000_000'
- if: ${{ matrix.task == 'openpilot' }}
name: Test openpilot model correctness (float32)