Downloads · 30 days
0
YangjieOu/timesfm-3.0-onnx
timesfm-3.0-onnx is a time series forecasting model from YangjieOu. Use it for the time series forecasting task on the model card, and read the license before you ship it in a product. It is set up for onnx. The card lists the license as other.
ONNX conversion and CPU quantization experiments for google/timesfm-3.0-pytorch.
Downloads · 30 days
0
Access
Public
Updated Sep 3, 2026
Repo size
2.4 GB
Likes
1
Public
Click a slice to open those files.
.data1.3 GB · 56%
From the Hugging Face model README
ONNX conversion and CPU quantization experiments for
google/timesfm-3.0-pytorch.
This repository focuses on running TimesFM 3.0 efficiently on CPU using ONNX Runtime, including FP32 reference inference and lower-precision INT8 / INT4 variants.
Reference ONNX model with near-identical output to the original PyTorch model.
Observed PyTorch vs FP32 ONNX numerical difference:
Experimental CPU-optimized INT8 model.
Current INT8 quantization significantly affects forecasting accuracy and should be treated as experimental.
Experimental weight-only INT4 model using ONNX Runtime MatMulNBits.
INT4 quantization may introduce larger forecast degradation than INT8 depending on the quantized layers and CPU implementation.
Typical files in this repository:
timesfm3-fp32-c128-h64.onnx
timesfm3-fp32-c128-h64.onnx.data
timesfm3-int8-c128-h64.onnx
timesfm3-int8-full-c128-h64.onnx
timesfm3-int4-full-c128-h64.onnx
onnx_config.json
quantization_report.json
int8_full_benchmark.json
int4_full_benchmark.json