Oleg Lavrovsky commited on
Commit
84dff3e
·
unverified ·
1 Parent(s): 0fec93c

Updated requirements

Browse files
Files changed (3) hide show
  1. pyproject.toml +8 -8
  2. requirements.txt +170 -18
  3. uv.lock +0 -0
pyproject.toml CHANGED
@@ -1,16 +1,16 @@
1
  [project]
2
  name = "fastapi-apertus"
3
- version = "0.1.0"
4
  description = "A small API for Apertus LLM on Hugging Face"
5
  readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
8
- "accelerate>=1.10",
9
- "fastapi>=0.116",
10
  "pydantic>=2.11",
11
- "torch>=2.8.0",
12
- "transformers>=4.56.0",
13
- "compressed-tensors>=0.11.0",
14
- "numpy>=2.3.2",
15
- "uvicorn[standard]>=0.35.0",
16
  ]
 
1
  [project]
2
  name = "fastapi-apertus"
3
+ version = "0.1.1"
4
  description = "A small API for Apertus LLM on Hugging Face"
5
  readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
8
+ "accelerate>=1.12.0",
9
+ "fastapi>=0.129",
10
  "pydantic>=2.11",
11
+ "torch>=2.10.0",
12
+ "transformers>=5.2.0",
13
+ "compressed-tensors>=0.13.0",
14
+ "numpy>=2.4.2",
15
+ "uvicorn[standard]>=0.41.0",
16
  ]
requirements.txt CHANGED
@@ -1,63 +1,215 @@
1
  # This file was autogenerated by uv via the following command:
2
- # uv export --no-hashes
3
- accelerate==1.10.1
 
 
 
 
 
4
  annotated-types==0.7.0
 
5
  anyio==4.10.0
 
 
 
 
6
  certifi==2025.8.3
7
- charset-normalizer==3.4.3
 
 
8
  click==8.2.1
 
 
 
9
  colorama==0.4.6 ; sys_platform == 'win32'
10
- compressed-tensors==0.11.0
11
- fastapi==0.116.1
 
 
 
 
 
 
 
 
 
 
 
12
  filelock==3.19.1
13
- frozendict==2.4.6
 
 
14
  fsspec==2025.9.0
 
 
 
15
  h11==0.16.0
16
- hf-xet==1.1.9 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
 
 
 
 
 
 
17
  httptools==0.6.4
18
- huggingface-hub==0.34.4
 
 
 
 
 
 
 
19
  idna==3.10
 
 
 
20
  jinja2==3.1.6
 
 
 
 
 
21
  markupsafe==3.0.2
 
 
 
22
  mpmath==1.3.0
 
23
  networkx==3.5
24
- numpy==2.3.2
 
 
 
 
 
25
  nvidia-cublas-cu12==12.8.4.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
 
 
 
26
  nvidia-cuda-cupti-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
27
  nvidia-cuda-nvrtc-cu12==12.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
28
  nvidia-cuda-runtime-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
29
  nvidia-cudnn-cu12==9.10.2.21 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
30
  nvidia-cufft-cu12==11.3.3.83 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
31
  nvidia-cufile-cu12==1.13.1.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
32
  nvidia-curand-cu12==10.3.9.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
33
  nvidia-cusolver-cu12==11.7.3.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
34
  nvidia-cusparse-cu12==12.5.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
 
 
35
  nvidia-cusparselt-cu12==0.7.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
36
- nvidia-nccl-cu12==2.27.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
 
37
  nvidia-nvjitlink-cu12==12.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
 
 
 
 
 
 
38
  nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
39
  packaging==25.0
 
 
 
 
40
  psutil==7.0.0
 
41
  pydantic==2.11.7
 
 
 
 
42
  pydantic-core==2.33.2
 
 
 
43
  python-dotenv==1.1.1
 
44
  pyyaml==6.0.2
 
 
 
 
 
45
  regex==2025.9.1
46
- requests==2.32.5
 
 
47
  safetensors==0.6.2
 
 
 
48
  setuptools==80.9.0
 
 
 
 
 
