Time Series Forecasting
Chronos
Safetensors
t5
time-series
forecasting
chronos
chronos-2
quantization
torchao
int8
8-bit precision
Instructions to use oxfrug/chronos-2-int8-torchao with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chronos
How to use oxfrug/chronos-2-int8-torchao with Chronos:
pip install chronos-forecasting
import pandas as pd from chronos import BaseChronosPipeline pipeline = BaseChronosPipeline.from_pretrained("oxfrug/chronos-2-int8-torchao", device_map="cuda") # Load historical data context_df = pd.read_csv("https://autogluon.s3.us-west-2.amazonaws.com/datasets/timeseries/misc/AirPassengers.csv") # Generate predictions pred_df = pipeline.predict_df( context_df, prediction_length=36, # Number of steps to forecast quantile_levels=[0.1, 0.5, 0.9], # Quantiles for probabilistic forecast id_column="item_id", # Column identifying different time series timestamp_column="Month", # Column with datetime information target="#Passengers", # Column(s) with time series values to predict ) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -134,9 +134,9 @@ Half-precision (FP16 / BF16) did **not** help this 120M model on a 3090.
|
|
| 134 |
|
| 135 |
## Did INT8 change the forecasts?
|
| 136 |
|
| 137 |
-
|
| 138 |
|
| 139 |
-
What
|
| 140 |
|
| 141 |
- **German electricity (hourly)** — INT8 stays close. 24h median error vs original +1.8%; 168h actually −3%. Correlation of the two forecasts ≈ 0.99.
|
| 142 |
- **M4 hourly / daily / monthly** — same story on shape (high correlation), median error a bit worse (about +9% to +15% MASE on those short holds).
|
|
|
|
| 134 |
|
| 135 |
## Did INT8 change the forecasts?
|
| 136 |
|
| 137 |
+
This pack only compresses weights.
|
| 138 |
|
| 139 |
+
What i did: take a few public series, hide the last 12–168 points, forecast them with the original model and with this INT8, compare.
|
| 140 |
|
| 141 |
- **German electricity (hourly)** — INT8 stays close. 24h median error vs original +1.8%; 168h actually −3%. Correlation of the two forecasts ≈ 0.99.
|
| 142 |
- **M4 hourly / daily / monthly** — same story on shape (high correlation), median error a bit worse (about +9% to +15% MASE on those short holds).
|