Sayoyo commited on
Commit
1bea0d0
·
1 Parent(s): 140aee6

fix: windows dependencies

Browse files
Files changed (1) hide show
  1. pyproject.toml +8 -4
pyproject.toml CHANGED
@@ -33,8 +33,16 @@ dependencies = [
33
  "nano-vllm",
34
  ]
35
 
 
 
 
 
 
36
  [tool.uv.sources]
37
  nano-vllm = { path = "acestep/third_parts/nano-vllm" }
 
 
 
38
 
39
  [project.scripts]
40
  acestep = "acestep.acestep_v15_pipeline:main"
@@ -47,10 +55,6 @@ build-backend = "hatchling.build"
47
  [dependency-groups]
48
  dev = []
49
 
50
- [[tool.uv.index]]
51
- name = "pytorch"
52
- url = "https://download.pytorch.org/whl/cu128"
53
-
54
  [tool.hatch.build.targets.wheel]
55
  packages = ["acestep"]
56
 
 
33
  "nano-vllm",
34
  ]
35
 
36
+ [[tool.uv.index]]
37
+ name = "pytorch-cu128"
38
+ url = "https://download.pytorch.org/whl/cu128"
39
+ explicit = true
40
+
41
  [tool.uv.sources]
42
  nano-vllm = { path = "acestep/third_parts/nano-vllm" }
43
+ torch = { index = "pytorch-cu128" }
44
+ torchvision = { index = "pytorch-cu128" }
45
+ torchaudio = { index = "pytorch-cu128" }
46
 
47
  [project.scripts]
48
  acestep = "acestep.acestep_v15_pipeline:main"
 
55
  [dependency-groups]
56
  dev = []
57
 
 
 
 
 
58
  [tool.hatch.build.targets.wheel]
59
  packages = ["acestep"]
60