49
  sniffio==1.3.1
 
50
  starlette==0.47.3
 
51
  sympy==1.14.0
52
- tokenizers==0.22.0
53
- torch==2.8.0
 
 
 
 
 
 
54
  tqdm==4.67.1
55
- transformers==4.56.0
56
- triton==3.4.0 ; platform_machine == 'x86_64' and sys_platform == 'linux'
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  typing-extensions==4.15.0
58
- typing-inspection==0.4.1
59
- urllib3==2.5.0
60
- uvicorn==0.35.0
 
 
 
 
 
 
 
 
 
 
 
 
61
  uvloop==0.21.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
 
62
  watchfiles==1.1.0
 
63
  websockets==15.0.1
 
 
 
 
1
  # This file was autogenerated by uv via the following command:
2
+ # uv export --no-dev --no-hashes
3
+ accelerate==1.12.0
4
+ # via fastapi-apertus
5
+ annotated-doc==0.0.4
6
+ # via
7
+ # fastapi
8
+ # typer
9
  annotated-types==0.7.0
10
+ # via pydantic
11
  anyio==4.10.0
12
+ # via
13
+ # httpx
14
+ # starlette
15
+ # watchfiles
16
  certifi==2025.8.3
17
+ # via
18
+ # httpcore
19
+ # httpx
20
  click==8.2.1
21
+ # via
22
+ # typer
23
+ # uvicorn
24
  colorama==0.4.6 ; sys_platform == 'win32'
25
+ # via
26
+ # click
27
+ # loguru
28
+ # tqdm
29
+ # uvicorn
30
+ compressed-tensors==0.13.0
31
+ # via fastapi-apertus
32
+ cuda-bindings==12.9.4 ; platform_machine == 'x86_64' and sys_platform == 'linux'
33
+ # via torch
34
+ cuda-pathfinder==1.3.4 ; platform_machine == 'x86_64' and sys_platform == 'linux'
35
+ # via cuda-bindings
36
+ fastapi==0.129.0
37
+ # via fastapi-apertus
38
  filelock==3.19.1
39
+ # via
40
+ # huggingface-hub
41
+ # torch
42
  fsspec==2025.9.0
43
+ # via
44
+ # huggingface-hub
45
+ # torch
46
  h11==0.16.0
47
+ # via
48
+ # httpcore
49
+ # uvicorn
50
+ hf-xet==1.2.0 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
51
+ # via huggingface-hub
52
+ httpcore==1.0.9
53
+ # via httpx
54
  httptools==0.6.4
55
+ # via uvicorn
56
+ httpx==0.28.1
57
+ # via huggingface-hub
58
+ huggingface-hub==1.4.1
59
+ # via
60
+ # accelerate
61
+ # tokenizers
62
+ # transformers
63
  idna==3.10
64
+ # via
65
+ # anyio
66
+ # httpx
67
  jinja2==3.1.6
68
+ # via torch
69
+ loguru==0.7.3
70
+ # via compressed-tensors
71
+ markdown-it-py==4.0.0
72
+ # via rich
73
  markupsafe==3.0.2
74
+ # via jinja2
75
+ mdurl==0.1.2
76
+ # via markdown-it-py
77
  mpmath==1.3.0
78
+ # via sympy
79
  networkx==3.5
80
+ # via torch
81
+ numpy==2.4.2
82
+ # via
83
+ # accelerate
84
+ # fastapi-apertus
85
+ # transformers
86
  nvidia-cublas-cu12==12.8.4.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
87
+ # via
88
+ # nvidia-cudnn-cu12
89
+ # nvidia-cusolver-cu12
90
+ # torch
91
  nvidia-cuda-cupti-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
92
+ # via torch
93
  nvidia-cuda-nvrtc-cu12==12.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
94
+ # via torch
95
  nvidia-cuda-runtime-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
96
+ # via torch
97
  nvidia-cudnn-cu12==9.10.2.21 ; platform_machine == 'x86_64' and sys_platform == 'linux'
