-
Notifications
You must be signed in to change notification settings - Fork 399
Description
Hello, i installed Swarm on my machine and everything was good. I ran out of disk space so i moved the swarm folder from one drive to the other. the main Stable Diffusion v1.5 model worked, but i installed wan2.1 model recently and it says the error 'No backends available!'. I updated the paths for ModelRoot, clip, and diffusion_models/unet and still no backends. the models are in the folder models/diffusion_models. Thanks for the help
Here's some console lines that might help :
[Error] Self-Start ComfyUI-4 on port 7821 failed. Restarting per configuration AutoRestart=true...
23:05:55.937 [Warning]
23:05:55.938 [Warning] Your system memory usage exceeded 80.1% just before the backend process failed. This might indicate a memory overload.
23:05:55.939 [Warning] You appear to have a small or disabled pagefile (28.9 GiB). You should enable/expand it to prevent memory oveloads. See https://www.windowscentral.com/software-apps/windows-11/how-to-manage-virtual-memory-on-windows-11 for more info. Size it to at least 16GiB (larger is better, 32GiB+ recommended).
23:05:55.940 [Warning]
23:05:56.303 [Warning] [BackendHandler] No backends are available! Cannot generate anything.
23:05:56.304 [Error] [BackendHandler] Backend request #1 failed: No backends available!
23:05:56.476 [Error] [BackendHandler] backend #4 failed to load model with error: System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory1 destination) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.IO.Stream.ReadAtLeastAsyncCore(Memory1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory1 payloadBuffer, CancellationToken cancellationToken)
at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory1 payloadBuffer, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at System.Threading.Tasks.ValueTask1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at SwarmUI.Utils.Utilities.ReceiveData(WebSocket socket, Int32 maxBytes, CancellationToken limit) in C:\Users\willi\SwarmUI\src\Utils\Utilities.cs:line 267
at SwarmUI.Builtin_ComfyUIBackend.ComfyUIAPIAbstractBackend.AwaitJobLive(String workflow, String batchId, Action`1 takeOutput, T2IParamInput user_input, CancellationToken interrupt) in C:\Users\willi\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\ComfyUIAPIAbstractBackend.cs:line 291
at SwarmUI.Builtin_ComfyUIBackend.ComfyUIAPIAbstractBackend.LoadModel(T2IModel model, T2IParamInput upstreamInput) in C:\Users\willi\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\ComfyUIAPIAbstractBackend.cs:line 858
23:05:56.479 [Warning] [BackendHandler] backend #4 failed to load model wan2.1_i2v_480p_14B_bf16.safetensors