Why it matters

Optimum simplifies hardware backends. Understanding shapes deployment.

Advertisement

The architecture

Export: transformers → backend format.

Runtime: Optimum wraps backends.

HF OptimumHF transformerPyTorch modelExport to backendONNX / TRT / OVOptimum runtimeunified APIOptimum-neuron for AWS Trainium; Optimum-nvidia for TRT-LLM shortcut
Optimum.
Advertisement

How it works end to end

ONNX Runtime: cross-platform.

TensorRT: NVIDIA optimized.

OpenVINO: Intel CPU/GPU.

Neuron: AWS Trainium/Inferentia.