Skip to content

Commit 0a868b8

Browse files
authored
Remove extra else branches from Sage install
1 parent 4a2c64a commit 0a868b8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

StabilityMatrix.Core/Models/PackageModification/InstallSageAttentionStep.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,6 @@ await pyInstallationManager.GetInstallationAsync(pyVersion).ConfigureAwait(false
8989
sageWheelUrl =
9090
$"https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows.post2/sageattention-2.2.0+cu128torch2.8.0.post2-cp39-abi3-win_amd64.whl";
9191
}
92-
else if (torchInfo.Version.Contains("2.7.1") && torchInfo.Version.Contains("cu128"))
93-
{
94-
sageWheelUrl =
95-
$"https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows/sageattention-2.2.0+cu128torch2.7.1-cp310-cp310-win_amd64.whl";
96-
}
97-
else if (torchInfo.Version.Contains("2.8.0") && torchInfo.Version.Contains("cu128"))
98-
{
99-
sageWheelUrl =
100-
$"https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows/sageattention-2.2.0+cu128torch2.8.0-cp310-cp310-win_amd64.whl";
101-
}
10292

10393
var pipArgs = new PipInstallArgs();
10494
if (IsBlackwellGpu)

0 commit comments

Comments
 (0)