Skip to content

Commit b632936

Browse files
authored
Merge pull request #1187 from ionite34/sync-fork
Sync fork
2 parents 612de02 + 8abd333 commit b632936

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1616
- Updated to cu130 torch index for ComfyUI installs with Nvidia GPUs
1717
- Consolidated and fixed AMD GPU architecture detection
1818
- Updated SageAttention installer to latest v2.2.0-windows.post4 version
19+
- Updated torch index for Forge-based UIs to rocm6.4 / cu128 depending on GPU - thanks to @NeuralFault!
1920
### Fixed
2021
- Fixed [#1450](https://github.com/LykosAI/StabilityMatrix/issues/1450) - Older SD.Next not launching due to forced `--uv` argument
2122
- Fixed duplicate custom node installations when installing workflows from the Workflow Browser - thanks again to @NeuralFault!

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)