use HEX_REG_QEMU_INSN_CNT from qemu as a DSP timer [pr] (#8993)

* use HEX_REG_QEMU_INSN_CNT from qemu as a DSP timer [pr]

* add quantize test to dsp

* fix tests

* older onnx

* debug, let's see what's happening
This commit is contained in:
George Hotz
2025-02-10 11:07:35 +08:00
committed by GitHub
parent 9119716761
commit 2983285315
5 changed files with 108 additions and 10 deletions

View File

@@ -42,8 +42,7 @@ jobs:
uses: ./.github/actions/setup-tinygrad
with:
deps: docs
- name: Install capstone for CLANG disassembly
run: pip install capstone
pydeps: "capstone"
- name: Use as an external package
run: |
mkdir $HOME/test_external_dir
@@ -403,6 +402,9 @@ jobs:
uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/actions/setup-tinygrad
with:
key: dsp
pydeps: "onnx==1.16.0 onnxruntime"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build QEMU Docker with cache
@@ -416,6 +418,8 @@ jobs:
cache-to: type=gha,mode=min
- name: Run test_tiny on DSP
run: DEBUG=2 DSP=1 python test/test_tiny.py
- name: Test quantize onnx
run: PYTHONPATH="." DEBUG=2 DSP=1 python3 test/test_quantize_onnx.py
testwebgpu:
name: Linux (WebGPU)