Rawal Khirodkar commited on
Commit
8aae515
·
1 Parent(s): 5f5f544

Pin Python 3.12 + torch 2.7.1 + mmcv 2.2.0 (verified locally)

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +8 -9
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 4.42.0
8
  app_file: app.py
9
- python_version: "3.10"
10
  pinned: false
11
  license: other
12
  license_name: sapiens2-license
 
6
  sdk: gradio
7
  sdk_version: 4.42.0
8
  app_file: app.py
9
+ python_version: "3.12"
10
  pinned: false
11
  license: other
12
  license_name: sapiens2-license
requirements.txt CHANGED
@@ -1,9 +1,9 @@
1
  gradio==4.42.0
2
  spaces
3
 
4
- # Pinned to versions compatible with mmcv 2.1.0 (which needs Python ≤3.11, torch ≤2.1).
5
- torch==2.1.2
6
- torchvision==0.16.2
7
 
8
  numpy
9
  opencv-python
@@ -12,8 +12,7 @@ matplotlib
12
  safetensors
13
  huggingface_hub
14
 
15
- # Sapiens2 deps (sapiens2 source is vendored under ./sapiens/, not pip-installed,
16
- # because its requires-python pins 3.12 but the inference path works on 3.10+).
17
  tqdm
18
  scipy
19
  iopath
@@ -22,7 +21,7 @@ termcolor
22
  accelerate
23
  rich
24
 
25
- # RTMDet person detector stack
26
- mmengine==0.10.5
27
- mmcv==2.1.0
28
- mmdet==3.2.0
 
1
  gradio==4.42.0
2
  spaces
3
 
4
+ # Pinned to versions verified working together (sapiens2 + mmdet stack).
5
+ torch==2.7.1
6
+ torchvision==0.22.1
7
 
8
  numpy
9
  opencv-python
 
12
  safetensors
13
  huggingface_hub
14
 
15
+ # Sapiens2 deps (sapiens2 source is vendored under ./sapiens/, not pip-installed).
 
16
  tqdm
17
  scipy
18
  iopath
 
21
  accelerate
22
  rich
23
 
24
+ # RTMDet person detector stack (mmcv 2.2.0 builds cleanly on Python 3.12 + torch 2.7).
25
+ mmengine==0.10.7
26
+ mmcv==2.2.0
27
+ mmdet==3.3.0