Skip to content

Commit 814ee3b

Browse files
authored
Merge branch 'LykosAI:main' into main
2 parents 612de02 + 7fa112e commit 814ee3b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

StabilityMatrix.Core/Models/Packages/SDWebForge.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)