[ENH] Add Moirai moe v2 #2512
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 200 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.317
Real PR Conversation Timeline
1 comments
"Review active on #2512"
general
weight: 0.35
phoeenniixx
Reference Issues/PRs
Closes #2260
What does this implement/fix? Explain your changes.
Add Salesforce Moirai-MoE to the experimental v2 interface, using
uni2tsas an optional dependency.The model supports zero-shot point forecasts, samples, and empirical
quantiles. It handles missing target values and multivariate targets.
For
TimeSeriesandTslibDataModuleinputs, prediction uses eachseries’ latest observed history and forecasts beyond it. A DataLoader
can be used for predictions over existing historical windows. Callback
lists are copied before prediction to prevent accumulation across calls.
What should a reviewer concentrate their feedback on?
Did you add any tests for the change?
Yes. Tests cover grouped series, missing values, scaling, future windows,
callback reuse, and uni2ts inference.
the final observed time point.
Any other comments?
Fine-tuning and exogenous features are not supported.
uni2tsrequiresa compatible Python and PyTorch environment. GPU inference was not tested.
PR checklist
across the repository after committing.