Skip to content

Multi-model · 1.06 MB Combined CPU WASM · 2 Independent Granite Workers · Apache-2.0

Granite PatchTSMixer (0.29 MB) vs Granite PatchTST (0.77 MB)

Benchmark two IBM Granite multivariate time-series architectures on the exact same [1, 512, 7] window in 1.06 MB total: Stage 1 — onnx-community/granite-timeseries-patchtsmixer (0.29 MB int8, Patch-16 × 32 all-MLP Mixer family with gated attention, ETTh1 common_channel checkpoint) versus Stage 2 — reused built ../granite-timeseries-patchtst/worker.js (onnx-community/granite-timeseries-patchtst, 0.77 MB q8, Patch-12 × 42 + [CLS] channel-independent 16-head Transformer). Plot both curves alongside their 50/50 ensemble and verify independent Stage 1 Release preserves Stage 2 Ready.

Prepare both Granite workers via the unified Model Pack bar above to compare PatchTSMixer vs PatchTST.

Shared 512 → 96 horizon overlay: PatchTSMixer vs PatchTST vs 50/50 Ensemble

Run both stages to compute per-model MAE, RMSE, 50/50 ensemble accuracy, latency speedup, and mean |TSM − TST| divergence.

All-7 channel head-to-head MAE & RMSE scoreboard

96-step holdout MAE and RMSE across all 7 channels for Stage 1 PatchTSMixer, Stage 2 PatchTST, and 50/50 Ensemble
Channel PatchTSMixer MAE / RMSE PatchTST MAE / RMSE Ensemble MAE / RMSE Best MAE
Run both Granite stages to populate the 7-channel head-to-head scoreboard.

Independent stage workers (1.06 MB combined CPU WASM)

Stage 1 · IBM Granite PatchTSMixer (0.29 MB int8)

onnx-community/granite-timeseries-patchtsmixer · Patch-16 × 32 MLP-Mixer · Apache-2.0

Waiting for Stage 1…

Stage 2 · IBM Granite PatchTST (0.77 MB q8 · reused worker)

onnx-community/granite-timeseries-patchtst · ../granite-timeseries-patchtst/worker.js · Patch-12 × 42 Transformer · Apache-2.0

Waiting for Stage 2…

Show the code — PatchTSTStageClient reusing built ../granite-timeseries-patchtst/worker.js with independent lifecycle