Commit
·
39f2169
1
Parent(s):
6c686c9
updated env to use onnx+optimum
Browse files- .python-version +1 -1
- pyproject.toml +6 -6
- uv.lock +0 -0
.python-version
CHANGED
@@ -1 +1 @@
|
|
1 |
-
3.
|
|
|
1 |
+
3.12.10
|
pyproject.toml
CHANGED
@@ -6,22 +6,22 @@ readme = "README.md"
|
|
6 |
authors = [
|
7 |
{ name = "e-hossam96", email = "[email protected]" }
|
8 |
]
|
9 |
-
requires-python = ">=3.
|
10 |
dependencies = [
|
11 |
"accelerate>=1.6.0",
|
12 |
-
"bitsandbytes>=0.45.5",
|
13 |
"fastapi>=0.115.12",
|
|
|
14 |
"torch>=2.7.0",
|
15 |
-
"transformers
|
16 |
"uvicorn[standard]>=0.34.2",
|
17 |
]
|
18 |
[tool.uv.sources]
|
19 |
torch = [
|
20 |
-
{ index = "pytorch-
|
21 |
]
|
22 |
[[tool.uv.index]]
|
23 |
-
name = "pytorch-
|
24 |
-
url = "https://download.pytorch.org/whl/
|
25 |
explicit = true
|
26 |
license = { text = "MIT" }
|
27 |
classifiers = [
|
|
|
6 |
authors = [
|
7 |
{ name = "e-hossam96", email = "[email protected]" }
|
8 |
]
|
9 |
+
requires-python = ">=3.12.10"
|
10 |
dependencies = [
|
11 |
"accelerate>=1.6.0",
|
|
|
12 |
"fastapi>=0.115.12",
|
13 |
+
"optimum[onnxruntime]==1.24.0",
|
14 |
"torch>=2.7.0",
|
15 |
+
"transformers<4.49.0",
|
16 |
"uvicorn[standard]>=0.34.2",
|
17 |
]
|
18 |
[tool.uv.sources]
|
19 |
torch = [
|
20 |
+
{ index = "pytorch-cpu" },
|
21 |
]
|
22 |
[[tool.uv.index]]
|
23 |
+
name = "pytorch-cpu"
|
24 |
+
url = "https://download.pytorch.org/whl/cpu"
|
25 |
explicit = true
|
26 |
license = { text = "MIT" }
|
27 |
classifiers = [
|
uv.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|