RSS benchmark - 1/1 Blog benchmark (4) onnx (8)


benchmark - 1/1#

ONNX Backend Scoreboard#

2022-05-29

ONNX Backend Scoreboard shows how many operators a runtime supports. Page ONNX Backends for Python/Numpy runtime computes the same figure for the Python Runtime implemented in this package, more than 90%.

post

Custom C++ TopK#

2019-12-16

It started with the fact the python runtime for the AdaBoostRegressor was quite slow. I noticed three operators were quite slow even though their implementation was based on numpy: TopK, ArrayFeatureExtractor and GatherElement. I made a custom implementation of the first two.

post

RandomForestClassifier - prediction for one observation#

2019-12-04

I was meeting with Olivier Grisel this morning and we were wondering why scikit-learn was slow to compute the prediction of a random forest for one observation compare to what onnxruntime does, and more specically some optimized C++ code inspired from onnxruntime. We used py-spy and wrote the following script:

post

The bug which makes you waste time#

2019-10-04

It is not a bug but it is something which makes you waste some significant time just to understand what’s going on. asv would refuse to detect the benchmark I was trying to set up just because filenames did contain dots. So, for asv don’t add a file name.option.py but use name_option.py. A couple of benchmark for tries: bench1, bench2.

post


RSS benchmark - 1/1 2021-08 (3) 2022-02 (1) 2022-05 (1) 2022-06 (1) 2022-11 (1)