File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
StabilityMatrix.Core/Models/Packages Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -176,14 +176,16 @@ public override async Task InstallPackage(
176176 torchIndex is TorchIndex . Cuda
177177 && ( SettingsManager . Settings . PreferredGpu ? . IsBlackwellGpu ( ) ?? HardwareHelper . HasBlackwellGpu ( ) ) ;
178178
179+ var isAmd = torchIndex is TorchIndex . Rocm ;
180+
179181 var config = new PipInstallConfig
180182 {
181183 PrePipInstallArgs = [ "joblib" ] ,
182184 RequirementsFilePaths = requirementsPaths ,
183- TorchVersion = isBlackwell ? "" : "==2.3.1 ",
184- TorchvisionVersion = isBlackwell ? "" : "==0.18.1 ",
185- CudaIndex = isBlackwell ? "cu128" : "cu121 " ,
186- RocmIndex = "rocm5.7 " ,
185+ TorchVersion = " ",
186+ TorchvisionVersion = " ",
187+ CudaIndex = isBlackwell ? "cu128" : "cu126 " ,
188+ RocmIndex = "rocm6.4 " ,
187189 ExtraPipArgs =
188190 [
189191 "https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip" ,
You can’t perform that action at this time.
0 commit comments