suppa09 commited on
Commit
8053b00
·
verified ·
1 Parent(s): 7464ba2

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -1
requirements.txt CHANGED
@@ -5,6 +5,9 @@
5
  # v1: uni2ts<1.0 matched nothing
6
  # v2: uni2ts>=1.1 conflicts with scipy>=1.12 (uni2ts pins scipy==1.11.3) → DROP uni2ts
7
  # v3: momentfm pins numpy==1.25.2 + huggingface-hub==0.19.4, conflicts with our >=1.26/>=0.22 → DROP momentfm
 
 
 
8
  #
9
  # Both MOIRAI and MOMENT fall back to bootstrap formulas on the free HF tier anyway (OOM).
10
  # Neither uni2ts nor momentfm provide any runtime benefit on a free CPU space.
@@ -19,6 +22,7 @@ uvicorn[standard]==0.30.*
19
  # ── Numerics ──────────────────────────────────────────────────────────────────
20
  numpy>=1.26,<2.0
21
  scipy>=1.12,<2.0
 
22
 
23
  # ── Trained classifiers (Row 2 — always bootstrap on startup, always green) ──
24
  xgboost>=2.0,<3.0
@@ -26,13 +30,18 @@ lightgbm>=4.3,<5.0
26
  catboost>=1.2,<2.0
27
 
28
  # ── Chronos (Amazon T5 zero-shot) — Row 1 foundation (fallback if OOM) ───────
 
29
  chronos-forecasting>=1.3,<2.0
30
 
31
  # ── MOIRAI → uni2ts DROPPED (scipy conflict) — bootstrap fallback active ────
32
  # ── MOMENT → momentfm DROPPED (numpy + hf-hub conflict) — bootstrap active ──
33
 
 
 
 
 
 
34
  # ── Shared transformer / neural stack ────────────────────────────────────────
35
- # torch is used directly by N-BEATS and TimesNet (Row 3 neural models)
36
  torch>=2.2,<3.0
37
  transformers>=4.40,<5.0
38
  huggingface-hub>=0.22,<1.0
 
5
  # v1: uni2ts<1.0 matched nothing
6
  # v2: uni2ts>=1.1 conflicts with scipy>=1.12 (uni2ts pins scipy==1.11.3) → DROP uni2ts
7
  # v3: momentfm pins numpy==1.25.2 + huggingface-hub==0.19.4, conflicts with our >=1.26/>=0.22 → DROP momentfm
8
+ # v4: added neuralforecast>=1.7.0 (covers PatchTST, N-HiTS, iTransformer)
9
+ # neuralforecast pins torch>=2.1 and uses optuna/ray — compatible with our stack
10
+ # chronos switched to PyPI package (chronos-forecasting) for HF compatibility
11
  #
12
  # Both MOIRAI and MOMENT fall back to bootstrap formulas on the free HF tier anyway (OOM).
13
  # Neither uni2ts nor momentfm provide any runtime benefit on a free CPU space.
 
22
  # ── Numerics ──────────────────────────────────────────────────────────────────
23
  numpy>=1.26,<2.0
24
  scipy>=1.12,<2.0
25
+ pandas>=2.0,<3.0
26
 
27
  # ── Trained classifiers (Row 2 — always bootstrap on startup, always green) ──
28
  xgboost>=2.0,<3.0
 
30
  catboost>=1.2,<2.0
31
 
32
  # ── Chronos (Amazon T5 zero-shot) — Row 1 foundation (fallback if OOM) ───────
33
+ # PyPI package preferred over git+ on HF Spaces (faster cold start, cached wheels)
34
  chronos-forecasting>=1.3,<2.0
35
 
36
  # ── MOIRAI → uni2ts DROPPED (scipy conflict) — bootstrap fallback active ────
37
  # ── MOMENT → momentfm DROPPED (numpy + hf-hub conflict) — bootstrap active ──
38
 
39
+ # ── NeuralForecast — Row 3 (PatchTST, N-HiTS, iTransformer) ─────────────────
40
+ # Single package covers all three models; bootstrap-trains on startup (CPU safe).
41
+ # Requires torch>=2.1 (satisfied below). Pulls in lightning, optuna automatically.
42
+ neuralforecast>=1.7.0,<2.0
43
+
44
  # ── Shared transformer / neural stack ────────────────────────────────────────
 
45
  torch>=2.2,<3.0
46
  transformers>=4.40,<5.0
47
  huggingface-hub>=0.22,<1.0