Comments (12)
That looks like you might just need to rerun it, or that .NET failed to install for some reason? Just retry running it - if it still fails the same way, check https://dotnet.microsoft.com/en-us/download/dotnet/7.0 and see if installing manually that way that resolves it?
from stableswarmui.
Did a manual install of the SDK 7.0.306 and then the ASP.NET Core Runtime 7.0.9 and .NET Desktop Runtime 7.0.9 (in hindsight, was unnecessary cause the SDK provides those) and, after each install, this still happened.
C:\AI\StableSwarmUI>launch-windows.bat --launch_mode webinstall
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'build' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'src\bin\live_release\StableSwarmUI.dll' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
I'd restart my computer but that would close discord so it'll have to wait till after.
from stableswarmui.
Restarting did not fix the issue.
from stableswarmui.
Crashed for me as well. Any guidance would be helpful. Thanks!
MSBuild version 17.6.8+c70978d4d for .NET
Determining projects to restore...
All projects are up-to-date for restore.
StableSwarmUI -> C:\StableSwarmUI\StableSwarmUI\src\bin\live_release\StableSwarmUI.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.75
14:46:15.814 [Init] === StableSwarmUI Starting ===
14:46:15.854 [Init] Prepping extension: StableSwarmUI.Builtin_StabilityAPIExtension.StabilityAPIExtension...
14:46:15.862 [Init] Prepping extension: StableSwarmUI.Builtin_ScorersExtension.ScorersExtension...
14:46:15.862 [Init] Prepping extension: StableSwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
14:46:15.863 [Init] Prepping extension: StableSwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
14:46:15.863 [Init] Prepping extension: StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
14:46:15.864 [Init] Prepping extension: StableSwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
14:46:15.889 [Init] Parsing command line...
14:46:15.890 [Init] Loading settings file...
14:46:15.897 [Init] Re-saving settings file...
14:46:15.906 [Init] Applying command line settings...
14:46:15.918 [Init] Prepping options...
14:46:15.998 [Init] Loading models list...
14:46:15.999 [Init] Loading backends...
14:46:16.000 [Init] Loading backends from file...
14:46:16.001 [Init] Prepping API...
14:46:16.002 [Init] Prepping webserver...
14:46:16.121 [Init] Scan for web extensions...
14:46:16.122 [Init] Readying extensions for launch...
14:46:16.123 [Init] Launching server...
14:46:16.123 [Init] Starting webserver on http://localhost:7801
14:46:16.146 [Init] Launch web browser to install page...
14:46:16.181 [Init] Program is running.
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
An unhandled exception has occurred while executing the request.
System.ArgumentException: At least one object must implement IComparable.
at System.Collections.Comparer.Compare(Object a, Object b)
at System.Collections.Generic.ObjectComparer1.Compare(T x, T y) at System.Linq.CachingComparer
2.Compare(TElement element, Boolean cacheLower)
at System.Linq.OrderedEnumerable1.TryGetFirst(Boolean& found) at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable
1 source, Boolean& found)
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at StableSwarmUI.Utils.WebUtil.CheckGPUIsSufficient() in C:\StableSwarmUI\StableSwarmUI\src\Utils\WebUtil.cs:line 59 at StableSwarmUI.Pages.Pages_Install.ExecuteAsync() in C:\StableSwarmUI\StableSwarmUI\src\Pages\Install.cshtml:line 179 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable
1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at StableSwarmUI.Core.WebServer.<>c.<b__19_1>d.MoveNext() in C:\StableSwarmUI\StableSwarmUI\src\Core\WebServer.cs:line 125
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
from stableswarmui.
@ptmarks that's a different error - simple code error, fixed with the above commit
from stableswarmui.
After uninstalling every instance of .NET SDK, .NET, ASP.NET and Microsoft Windows Desktop Runtime, and then reinstalling just the SDK, running install-windows.bat, and running launch-windows.bat --launch_mode webinstall, it still didn't work. ran it three more times, still no. deleted folder, grabbed newest install-windows.bat and ran it. didn't work. deleted folder and ran it again and then launch-windows.bat --launch_mode webinstall. still didn't work. deleted the folder, ran install-windows.bat and, at this point, i was out of ideas, so I tried just double-clicking launch-windows.bat instead of the launch-windows.bat --launch_mode webinstall and now it's working.
I don't know why. I hypothesize that it looked for .NET and grabbed whatever it saw, which was the wrong version, like a similar issue I had with CUDA in the past, but I don't actually know.I've typed it all out here and in discord in case it helps anybody else.
The below pictures are to show my environment before uninstalling all those whatnots.
from stableswarmui.
from stableswarmui.
from stableswarmui.
native support for LoRAs is TODO, however:
- if you're using the Comfy backend, just pop over to the Comfy Workflow tab, and add a LoRA node and you're good.
- if you're using the Auto WebUI backend, just add the lora name in the prompt, like
<lora:myfile:1>
from stableswarmui.
from stableswarmui.
To do a stress-test to see what your multiple GPUs can do, just generate a large batch (set "Images" high) or use the Grid Generator tool.
(Make sure you have both GPUs enabled as backends first btw)
Native integration and/or extensions for tools like Deforum is long-term goal, but not during the alpha stage.
btw if you have more questions please open a post on the Discussions tab, so you're not hijacking Feanix's issue post further.
from stableswarmui.
I found out why the .net install issues! If you had a 32-bit copy of .net installed in the past, windows favors that and ignores the 64-bit version -- I've fixed it to now force a preference for 64-bit, so it should Just Work ™️ !
from stableswarmui.
Related Issues (20)
- I cannot complete the installation. The error message is "StableSwarmUI\src\WebAPI\API.cs:line 124". What should I do? Please advise me, thanks! HOT 1
- Bug: If you drag an image from the image browser into the image display it can become low resolution HOT 2
- Can't install on linux ubuntu
- Upscale without refine? HOT 2
- Error when loading kolors HOT 2
- Right clicking registers as left click - Linux HOT 2
- Getting ComfyUI assertion error when generating HOT 2
- Comfy Node Does Not Exist HOT 4
- MultiGPU working quetions HOT 2
- Unable to load existing ComfyUI HOT 4
- [ Feature Request ] Tac Completer HOT 2
- json workflows won't load HOT 5
- AMD GPU it just doesnt work idk what to do HOT 1
- Stable Cascade failed when trying to refine with upscaling HOT 3
- ComfyUI TripleCLIPLoader node not detecting clip models HOT 1
- Crash when clicking 'Star' with autosave off HOT 1
- [feature request] Allow manual saving of images to image history when autosave is off HOT 1
- Comfy Workflow tab stuck on spinner, doesn't load HOT 1
- Can't complete instalation HOT 4
- Communication Request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stableswarmui.