[KongchangAI]
ConceptOpen Neural Network Exchange

ONNX

ONNX (Open Neural Network Exchange) is an open standard jointly initiated by Microsoft and Facebook that serves as a common intermediate format for representing machine learning models. It defines a unified operator set and data type specification, enabling models to be converted between different training frameworks such as PyTorch and TensorFlow, and deployed across diverse hardware platforms via inference engines such as ONNX Runtime, thereby addressing interoperability challenges in the deep learning ecosystem.

Core Facts

Timeline (last 90 days)

Oct 27

ONNX (Open Neural Network Exchange) is an open model representation format designed so that models exported from different training frameworks (such as PyTorch and TensorFlow) can be loaded by a variety of inference engines.

Unverified50%
Oct 27

An Indian automotive embedded software engineer with about one year of experience, whose tech stack covers C/C++, Python, embedded systems, ARM, RTOS, and Linux fundamentals, is learning machine learning and deep learning basics and plans to build hands-on projects around ASR/TTS, model deployment, ONNX, quantization, and edge hardware inference.

Unverified50%
Oct 21

Vector normalization parameters still need to be saved in a separate file, because if the normalization layer is not also solidified into the computation graph, the inference side needs to save and load these statistics separately, otherwise observation distribution shift will cause the policy to fail.

Unverified50%
Oct 21

After training is complete, the model is exported as an ONNX file for deployment; the authors added a TRAIN_CONFIG field to the ONNX file to record all training configurations for easy traceability.

Unverified50%
Oct 19

BitLens is an open-source project that completes per-layer quantization sensitivity analysis with a single calibration and exports quantization configurations for mainstream frameworks.

Unverified50%
Oct 19

BitLens wraps PyTorch nn.Module or ONNX computation graphs via hooks, collecting 128-bin histograms each for weights (symmetric per-channel) and activations (asymmetric per-tensor).

Unverified50%
Oct 19

The open-source project onnx-wakeword provides inference code and examples for running ONNX wake word and keyword detection models in local applications.

Unverified50%
Oct 19

ONNX is suited to desktop, Python, Android, and browser runtimes that support ONNX Runtime; TFLite or TFLite Micro is common on resource-constrained embedded devices.

Unverified50%
Oct 19

When the network is unavailable, PaperToProfit falls back to the local ONNX model RapidOCR, detecting text boxes on the CPU and pairing dish names with quantities and prices via a two-dimensional spatial clustering algorithm that groups by a vertical midpoint threshold and sorts by horizontal coordinates.

Unverified50%
Oct 17

Transformers.js底层使用ONNX Runtime Web,模型需要转为ONNX格式并量化,4-bit量化的1B模型大小约1.2GB而非5GB。

Unverified50%

38 more timeline events

All Facts (20)

Verified

ONNX Runtime is an open-source machine learning inference and training acceleration engine primarily developed under Microsoft's leadership.

75%
Verified

ONNX was originally co-initiated by Microsoft and Facebook (now Meta) in 2017.

70%
Verified

Transformers.js is a JavaScript library developed by Hugging Face that, based on WebAssembly and WebGPU technology, ports Transformer model inference to browser environments.

70%
Verified

ONNX Runtime Web is the browser version of Microsoft's cross-platform inference engine, capable of directly loading standard ONNX format models

65%
Verified

The ONNX (Open Neural Network Exchange) format allows PyTorch/TensorFlow models to be exported as a cross-platform intermediate representation format.

65%
Unverified

MoS-TTS-Nano使用ONNX(Open Neural Network Exchange)格式进行CPU上的高效推理

95%
Unverified

TensorFlow导出ONNX需要使用tf2onnx库

95%
Unverified

Transformers框架同时支持PyTorch和TensorFlow后端,并通过ONNX等格式支持更广泛的部署场景

90%
Unverified

ONNX模型导出后,只要保持相同的input_names和output_names,推理代码就是完全通用的,无论模型来自PyTorch还是TensorFlow

90%
Unverified

TensorFlow导出ONNX时不需要提供dummy数据,因为tf.function通过AutoGraph将Python代码编译为静态图,input_signature提供的类型和形状信息足以完整描述计算图结构

90%
Unverified

onnxruntime-genai包可以用于ONNX格式模型的生成式AI推理

85%
Unverified

2019年,ONNX被移交给Linux基金会旗下的LF AI & Data基金会管理

85%
Unverified

ONNX(Open Neural Network Exchange)诞生于2017年,最初由Facebook(Meta)和Microsoft联合开发

85%
Unverified

许多HuggingFace模型仓库已经提供了ONNX版本,特别是针对CPU和移动端优化的量化模型

80%
Unverified

ONNX已获得Amazon、Intel、NVIDIA、Qualcomm等数十家主流硬件和软件厂商的支持

80%
Partially Verified

ONNX由微软和Facebook于2017年联合发起,目前已成为AI模型互操作的事实标准

75%
Unverified

TensorRT是NVIDIA推出的高性能深度学习推理优化器与运行时,自2015年发布

70%
Unverified

An Indian automotive embedded software engineer with about one year of experience, whose tech stack covers C/C++, Python, embedded systems, ARM, RTOS, and Linux fundamentals, is learning machine learning and deep learning basics and plans to build hands-on projects around ASR/TTS, model deployment, ONNX, quantization, and edge hardware inference.

50%
Unverified

ONNX (Open Neural Network Exchange) is an open model representation format designed so that models exported from different training frameworks (such as PyTorch and TensorFlow) can be loaded by a variety of inference engines.

50%
Unverified

After training is complete, the model is exported as an ONNX file for deployment; the authors added a TRAIN_CONFIG field to the ONNX file to record all training configurations for easy traceability.

50%

Source Articles