:orphan:
Runtime, Backend Test, and Kernel Examples
==========================================
Examples showing how to retrieve, inspect or run ONNX backend test cases
exposed by :mod:`onnx_light.onnx.backend`.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_abs_benchmark_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_abs_benchmark`
.. raw:: html
Benchmark Abs: onnxruntime vs onnx-light
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_qwen3_init_benchmark_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_qwen3_init_benchmark`
.. raw:: html
Benchmark the initialization steps: onnxruntime vs onnx-light
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_custom_kernel_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_custom_kernel`
.. raw:: html
Extend ReferenceEvaluator with a custom kernel
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_kernel_tuning_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_kernel_tuning`
.. raw:: html
Inspect, change, and calibrate kernel tuning from Python
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_runtime_memory_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_runtime_memory`
.. raw:: html
Profile the runtime memory of a model with the event log
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_register_custom_kernel_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_register_custom_kernel`
.. raw:: html
Replace a built-in kernel with a Python one and prove it ran
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_backend_test_case_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_backend_test_case`
.. raw:: html
Retrieve a backend test case and display its model and data
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_runtime_events_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_runtime_events`
.. raw:: html
Run a model with the runtime and inspect intermediate results
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_run_cast_to_int2_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_run_cast_to_int2`
.. raw:: html
Run an ONNX model casting a float tensor into an int2 tensor
.. raw:: html
.. only:: html
.. image:: /auto_examples_runtime/images/thumb/sphx_glr_plot_run_with_tensor_sequence_dict_thumb.png
:alt:
:doc:`/auto_examples_runtime/plot_run_with_tensor_sequence_dict`
.. raw:: html
Run the reference evaluator with tensor, sequence and dictionary inputs/outputs
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/auto_examples_runtime/plot_abs_benchmark
/auto_examples_runtime/plot_qwen3_init_benchmark
/auto_examples_runtime/plot_custom_kernel
/auto_examples_runtime/plot_kernel_tuning
/auto_examples_runtime/plot_runtime_memory
/auto_examples_runtime/plot_register_custom_kernel
/auto_examples_runtime/plot_backend_test_case
/auto_examples_runtime/plot_runtime_events
/auto_examples_runtime/plot_run_cast_to_int2
/auto_examples_runtime/plot_run_with_tensor_sequence_dict
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: auto_examples_runtime_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: auto_examples_runtime_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery