File tree Expand file tree Collapse file tree 2 files changed +397
-226
lines changed
Expand file tree Collapse file tree 2 files changed +397
-226
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ cu118 = [
7373 " torch>=2.0.0" ,
7474 " torchvision>=0.15.1" ,
7575]
76+ cu128 = [
77+ " torch>=2.7.0 ; python_version >= '3.9'" ,
78+ " torchvision>=0.22.0 ; python_version >= '3.9'" ,
79+ ]
7680models-mmpose = [
7781 " openmim>=0.3.9" ,
7882 # mmpose/requirements/runtime.txt
@@ -163,6 +167,7 @@ conflicts = [
163167 [
164168 { extra = " cpu" },
165169 { extra = " cu118" },
170+ { extra = " cu128" },
166171 ],
167172]
168173no-build-isolation-package = [
@@ -179,15 +184,22 @@ name = "pytorch-cu118"
179184url = " https://download.pytorch.org/whl/cu118"
180185explicit = true
181186
187+ [[tool .uv .index ]]
188+ name = " pytorch-cu128"
189+ url = " https://download.pytorch.org/whl/cu128"
190+ explicit = true
191+
182192[tool .uv .sources ]
183193compressai = { workspace = true }
184194torch = [
185195 { index = " pytorch-cpu" , extra = " cpu" },
186196 { index = " pytorch-cu118" , extra = " cu118" },
197+ { index = " pytorch-cu128" , extra = " cu128" },
187198]
188199torchvision = [
189200 { index = " pytorch-cpu" , extra = " cpu" },
190201 { index = " pytorch-cu118" , extra = " cu118" },
202+ { index = " pytorch-cu128" , extra = " cu128" },
191203]
192204
193205[tool .uv .workspace ]
You can’t perform that action at this time.
0 commit comments