onnx / turnkeyml

The no-code AI toolchain
Apache License 2.0
74 stars 16 forks source link

Transition benchmarking into a stage #172

Closed jeremyfowers closed 4 months ago

jeremyfowers commented 4 months ago

Closes #153

Major Changes

(Minor) Regression

turnkey -i model.py export-pytorch followed by turnkey -i model.py export-pytorch benchmark will re-build the model because it is considered a cache miss. This miss is because any change to the sequence is considered a miss. Previously, the exported onnx model would have been loaded from cache.

Instead, if you want a cache hit, do: turnkey -i model.py export-pytorch turnkey benchmark-build --build-names script