suppa09 commited on
Commit
cf53d80
·
verified ·
1 Parent(s): 53ebf94

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +34 -22
requirements.txt CHANGED
@@ -1,22 +1,34 @@
1
- fastapi==0.115.0
2
- uvicorn[standard]==0.30.6
3
- pydantic==2.9.2
4
- numpy==1.26.4
5
- scipy>=1.6.0,<2.0.0
6
- scikit-learn==1.5.2
7
- xgboost==2.1.1
8
- lightgbm==4.5.0
9
- torch==2.4.1
10
- huggingface_hub==0.25.2
11
- chronos-forecasting==1.4.0
12
- # uni2ts 1.1.0 requires scipy>=1.11.3 but conflicts with pinned scipy==1.13.1
13
- # Letting pip resolve scipy freely above fixes this
14
- uni2ts==1.1.0
15
- # momentfm — CMU MOMENT T5 foundation model
16
- # pip install git+https://github.com/moment-timeseries-foundation-model/moment.git
17
- # (no stable PyPI release yet — comment out if HF Space build fails; proxy activates)
18
- # momentfm
19
- # lag-llama — LLM architecture for time series (zero-shot probabilistic)
20
- # pip install git+https://github.com/time-series-foundation-models/lag-llama.git
21
- # (proxy activates until package stabilises — safe to leave commented)
22
- # lag-llama
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PolyBloom ML Service v17.0.0 — Hugging Face Space dependencies
2
+ # Pin minor versions for reproducibility; patch versions left loose.
3
+
4
+ # ── API framework ─────────────────────────────────────────────────────────────
5
+ fastapi==0.115.*
6
+ uvicorn[standard]==0.30.*
7
+
8
+ # ── Numerics ──────────────────────────────────────────────────────────────────
9
+ numpy>=1.26,<2.0
10
+
11
+ # ── Trained classifiers (XGBoost + LightGBM) ─────────────────────────────────
12
+ xgboost>=2.0,<3.0
13
+ lightgbm>=4.3,<5.0
14
+
15
+ # ── Chronos (Amazon T5 zero-shot forecasting) ─────────────────────────────────
16
+ # Using the pip package; pulls transformers + torch automatically.
17
+ chronos-forecasting>=1.3,<2.0
18
+
19
+ # ── MOIRAI (Salesforce probabilistic forecasting) ────────────────────────────
20
+ # uni2ts is available on PyPI; moirai weights downloaded at runtime via HF hub.
21
+ uni2ts>=0.1,<1.0
22
+
23
+ # ── MOMENT (CMU T5 foundation model) ─────────────────────────────────────────
24
+ momentfm>=0.1,<1.0
25
+
26
+ # ── Shared transformer dependencies ───────────────────────────────────────────
27
+ torch>=2.2,<3.0
28
+ transformers>=4.40,<5.0
29
+ huggingface-hub>=0.22,<1.0
30
+
31
+ # ── Utilities ─────────────────────────────────────────────────────────────────
32
+ scikit-learn>=1.4,<2.0 # for bootstrap label encoding / train-test helpers
33
+ einops>=0.7,<1.0 # required by MOIRAI tensor rearranging
34
+ python-multipart>=0.0.9 # FastAPI file uploads (unused but HF space needs it)