Browse Source

fix A1111 installs

pull/240/head
JT 1 year ago
parent
commit
1a6aecef6f
  1. 5
      StabilityMatrix.Core/Models/Packages/A3WebUI.cs
  2. 1
      StabilityMatrix.Core/Models/Packages/BasePackage.cs

5
StabilityMatrix.Core/Models/Packages/A3WebUI.cs

@ -209,6 +209,11 @@ public class A3WebUI : BaseGitPackage
throw new ArgumentOutOfRangeException(nameof(torchVersion), torchVersion, null);
}
if (versionOptions.VersionTag.Contains("1.6.0"))
{
await venvRunner.PipInstall("httpx==0.24.1", onConsoleOutput);
}
// Install requirements file
progress?.Report(
new ProgressReport(-1f, "Installing Package Requirements", isIndeterminate: true)

1
StabilityMatrix.Core/Models/Packages/BasePackage.cs

@ -192,6 +192,7 @@ public abstract class BasePackage
.PipInstall(
new PipInstallArgs()
.WithTorch("==2.0.1")
.WithTorchVision("==0.15.2")
.WithXFormers("==0.0.20")
.WithTorchExtraIndex("cu118"),
onConsoleOutput

Loading…
Cancel
Save