IMJONEZZ commited on
Commit
f68cd1e
·
1 Parent(s): 69f9134

space: torch 2.10 — mamba wheels demand triton>=3.5, impossible under torch 2.8

Browse files
Files changed (1) hide show
  1. requirements.txt +7 -4
requirements.txt CHANGED
@@ -5,12 +5,15 @@ rich>=13.0
5
  pyyaml>=6.0
6
  httpx>=0.27
7
  uvicorn[standard]>=0.30
8
- torch==2.8.0
 
 
 
9
  transformers>=4.57
10
  accelerate
11
  bitsandbytes
12
  # Nemotron-H hard-imports mamba_ssm's triton kernels; prebuilt wheels pinned
13
- # to torch 2.8 / cu12 / cp312 because pip's isolated build env can't compile
14
  # them (their setup.py imports torch).
15
- https://github.com/state-spaces/mamba/releases/download/v2.3.2.post1/mamba_ssm-2.3.2.post1+cu12torch2.8cxx11abiTRUE-cp312-cp312-linux_x86_64.whl
16
- https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.6.2.post1/causal_conv1d-1.6.2.post1+cu12torch2.8cxx11abiTRUE-cp312-cp312-linux_x86_64.whl
 
5
  pyyaml>=6.0
6
  httpx>=0.27
7
  uvicorn[standard]>=0.30
8
+ # torch 2.10, not 2.8: the mamba-ssm wheels declare triton>=3.5, which only
9
+ # torch>=2.9 satisfies (torch 2.8 pins triton==3.4 — upstream's "torch2.8"
10
+ # wheel can't actually resolve against torch 2.8).
11
+ torch==2.10.0
12
  transformers>=4.57
13
  accelerate
14
  bitsandbytes
15
  # Nemotron-H hard-imports mamba_ssm's triton kernels; prebuilt wheels pinned
16
+ # to torch 2.10 / cu12 / cp312 because pip's isolated build env can't compile
17
  # them (their setup.py imports torch).
18
+ https://github.com/state-spaces/mamba/releases/download/v2.3.2.post1/mamba_ssm-2.3.2.post1+cu12torch2.10cxx11abiTRUE-cp312-cp312-linux_x86_64.whl
19
+ https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.6.2.post1/causal_conv1d-1.6.2.post1+cu12torch2.10cxx11abiTRUE-cp312-cp312-linux_x86_64.whl