[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 13

ONNX (Open Neural Network Exchange) is an open model exchange format jointly launched by companies such as Microsoft and Meta.

Unverified50%
Oct 13

ONNX functions like a universal translator for AI models: no matter whether a model was originally trained with PyTorch, TensorFlow, or another framework, it can be exported to the ONNX format and then loaded and executed in a runtime environment that supports ONNX.

Unverified50%
Oct 13

Candidate small models include SmolLM2 (135M and 360M), Gemma 3 270M, LFM2.5-350M, Qwen2.5-0.5B, and Qwen3-0.6B, all of which have ONNX browser builds.

Unverified50%
Oct 12

The differences between the ONNX path and the TFLite path are not only in quantization but also in operator sets, post-processing implementations, and inference scheduling, so the score distributions of the same model on the two platforms may differ; when porting across platforms, thresholds should be recalibrated rather than directly reusing desktop-side parameters.

Unverified50%
Oct 12

The iOS export uses Core ML 8-bit weights, with a model size of 26MB and 99.96% agreement with fp32 labels, and in the keyboard it actually uses the CPU compute unit, taking about 4ms per sentence in a release build; the Android version uses ONNX opset 17 with int8 dynamic quantization, 27MB, 99.1% agreement, and likewise about 4ms per sentence on CPU.

Unverified50%
Oct 12

The ONNX file provides a q4f16 version and a portable q4 build; fp16 and fp32 versions are omitted to fit within Hugging Face Space's 1GB limit.

Unverified50%
Oct 10

ONNX Runtime is an open-source inference engine led by Microsoft that supports exporting models from frameworks such as PyTorch and TensorFlow to the unified ONNX format for cross-platform execution, with built-in hardware backends including CPU, CUDA, and TensorRT.

Unverified50%
Oct 9

Talus is exported in ONNX format with weights stored in fp16 and converted back to fp32 on load, runs on WebGPU via ONNX Runtime Web, generates one map in approximately 3 seconds on an RTX 5060, and provides a CPU fallback.

Unverified50%
Oct 8

A common engineering practice is to train models in Python, export them to ONNX or TensorFlow.js format, and then have the JS frontend load and run them.

Unverified50%
Oct 6

Core ML allows developers to convert models trained in formats such as ONNX and PyTorch into a format that can perform efficient inference on Apple devices without requiring network requests.

Unverified50%

23 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

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

ONNX (Open Neural Network Exchange) is an open model exchange format jointly launched by companies such as Microsoft and Meta.

50%
Unverified

ONNX functions like a universal translator for AI models: no matter whether a model was originally trained with PyTorch, TensorFlow, or another framework, it can be exported to the ONNX format and then loaded and executed in a runtime environment that supports ONNX.

50%
Unverified

Candidate small models include SmolLM2 (135M and 360M), Gemma 3 270M, LFM2.5-350M, Qwen2.5-0.5B, and Qwen3-0.6B, all of which have ONNX browser builds.

50%
Unverified

The differences between the ONNX path and the TFLite path are not only in quantization but also in operator sets, post-processing implementations, and inference scheduling, so the score distributions of the same model on the two platforms may differ; when porting across platforms, thresholds should be recalibrated rather than directly reusing desktop-side parameters.

50%
Unverified

The iOS export uses Core ML 8-bit weights, with a model size of 26MB and 99.96% agreement with fp32 labels, and in the keyboard it actually uses the CPU compute unit, taking about 4ms per sentence in a release build; the Android version uses ONNX opset 17 with int8 dynamic quantization, 27MB, 99.1% agreement, and likewise about 4ms per sentence on CPU.

50%

Source Articles