tinygrad/test/models
geohotstan 5ce278b245
OnnxRunner file as input (#10789)
* file path as input and have parse be in OnnxRunner.__init__

* modelproto_to_onnxrunner -> modelproto_to_runner

* whoops, fix import

* oh flakiness again, is it because it's getting gc-ed?

* small changes

* CI flaky so just move compile4 fix in

* copy typing of onnx_load

* actually can just import onnx_load instead of onnx.load

* fix external_benchmark_openpilot

* fix onnx_runner test to use onnx_helper

* rerun CI

* try run_modelproto

* spam CI a few times

* revert run_modelproto since that's flaky also

* no external onnx_load usage except onnx.py

* cursor tab complete is evil. Snuck a darn sorted in. But does order change result? Why?

* model_benchmark 193s -> 80s, add OnnxRunner.to()...

* minimize diff and clean up

* device can be None, weird but eh

---------

Co-authored-by: chenyu <chenyu@fastmail.com>
2025-07-12 14:27:46 -04:00
..
efficientnet test cleanups 2023-03-03 06:36:06 -08:00
waifu2x waifu2x vgg7: testcase, auto-RGBA->RGB, function to grab pretrained models, training "fix" (#2117) 2023-10-19 22:07:15 -07:00
whisper whisper: support batch inference, add librispeech WER test (#2074) 2023-11-16 13:50:08 -08:00
__init__.py more test cleanups (#2631) 2023-12-05 16:17:57 -08:00
test_bert.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_efficientnet.py db in wal mode (#5388) 2024-07-12 20:43:36 -07:00
test_end2end.py tests from grad uop path [pr] (#8313) 2024-12-18 09:25:05 -08:00
test_mnist.py CLANG -> CPU (#9189) 2025-02-20 18:03:09 -05:00
test_onnx.py OnnxRunner file as input (#10789) 2025-07-12 14:27:46 -04:00
test_real_world.py clean up binary_crossentropy_logits (#10958) 2025-06-24 12:23:40 -04:00
test_resnet.py Fix FC layer ResNet load_from_pretrained error (#8387) 2024-12-26 18:11:27 -05:00
test_rnnt.py move things, clean up extra (#2292) 2023-11-13 20:18:40 -08:00
test_train.py hotfix: those tests fail locally on mac due to buffer count 2025-01-27 07:53:48 +09:00
test_waifu2x.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_whisper.py Fix whisper OOB (#10685) 2025-06-07 20:23:50 -04:00