refactor: 重新整理 requirements.txt
主要更改: - 修正 TTM 模型包名: tsfm_public -> granite-tsfm - 添加缺失依赖: httpx, schedule, pytorch-lightning, torchmetrics - 移除过时依赖: darts, u8darts - 按功能分类组织依赖 - 添加 Windows/macOS 安装说明注释 - 更新安装脚本和文档中的包名
This commit is contained in:
1 parent
06800ddb43
commit
9320b79730
3 files changed
+76
-31
No files matched your search
@@ -94,14 +94,13 @@ pip install -r requirements.txt
|
||||
### 3. 安装 IBM 时序模型 (TTM-R2)
|
||||
|
||||
```powershell
|
||||
# 注意:PyPI 包名是 tsfm-public(带连字符),但导入时用 tsfm_public(下划线)
|
||||
pip install tsfm-public
|
||||
# PyPI 包名是 granite-tsfm,导入时用 tsfm_public
|
||||
pip install granite-tsfm
|
||||
```
|
||||
|
||||
如果安装失败,尝试:
|
||||
验证安装:
|
||||
```powershell
|
||||
# 从 GitHub 安装
|
||||
pip install git+https://github.com/ibm-granite/granite-tsfm.git
|
||||
python -c "from tsfm_public.models.tinytimemixer import TinyTimeMixerForPrediction; print('TTM-R2 安装成功')"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user