[AINode] Integrate PatchTST-FM-R1 as builtin forecasting model
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Motivation
Description:
Summary: This issue tracks the integration of IBM Research's [PatchTST-FM-R1](https://huggingface.co/ibm-research/patchtst-fm-r1) into IoTDB AINode's built-in model registry, following the contribution guide documented [here](https://iotdb.apache.org/UserGuide/latest-Table/AI-capability/AINode_Upgrade_apache.html#_6-contributing-open-source-time-series-large-models-to-iotdb-ainode).
Motivation: PatchTST-FM-R1 is a SOTA patch-based Transformer foundation model for time series forecasting. Adding it expands the range of zero-shot forecasting options available to IoTDB users without requiring model training.
Implementation Plan:
Create iotdb-core/ainode/iotdb/ainode/core/model/patchtst/ directory with a PatchTSTFMPipeline extending
ForecastPipeline
Register the model in BUILTIN_HF_TRANSFORMERS_MODEL_MAP in
model_info.py
Add integration test
Reference: PR #16903 (Chronos2 integration) as the implementation pattern.
### Solution
_No response_
### Alternatives
_No response_
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
Contributor guide
Research direction
Start with PR #16903 for the Chronos2 integration pattern, then read the AINode contribution guide and inspect model_info.py and the ForecastPipeline entry point. Add the PatchTST directory and pipeline, register the model in BUILTIN_HF_TRANSFORMERS_MODEL_MAP, and verify the integration test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100