98
+ # via torch
99
  nvidia-cufft-cu12==11.3.3.83 ; platform_machine == 'x86_64' and sys_platform == 'linux'
100
+ # via torch
101
  nvidia-cufile-cu12==1.13.1.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
102
+ # via torch
103
  nvidia-curand-cu12==10.3.9.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
104
+ # via torch
105
  nvidia-cusolver-cu12==11.7.3.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
106
+ # via torch
107
  nvidia-cusparse-cu12==12.5.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
108
+ # via
109
+ # nvidia-cusolver-cu12
110
+ # torch
111
  nvidia-cusparselt-cu12==0.7.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
112
+ # via torch
113
+ nvidia-nccl-cu12==2.27.5 ; platform_machine == 'x86_64' and sys_platform == 'linux'
114
+ # via torch
115
  nvidia-nvjitlink-cu12==12.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
116
+ # via
117
+ # nvidia-cufft-cu12
118
+ # nvidia-cusolver-cu12
119
+ # nvidia-cusparse-cu12
120
+ # torch
121
+ nvidia-nvshmem-cu12==3.4.5 ; platform_machine == 'x86_64' and sys_platform == 'linux'
122
+ # via torch
123
  nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
124
+ # via torch
125
  packaging==25.0
126
+ # via
127
+ # accelerate
128
+ # huggingface-hub
129
+ # transformers
130
  psutil==7.0.0
131
+ # via accelerate
132
  pydantic==2.11.7
133
+ # via
134
+ # compressed-tensors
135
+ # fastapi
136
+ # fastapi-apertus
137
  pydantic-core==2.33.2
138
+ # via pydantic
139
+ pygments==2.19.2
140
+ # via rich
141
  python-dotenv==1.1.1
142
+ # via uvicorn
143
  pyyaml==6.0.2
144
+ # via
145
+ # accelerate
146
+ # huggingface-hub
147
+ # transformers
148
+ # uvicorn
149
  regex==2025.9.1
150
+ # via transformers
151
+ rich==14.3.2
152
+ # via typer
153
  safetensors==0.6.2
154
+ # via
155
+ # accelerate
156
+ # transformers
157
  setuptools==80.9.0
158
+ # via torch
159
+ shellingham==1.5.4
160
+ # via
161
+ # huggingface-hub
162
+ # typer
163
  sniffio==1.3.1
164
+ # via anyio
165
  starlette==0.47.3
166
+ # via fastapi
167
  sympy==1.14.0
168
+ # via torch
169
+ tokenizers==0.22.2
170
+ # via transformers
171
+ torch==2.10.0
172
+ # via
173
+ # accelerate
174
+ # compressed-tensors
175
+ # fastapi-apertus
176
  tqdm==4.67.1
177
+ # via
178
+ # huggingface-hub
179
+ # transformers
180
+ transformers==5.2.0
181
+ # via
182
+ # compressed-tensors
183
+ # fastapi-apertus
184
+ triton==3.6.0 ; platform_machine == 'x86_64' and sys_platform == 'linux'
185
+ # via torch
186
+ typer==0.24.0
187
+ # via typer-slim
188
+ typer-slim==0.24.0
189
+ # via
190
+ # huggingface-hub
191
+ # transformers
192
  typing-extensions==4.15.0
193
+ # via
194
+ # anyio
195
+ # fastapi
196
+ # huggingface-hub
197
+ # pydantic
198
+ # pydantic-core
199
+ # starlette
200
+ # torch
201
+ # typing-inspection
202
+ typing-inspection==0.4.2
203
+ # via
204
+ # fastapi
205
+ # pydantic
206
+ uvicorn==0.41.0
207
+ # via fastapi-apertus
208
  uvloop==0.21.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
209
+ # via uvicorn
210
  watchfiles==1.1.0
211
+ # via uvicorn
212
  websockets==15.0.1
213
+ # via uvicorn
214
+ win32-setctime==1.2.0 ; sys_platform == 'win32'
215
+ # via loguru
uv.lock CHANGED
The diff for this file is too large to render. See raw diff