quantization preprocessor from DSP, should be universal (#9437)

* quantization preprocessor from DSP, should be universal

* touchups

* fix tests
This commit is contained in:
George Hotz
2025-03-15 07:49:37 +08:00
committed by GitHub
parent ca5064a5b6
commit cb7a7f69c7
7 changed files with 106 additions and 20 deletions

View File

@@ -423,6 +423,8 @@ jobs:
run: LLVM=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20
- name: Test Additional ONNX Ops (CPU)
run: CPU=1 PYTHONPATH=. python3 test/external/external_test_onnx_ops.py
- name: Test Quantize ONNX
run: CPU=1 PYTHONPATH=. python3 test/test_quantize_onnx.py
- name: Run CLOUD=1 Test
run: |
CLOUDDEV=CPU CLOUD=1 python3 test/test_tiny.py
@@ -467,7 +469,7 @@ jobs:
testdsp:
name: Linux (DSP)
runs-on: ubuntu-24.04
timeout-minutes: 10
timeout-minutes: 15
steps:
- name: Checkout Code
uses: actions/checkout@v4