liveBook · Manning

ONNX Runtime

ONNX Runtime is an open-source, cross-platform inference engine for executing and optimizing machine-learning models represented in the ONNX format.

How 3 Manning books explain it

Domain-Specific Small Language Models

A runtime library that efficiently executes ONNX models across hardware targets such as CPUs, GPUs, and edge devices.

How it is used
Deploys portable ONNX models for efficient inference across CPUs, GPUs, and other hardware targets.
How deep it goes
Explains sessions, providers, graph optimization, IOBinding, validation, and profiling with runnable LLM and tensor examples.
Examples
Uses BERT question answering, GPT-2 generation, a tensor-addition model, SQuAD, and ONNX Runtime performance profiles.
What you can do after
Operate/configure ONNX Runtime sessions, select providers, optimize graphs, bind device memory, validate outputs, and profile inference.

Read how Domain-Specific Small Language Models explains ONNX Runtime →

LLMs in Production

ONNX Runtime is a cross-platform inference engine that optimizes and executes models represented in ONNX format.

How it is used
Provides a portable inference path when TensorRT compatibility problems make model compilation difficult.
How deep it goes
Defines ONNX Runtime’s role and deployment rationale but stops short of explaining its internal optimization algorithms.
Examples
Uses a Hugging Face Optimum CLI command to export and optimize WizardCoder in ONNX format.
What you can do after
Apply it via Optimum to export models into ONNX for portable inference deployment.

Read how LLMs in Production explains ONNX Runtime →

Machine Learning System Design

ONNX Runtime is a cross-platform runtime for executing ONNX machine-learning models with hardware-specific optimizations.

How it is used
Positions ONNX Runtime as a cross-platform inference engine for balancing framework flexibility and production performance.
How deep it goes
Explains its ecosystem role, backend support, and tradeoffs, but stops short of implementation details or benchmarking procedures.
Examples
Uses ONNX model conversion and OpenVINO or TensorRT backends as deployment examples.
What you can do after
Evaluate inference-framework choices against portability, hardware optimization, flexibility, and performance requirements.

Read how Machine Learning System Design explains ONNX Runtime →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.