e-hossam96 commited on
Commit
39f2169
·
1 Parent(s): 6c686c9

updated env to use onnx+optimum

Browse files
Files changed (3) hide show
  1. .python-version +1 -1
  2. pyproject.toml +6 -6
  3. uv.lock +0 -0
.python-version CHANGED
@@ -1 +1 @@
1
- 3.13.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.13.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>=4.51.3",
16
  "uvicorn[standard]>=0.34.2",
17
  ]
18
  [tool.uv.sources]
19
  torch = [
20
- { index = "pytorch-cu128" },
21
  ]
22
  [[tool.uv.index]]
23
- name = "pytorch-cu128"
24
- url = "https://download.pytorch.org/whl/cu128"
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