diff --git a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs index 90c372d5..5009f942 100644 --- a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs +++ b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs @@ -159,7 +159,7 @@ public class A3WebUI : BaseGitPackage { progress?.Report(new ProgressReport(-1, "Installing PyTorch for CPU", isIndeterminate: true)); Logger.Info("Starting torch install (CPU)..."); - await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsCpu); + await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsCpu, InstallLocation, OnConsoleOutput); } // Install requirements file diff --git a/StabilityMatrix.Core/Models/Packages/ComfyUI.cs b/StabilityMatrix.Core/Models/Packages/ComfyUI.cs index b1632d54..c74b15ce 100644 --- a/StabilityMatrix.Core/Models/Packages/ComfyUI.cs +++ b/StabilityMatrix.Core/Models/Packages/ComfyUI.cs @@ -121,7 +121,7 @@ public class ComfyUI : BaseGitPackage { progress?.Report(new ProgressReport(-1, "Installing PyTorch for CPU", isIndeterminate: true)); Logger.Info("Starting torch install (CPU)..."); - await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsCpu); + await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsCpu, InstallLocation, OnConsoleOutput); } // Install requirements file diff --git a/StabilityMatrix.Core/Models/Packages/VladAutomatic.cs b/StabilityMatrix.Core/Models/Packages/VladAutomatic.cs index 84711712..b55ddf6b 100644 --- a/StabilityMatrix.Core/Models/Packages/VladAutomatic.cs +++ b/StabilityMatrix.Core/Models/Packages/VladAutomatic.cs @@ -161,12 +161,12 @@ public class VladAutomatic : BaseGitPackage else if (gpus.Any(g => g.IsAmd)) { Logger.Info("Starting torch install (DirectML)..."); - await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsDirectML); + await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsDirectML, InstallLocation, OnConsoleOutput); } else { Logger.Info("Starting torch install (CPU)..."); - await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsCpu); + await venvRunner.PipInstall(PyVenvRunner.TorchPipInstallArgsCpu, InstallLocation, OnConsoleOutput); } // Install requirements file