Package
Forge neo
When did the issue occur?
Installing the Package
What GPU / hardware type are you using?
4090
What happened?
I’ve just updated to version 2.15.7, but the package installation issue remains unresolved. However, installing forge neo separately allows it to be installed and run correctly.
For those who have to install it separately for now, here are my launch parameters to load all models, loras, and other files downloaded via matrix, so you don’t need to move them to the standalone forge neo directory.
After setup. Edit the webui-user.bat file using Notepad.
set COMMANDLINE_ARGS=--uv --theme dark --model-ref "E:\last generate\Models" --sage --cuda-stream --pin-shared-memory --cuda-malloc
The --sage argument might not function properly for you since you have to install SageAttention and Triton manually. You can just delete it from the command string.
In this argument --model-ref "This should be the path to the model folder in the matrix installation folder "
For some reason, there were two stable diffusion folders in my matrix folder. When using the --model-ref argument, everything was loaded except for the checkpoints. To resolve this, delete the empty StableDiffusion folder in the matrix installation directory.
Console output
Unpacking resources
Unpacking resources
Cloning into 'E:\last generate\Packages\Stable Diffusion WebUI Forge - Neo'...
Download Complete
Could not install forge-neo (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 2: 'error: Failed to inspect Python interpreter from provided path at venv\Scripts\python.exe\n Caused by: Querying Python at E:\last generate\Packages\Stable Diffusion WebUI Forge - Neo\venv\Scripts\python.exe failed with exit status exit code: 1\n\n[stderr]\nTraceback (most recent call last):\r\n File "", line 1360, in _find_and_load\r\n File "", line 1331, in _find_and_load_unlocked\r\n File "", line 935, in _load_unlocked\r\n File "", line 1019, in exec_module\r\n File "", line 1152, in get_code\r\n File "", line 781, in _compile_bytecode\r\nAttributeError: module 'main' has no attribute 'file'\n'
at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.SetupVenvPure(String installedPackagePath, String venvName, Boolean forceRecreate, Action1 onConsoleOutput, Nullable1 pythonVersion) at StabilityMatrix.Core.Models.Packages.ForgeClassic.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))
Version
2.15.7
What Operating System are you using?
Windows
Package
Forge neo
When did the issue occur?
Installing the Package
What GPU / hardware type are you using?
4090
What happened?
I’ve just updated to version 2.15.7, but the package installation issue remains unresolved. However, installing forge neo separately allows it to be installed and run correctly.
For those who have to install it separately for now, here are my launch parameters to load all models, loras, and other files downloaded via matrix, so you don’t need to move them to the standalone forge neo directory.
After setup. Edit the webui-user.bat file using Notepad.
set COMMANDLINE_ARGS=--uv --theme dark --model-ref "E:\last generate\Models" --sage --cuda-stream --pin-shared-memory --cuda-malloc
The --sage argument might not function properly for you since you have to install SageAttention and Triton manually. You can just delete it from the command string.
In this argument --model-ref "This should be the path to the model folder in the matrix installation folder "
For some reason, there were two stable diffusion folders in my matrix folder. When using the --model-ref argument, everything was loaded except for the checkpoints. To resolve this, delete the empty StableDiffusion folder in the matrix installation directory.
Console output
Unpacking resources
Unpacking resources
Cloning into 'E:\last generate\Packages\Stable Diffusion WebUI Forge - Neo'...
Download Complete
Could not install forge-neo (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 2: 'error: Failed to inspect Python interpreter from provided path at
venv\Scripts\python.exe\n Caused by: Querying Python atE:\last generate\Packages\Stable Diffusion WebUI Forge - Neo\venv\Scripts\python.exefailed with exit status exit code: 1\n\n[stderr]\nTraceback (most recent call last):\r\n File "", line 1360, in _find_and_load\r\n File "", line 1331, in _find_and_load_unlocked\r\n File "", line 935, in _load_unlocked\r\n File "", line 1019, in exec_module\r\n File "", line 1152, in get_code\r\n File "", line 781, in _compile_bytecode\r\nAttributeError: module 'main' has no attribute 'file'\n'at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action
1 outputDataReceived) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.SetupVenvPure(String installedPackagePath, String venvName, Boolean forceRecreate, Action1 onConsoleOutput, Nullable1 pythonVersion) at StabilityMatrix.Core.Models.Packages.ForgeClassic.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))
Version
2.15.7
What Operating System are you using?
Windows