#🐝|swarm-ui

1 messages · Page 1 of 1 (latest)

bleak cedar
#

🐝

dim sonnet
#

hey @toxic shale @untold hearth and... idk who else to ping, but, channel here!

untold hearth
#

wup ho

uneven moth
#

Party time!

dim sonnet
#

i got the hive, who's got the honey?

junior sierra
uneven moth
#

She does!

tranquil jetty
#

Joined the Hive

mellow mica
thorn harness
dim sonnet
#

Which naturally starts off by pointing out the fact that the UI is full of self-explaining features like the ? doc buttons so the guide is a bit pointless but~ lol

signal perch
#

Less than 12 freaking seconds on my RTX3070 what the hell is this sorcery ?

dim sonnet
signal perch
signal perch
dim sonnet
#

0.0

#

what were your settings?

signal perch
#

Oh wait I put Refiner Upscale on 2x thinking it was the normal way of upscaling, I'm generating a new image with refiner upscale to 1 then will launch a 2x upscale

#

Once an image has been upscaled it seems that next generations are upscaled by default as my next generations are not base resolution but twice

#

It may be related to aspect ratio, because it seems reversed when generating base image, I have to choose 9/16 to get landscape 16/9 images, so if upscale is in the good ratio, it may split the image in tiles ?

sharp idol
#

How much stableswarm is better than automatic in speed and vram usage?

dim sonnet
#

the reversal was probably also a side effect of that?

signal perch
dim sonnet
#
  • added update.bat, the most complicated script in the world, definitely not just git pull in a file
#

(I need to make a proper 'check for updates - do you wanna update?' thingy)

signal perch
# dim sonnet oooh, oops, I see why, fixed

Yup, base resolution seems to be back when launching a new generation after an upscale. Though upscales are still weird on my side :/ Like the optical illusions hurting the brain lol

signal perch
dim sonnet
#

you might try a lower refiner control percentage?

#

... also full disclosure i've never tested localities that use , as a decimal separator so it's possible bugs are introduced from that

signal perch
dim sonnet
#

i'm wondering if maybe there's a bug preventing metadata from saving for you, or if it's just a file management issue, cause that image you posted again doesn't have metadata

#

... or, wait, other theory

#

oh my god discord strips it rip

#

okay i have to find a way to make discord not do that

signal perch
# dim sonnet uh... if you select the image in the image history view, does metadata show up? ...

Oh, yes :
prompt: a beautiful portrait photography of a sexy nigerian woman, ultra detailed, intricate details, 8k, 50mm, Panasonic GH5, negativeprompt: out of focus, blurry, ugly, weird hands, extra fingers, poorly drawn hands, illustration, 3D, painting, cartoon, out of focus, cropped, images: 1, seed: 490927054, steps: 15, cfgscale: 7, aspectratio: 16:9, width: 2688, height: 1536, refinermodel: sd_xl_refiner_1.0.safetensors, refinecontrolpercentage: 0.3, refinermethod: StepSwap, refinerupscalemethod: latent-nearest-exact, model: sd_xl_base_1.0.safetensors, comfyuisampler: ddim, comfyuischeduler: ddim_uniform, generation_time: 0.00 (prep) and 129.31 (gen) seconds,

#

The image saved from browser has the same output metadata

tranquil jetty
dim sonnet
#

i think they partially reverted it ie they remove less data

#

but swarmui's metadata goes into a real exif key unlike what other ui's do so i bet it's on the discord blocklist

tranquil jetty
#

Ohhh okay

signal perch
#

I can share ComfyUI images with all the workflow/metadata intact, but it's png, maybe they remove metadata from jpeg only ?

dim sonnet
#

leessee

#

oh shit yeah it's still thing in the png

#

it's just jpegs they hate them

#

oh wait no

#

lmao

#

they stripped my metadata, but it has comfyui's prompt metadata

#

so yeah it's the key okay

acoustic briar
#

Just opened a minor issue on the GitHub - I ran into a filesystem error during setup that I traced to some counterintuitive logic around ModelRoot and SDModelFolder settings. https://github.com/Stability-AI/StableSwarmUI/issues/12

GitHub

I already have Auto WebUI installed, so while setting up StableSwarmUI, I followed this step of the basic usage steps: If you have an Auto WebUI or ComfyUI folder with models in it, go to the Serve...

#

I could code up a fix, but I'm pretty sure the fix I have in mind (checking ModelRoot instead of SDModelFolder for an absolute path) would be a breaking change for some users.

acoustic briar
#

(I've coded up a fix that I think avoids breaking any current users whose paths are working right now. I just check whether either setting is an absolute path. If we decide that specifying an absolute SDModelFolder setting should override a relative or absolute ModelRoot. If that sounds like a good idea I can open a PR.)

untold hearth
#

ok so since yesterday Ive rebooted into my W11 setup onthis PC which meant having to install dotnet7 here as well.

No big issue all seemed to install fine, had to do a reboot as it identified some stuff that had some of the files in use .

Went to launch SSUI

grrrrrrrrr bloody dotnet!!!

#

now was there a specif reason I have an older dot net version in W11 but not by W10 install???

hearty notch
#

when I use refiner upscale, I am always getting these artifacts, is this option still under development? or I am missing something out? (upscaled is the right side)

native basin
#

Can you please explain what exactly is the difference between stableswarm and stablestudio?

signal perch
#

upscales are pure nightmare fuel right now lol

hearty notch
#

let's wait for the reply, already asked, no need to flame the conversation with the same question 😄

signal perch
untold hearth
#

@dim sonnet Just popping by to say , glad I could provide some goofd feedback for you on initial install /setup of StableSwarm yesterday .

TBH I doubt I'm going to be using this as a daily driver as I'm not really the traget demographic IMHO.

This would be ideal to manage multiple installations/instances (and I think you said that on github somewhere) but for me I've now got a nice ComfyUI config that works for me

Have it setup so when I F11 my browser I have everything I need where I need it

hearty notch
#

I have to ask, why you are posting your desk?

#

and good lord your cables need some management

untold hearth
untold hearth
real chasm
#

Excuse me what's this channel

untold hearth
untold hearth
hearty notch
#

what are the options we have for naming, and can we use a number sequence for the image name?

hearty notch
#

also, where we can Find the presets? as for someone reason I can't see one preset I created, and the UI is not allowing me to create a new one with the same name

hearty notch
#

looks like the presets are not , friendly?

dim sonnet
dim sonnet
dim sonnet
hearty notch
#

using commas

dim sonnet
dim sonnet
#

commas where

hearty notch
#

in prompts, for an example: photograph , cat will cause an error, and you can not generate while photograph, cat will be ok, this is what I did notice when you are feeding the prompts in presets,

#

I thought to bring it up

dim sonnet
#

that... shouldn't error?

#

can you post the exact error you got?

hearty notch
#

well it did, haha this is why i am sharing with you

hearty notch
#

btw, really amazing UI, the VRAM load and power pull on GPU is amazing

#

also, can was wondering if there is a lora support? and if there is a way to use upscallers too?

shell hamlet
#

@hearty notch I broke it! 😄

#

Too big que 😛

hearty notch
shell hamlet
#

Evening snack time -->

dim sonnet
hearty notch
#

and I really love that {Value} in presets! really nice touch

signal perch
#

I moved Swarm from my SSD having ComfyUI (D:/) to my main Nvme drive (C:/) to get more POWER lol, but now I have this weird "[...]StableSwarmUI\main.py': [Errno 2] No such file or directory" and it now refuses my server backends ComfyUI path, like if it was stripping drive letter

dim sonnet
hearty notch
#

I will try to recreate that error I mentioned now, give me few

signal perch
hearty notch
hearty notch
signal perch
#

Moving back Swarm folder to the ComfyUI drive and it's working again, I have complete path in my server backend config so I don't see why it's breaking when moving it to another drive

dim sonnet
#

(will be diving into code in a few hours here)

signal perch
#

I just bought 16Go RAM to push my system to 32Go and it's a pleasure to be able to listen to Spotify or watch a Youtube video without it stuttering every 2mn while generating lol

hearty notch
#

@dim sonnet if you can add presets to Grid, that will be a very nice option too,

#

also, did notice that presets are not saving image preview when selected,

#

hope you don't mind these comments I am sharing,

dim sonnet
dim sonnet
dim sonnet
hearty notch
dim sonnet
# hearty notch hope that we will see some batch size also in main, I can see only batch count

I have a plan for that, just haven't gotten to it yet - rather than defining the batch count as a number directly, in server settings you define a max-batch, and then when you generate many batchable images it automatically batches them together up to the limit (so it applies to eg grid usage, and in theory even applies on a shared instance if multiple users have the same settings and only differ by prompt/seed, as you can batch different prompts together)

#

(also low priority as SDXL doesn't get tooo much benefit from batching)

hearty notch
#

looking forward to see hi-res fix and upscale working with SDXL

#

loving your UI, really simple and straightforward

dim sonnet
#

you somehow had an image waiting to generate for 20 minutes (1200 seconds)

#

(noting that having a batch going that long doesn't count, an individual gen within the batch was waiting that long)

shell hamlet
signal perch
shell hamlet
#

Then the newer ones started to appear before all the old ones were completed

dim sonnet
#

oo

#

yeah tragically bad luck with the async random ordering

#

gotta fix that already

hearty notch
dim sonnet
#

... you are correct, oof

#

it knows they need to be different per image too wtf

#

oh wait, it's just ignoring them lol

#

there's no applier for those, i see

hearty notch
#

I will avoid updating, and try to play around more with the UI, will make sure to share any anomalies I will encounter, again, really appreciate the nice work, and for sure there is a huge potential

dim sonnet
#

like so

#

(you should probably enable the refiner model still tho, better that way)

hearty notch
# dim sonnet fixed

ah also, the grid, is there anyway to get a get a stitched img? like XYZ plot in WUI?

dim sonnet
#

this button

dim sonnet
#

same issue has been a topic since ye olde auto webui hiresfix days

#

gotta pick ideal params

hearty notch
dim sonnet
#

i might need to do some testing and find clear defaults

#

oh yes i just need to figure out how to scan the list of options for that cleanly, comfyui supports it but has none included out of the box

hearty notch
#

looks like all laten upscale is causing these artifacts

#

and pixle upscale is a bit better, but killing many details,

#

i think will just wait for your update on that

dim sonnet
# hearty notch what are the options we have for naming, and can we use a number sequence for th...

Documented: https://github.com/Stability-AI/StableSwarmUI/blob/master/docs/User Settings.md#path-format
[batch_id] added as well for if you want that, otherwise sequence IDs self-append if you use the same filename repeatedly

GitHub

StableSwarmUI, A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility. - Stability-AI/StableSwarmUI

dim sonnet
#

latent upscale does weird things, i should probably change that to not be default tbh

#

if pixel upscale is good but not detailed enough, increase refiner control

#

(and make sure you enabled a refiner model, the sdxl base struggles with small details a bit, refiner is better at that)

dim sonnet
#

OH a typo is making it load the default wrong that's why

hearty notch
dim sonnet
#

oh, yeah, time sort is the usual way for me, i didn't even think about sequence numbers for sorting lol

hearty notch
#

pixel-bislerp is causing an error:

dim sonnet
#

oh oops was meant to be latent bislerp not pixel

#

fixed

hearty notch
#

I guess I will do a pull on your mark, once you push things that you are working on at the moment, and then I will give it another try and see 🙂

#

correct my observation if I am wrong, with gird render, the main image out of base is like saved somewhere then only grid variants are rendered for the grid, this is why I am seeing super fast grid production???

#

if my observation is correct! that is a very nice one!!!

hearty notch
dim sonnet
#

oh a grid of different upscales! yeah comfy's cache does wonders for that

hearty notch
#

with refiner activated and upscale X2 these are the best usable values

#

so for anyone who like to get some decent qaulity-ish, you can use any pixel upscale with refine control percentage up to 0.4

#

anything over that will start to break the image

#

hence why I did not include the results

#

btw, a seed reset button to random will be nice too,

dim sonnet
signal perch
signal perch
dim sonnet
signal perch
dim sonnet
#

set aspect ratio to 'custom'

signal perch
#

Yes but then we have to calculate the other dimension if I want to stay at like 16/9. With Aspect Ratio Helper you select your ratio, but still have access to width/height, and when you change a value the other one is updated according to the chosen aspect ratio.

#

It's like if custom aspect ratio is default choice, then if we select a fixed aspect ratio one field is updated according to that ratio

dim sonnet
#

ooo

signal perch
#

it's a very cool extension, and in img2img we have an additionnal choice of image based ratio, it takes input image size and if you put like 1024 in width, it will update height according to input image ratio. Very handy for upscaling img2img 🙂

hearty notch
#

aside from that, and in my honest humble opinion there is no need for such calculator, I have to ask if there are any plans to support the extensions like controlnet? or this will be also via ComfyUI workflow?

dim sonnet
dim sonnet
shell hamlet
dim sonnet
barren moat
#

Hey Alex is it possible to use wildcards in your UI or is that not yet ready?

dim sonnet
#

*(note that the order of the todolist is the order they came to mind while writing, not necessarily the order anything happens in)

barren moat
#

Sounds good! Thank you very much!

barren moat
#

That's fantastic!!!

hearty notch
dim sonnet
hearty notch
#

this is where I placed them

#

not showing

dim sonnet
#

have you restarted swarmui since adding them?

#

atm it only reloads that data when a backend loads, which is normally only during startup

hearty notch
#

I did restart

dim sonnet
#

uh... does it show up if you refresh the page?

hearty notch
#

this is why i amwondering what i am not doing correctly

hearty notch
dim sonnet
#

i needa find a way to ... not require a refresh huh

#

it's, uh, complicated - it doesn't know what the options are til a backend is loaded, and you can load the page before backends load if you're quick enough

#

maybe an automatic refresher thingy

hearty notch
#

so for the upscale now, once they are loaded it's just a normal workflow, prompts and hit generate, no further steps are required ?

dim sonnet
#

it refreshes the value list after backends load

dim sonnet
#

... actually wait

#

heh, neat! if refiner control percent is 0 it still works :D as just a blind upscale of the final output

#

need to make it not do VAE encode if you do that tho

hearty notch
#

see with default of 0.3 its doing a good job, but breaking things a bit

#

hope that we can see something close to what hi-res fix used to do with eyes for an example, unless this is an SDXL model thing with bad eyes

dim sonnet
#

to have the final output upscaled

hearty notch
#

i am always keeping the refiner on, is this wrong?

dim sonnet
#

refiner is good to have

#

i like running base-only but i don't generating pictures of humans often tbh

hearty notch
#

and keep it always to zero??

dim sonnet
#

refiner's biggest benefit is humans

#

not always nonono

#

read context

#

I made an option to upscale raw outputs, and that screenshot shows how to do that

hearty notch
#

i use -.2 to 0.4

dim sonnet
#

that is not recommended settings for anything

dim sonnet
hearty notch
#

hold on let me update and try

#

I still need to hit refresh to get the upscale models but this is not an issue, and I think you are also updating documentations? so I can read it later?

#

is this normal: D:\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\_utils.py:830: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() return self.fget.__get__(instance, owner)()

dim sonnet
dim sonnet
dim sonnet
#

if you have this yellow message:

#

then it isn't reloaded yet

#

models won't show up til the yellow box goes away

hearty notch
#

see still getting these odd things when upscale even with reinfer off

dim sonnet
#

you probably want refiner on

hearty notch
#

with on is the same too

dim sonnet
#

which upscaler are you using?

hearty notch
#

ultrasharp

#

and remacri

#

looks like when you go more than 1.5x upscale things start to get weird, is it possible that the upscale model is blowing the render?

#

it's like doubling the refiner job or intensity, hence why can not do more than 1.5x

dim sonnet
#

if you want refiner method to the other option is might do better?

hearty notch
dim sonnet
hearty notch
#

i am trying this as we speak hehe

dim sonnet
#

stepswap might be blowing up raw noise too much, and postapply might work better because it's upscaling a proper image

hearty notch
#

i can confirm that remacri is doing a better job with post apply for sure, today I will be using the comfyui workflow, is there any tip or a youtube you can recommend?

#

or just stick to your github and I can read things from there?

#

still tho upscale is killing lot's of details, I am not sure how this is working, but is there any denoise strength for the upscale?

dim sonnet
#

denoise strength is Refiner Control Percentage

hearty notch
#

I will try using the init img2img also with only upscale to see if there are better results

dim sonnet
#

that's what PostApply is, img2img

hearty notch
dim sonnet
#

oh, upscalers actually just don't have any inputs but the image for some reason

hearty notch
#

then what is init image actaully does?

dim sonnet
hearty notch
#

this is what I am trying as we speak, generate normal img with normal workflow no upscale only refiner, then use the output in ini image only for upscale with no rfiner,

hearty notch
#

these are decent, really job well done, I wonder what are you hiding for us in the offcial release haha

#

will give it a try with other styles too, cuz I really love how presets are managed 😍

#

side note, maybe also a good option to have the shift+arrow keys to control weights on prompts? it's a bit hassle to do it manually also

#

i know that many of us comes from webui background as it was the mainstream way to SD for quite a while hence why I am sharing this too

hearty notch
#

you see this is what I am confused with, the right one is no upscale with 0.35 refiner control, once you have the upscale with 2x it's like rendering things too much and you start to lose all the details,

#

the more we push the upscale the more things get weird, I do not know if this is how upscale supposed to work?

#

oh, could it be that these upscale models are meant for a small base res? like 512?

signal perch
#

the refiner upscale is working great now, I'm using UniversalUpscalerV2-Sharper which is the sharpest upscaler that I have and I can 2x without any "tiling mutation" things

signal perch
#

4x is super slow on my system lol, going from 89sec for the 2x, it announces me 40mn for the 4x 😅 I hope that it will work

hearty notch
#

non google drive?

#

original source?

signal perch
#

That's the link from the upscalers wikipedia page

dim sonnet
#

yeah unfortunately upscaler models have some real sus distribution methods rn

signal perch
#

4x refiner upscale kind of worked though it burnt every details (and took almost 3900sec to generate on my RTX3070 lol)

#

Here is the 2x refiner upscale for comparaison

#

I'm thinking about something : upscales should not take the image prompt as positive but only the quality tokens like "ultra detailed, 8K" etc. , so maybe we should have 2 separate positive prompt inputs ?

shell hamlet
dim sonnet
hearty notch
#

@dim sonnet when i use a comfy workflow I get this error

#

when I run the graph in comfy, it's working, but when I use it in SSUI i get that error

#

am I missing a step?

#

oh nv mind, I restart the server and it's working,

#

however, looks like we can not use presets in this workflow?

dim sonnet
#

so a prompt preset should apply for example

#

(if you have a default prompt input)

#

any nodes that don't match standard, will not work

#

or rather: nodes that don't match standard inputs, won't match standard presets

#

you can create presets for workflows

hearty notch
#

which is not an issue tbh, we can still recreate presets, or create a node that match standard which I am not familiar how to do and that's fine

#

so If i am now understanding this kind of workflow, we basically convert all nods into the main generate tab and control them from there, can you share with me what kind of advantages this will grant us over using comfyui directly?

dim sonnet
#

If you used normal prompt node it would apply as expected

dim sonnet
# hearty notch so If i am now understanding this kind of workflow, we basically convert all nod...

well, A, the interface is just ... nicer to work with for the most part - it's designed to rapidly change things like res/aspect/etc that are very slow to edit in comfy, and to have your prompt/etc right next to the image output for real quick generating, and a persistent clean image history, and etc. B, you can use presets - there are some limitations you're encountering, but you can still use presets. Worst case scenario define it unique to the workflow.
C, you can use grids and other tools like it.

signal perch
#

I'm making some max resolution bound tests with my 8GB RTX3070 and how is it possible that I still didn't had a CUDA OOM crash I'm now generating 2048x2048 images 😱 (without upscaling)

signal perch
#

If I launch with "--loglevel Debug" will I get every step output in the cmd ? Because I started a 3096x3096 image to see if it will run without OOM crash but it's stuck after the base steps for now more than 10mn and I don't know if it's doing anything and if it will start the refiner steps
Edit : closed the server and restarted with the Debug loglevel and now I have my answer on how is it possible to generate this large without upscaling lol : " [Debug] ComfyUI launcher: Warning: Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding." 😄

hearty notch
native basin
hearty notch
native basin
dim sonnet
#

(designed for local first tho)

signal perch
#

[Debug] ComfyUI launcher: Warning: Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding. It doesn't seem to retry with tiled VAE decoding, base steps took 24sec, refiner steps took 1.11mn, and it's now like 14mn that it's stuck on this message. GPU is almost full speed and RAM/VRAM is still used. Is there a way to see if some tiles are being decoded ? (In ComfyUI we can see the status bar moving on the tiled VAE decoding node).

jolly sentinel
#

How does multiple GPU works with SwarmUI? Does it renders one at a time per GPU? Or can it spread one generation across all GPUs?

dim sonnet
jolly sentinel
acoustic briar
#

An unexpected behavior on StableSwarmUI's part cost me a few minutes of confusion today:

When the output filename format contains [seed], the filenames of all images a given job receive the same "seed" value, even though the actual seed used for each image is different. Thus, the seed displayed in a given image's filename might not be the seed used to generate it.

Is this by design, or a bug?

austere epoch
#

Hello, I've just installed stableswarmUI and I get this error, can anyone help me?

signal perch
austere epoch
#

Oh, yeah that was the problem, thanks!

signal perch
hearty notch
acoustic briar
hearty notch
dim sonnet
#

to do it with SD the best bet would be a tiling based approach, where different GPUs handle different tiles

#

or the best approach for quality minded generation is actually already implemented! Generate multiple images on each GPU and use an automatic aesthetic score tool to pick the best ones and keep only things - you can do this with swarm via the Scoring parameters (haven't properly documented how to use this yet but you just gotta install the python thingy and the rest is straightforward after that)

dim sonnet
#

the [seed] value shouldn't be wrong

dim sonnet
signal perch
dim sonnet
jolly sentinel
dim sonnet
#

(very similar to the LLM approach in the PR i linked above, just it has to switch more often than LLMs have to)

dim sonnet
jolly sentinel
dim sonnet
#

no, the model has to be on the GPU that's executing the model, if you don't want everything to be horrifically slow

thorn harness
#

Is there any way in comfyUI to save the images with the prompt in the name for example like in A1111 or at least the seed maybe? To make them unique, that would make it easier for me to store them instead of them all being named the same with numbers dead

dim sonnet
signal perch
#

I think that latest commit broke the UI :/ (or I made a mistake somewhere)

#

(no error message in cmd)

thorn harness
dim sonnet
signal perch
#

Yes it seems to open the browser too soon

dim sonnet
#

fixed it meself

#

if you use that PR, Manager shows up in the swarmui tab for comfy

#

(actually might need to edit a bit more for it to actually work fully too hold on lol)

#

okay now it actually works too lol

thorn harness
signal perch
dim sonnet
#

uh... okay then

#

ideally that should never be needed, but, if it's your preferred quickfix when you see a bug, why not i guess lol

signal perch
#

Yes it's not like if we have to make dozens of changes in settings etc. 🙂 Just the main.py path, models and SD models path, done.

signal perch
#

to import a ComfyUI workflow we just have to import it in the workflow editor, then click on "use this workflow in generate tab" , or once it is in the generate tab we have to tick every node that has been added ? (I'm trying latest Sytan workflow and there's a lot of added things lol)

thick remnant
#

can I install Swarm on a potato and use DreamStudio for generations? swap for a ComfyUI colab server when Im running one?

runic horizon
#

is there any support for AMD?

dim sonnet
dim sonnet
# thick remnant can I install Swarm on a potato and use DreamStudio for generations? swap for a ...

Yep - it's referred to as the StabilityAPI backend - it's an option in the installer, and also in the server->backends page.
atm it's not perfectly integrated - main limitation is just you have to download at least one model so it doesn't complain that you don't have any models, i'll hopefully fix that soon.
Also yes you can boot up comfyui on colab or anywhere else and use that as your backend too

dim sonnet
signal perch
dim sonnet
signal perch
dim sonnet
signal perch
dim sonnet
#

oo, replicated

split swan
dim sonnet
#

also added more debug so if it breaks in the future it'll be easier to track down

signal perch
#

Damn I should be sleeping... 😄

thorn harness
#

Now I need to figure out how to save the images with a better name hmmm

signal perch
thorn harness
#

I just dont get where this applies, if I use a save node in comfy it doesnt work PU_Sadge

signal perch
#

I'm at work and didn't touched it for the moment but I'll check it in a few hours because I prefer starting with the seed

thorn harness
#

Yeah id like the prompt and seed in the name as well, model isnt as important hmmm

#

Maybe it only applies if you use the generate window

signal perch
#

yes I guess Comfy has its own settings for the names, here it is Swarm settings

#

in Comfy you can change it in the "Prefix" part of the save node I think

thorn harness
#

Yeah but stuff like [seed] doesnt seem to work sadcat

thorn harness
#

No I meant in the comfyUI save node, my workflow does seems to do well when I take it into the generate tab sadly

thorn harness
#

with this as file name in comfy you get a unique name with the date and time [time(%Y-%m-%d)]_[time(%H-%M-%S)]
Not the perfect solution but works for me for now

pastel briar
#

will it be possible to use NVLink?
(for VRAM pooling - got 2x2080ti)
thank you

inner sand
#

Hi, new member here, a referral from the ComfyAI server of Olivio Sakaris. Following your project with interest.

trim comet
#

Hi to the Stable community, anyone on silicon mac had success with StableSwarmUI?

The UI start but show : Backends are still loading on the server...
i can select a model and type a prompt.

When i hit Generate button i get this error on terminal window Thanks for your help... :

*Exception in thread Thread-1 (prompt_worker):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, *self._kwargs)
File "/Volumes/Stef-T7-2/StefAI/StableSwarmUI/dlbackend/ComfyUI/main.py", line 88, in prompt_worker
comfy.model_management.soft_empty_cache()
File "/Volumes/Stef-T7-2/StefAI/StableSwarmUI/dlbackend/ComfyUI/comfy/model_management.py", line 549, in soft_empty_cache
torch.mps.empty_cache()
AttributeError: module 'torch' has no attribute 'mps'

split swan
#

It's nice to see collaboration among competition between different UIs etc, to allow for saving and opening of various settings and so on. Rather than locking everything else out if you run a certain UI in order to "keep" users in

#

a bit like how you can import different files through different image or 3d software, audio, daw etc

split swan
#

how come stable wants webui.bat and not webui-user.bat? this means I cant add set PYTORCH_CUDA_ALLOC_CONF= garbage_collection_threshold:0.9,max_split_size_mb:512

toxic shale
#

like everything reads the file paths correctly, except for the image reader 🤣

#

actually fixes it - but still makes it impossible to use multiple drives for different folders

toxic shale
#

but the 2nd image is with it actually loaded

#

you sure the model loader from swarmui, doesn't just skip all steps until the clip text encoder?

#

I take it back. it is being loaded. it's just working... wrong 🤣

#

found the issue. it lies in the part where the first ksampler doesn't show his values - and instead gets them from the 'core parameters' <- except they don't show a sampler/scheduler. So it auto defaults to euler/karras, no matter what was set in comfyui as a 'default'.
Solution was to keep an additional ksampler node that 'doesn't work'. Now everything works.

#

how do I use batch size, to more efficiently create data for multiple seeds in grid generator?

toxic shale
#

for the grid generation, we're missing a <prompt replace> - for when style words or trigger words are necessary
and when you have multiple prompt boxes - it just ignores all after the first, rather than cross combining them

dim sonnet
# pastel briar will it be possible to use NVLink? (for VRAM pooling - got 2x2080ti) thank you

Hypothetically maybe? I'm not sure, never tried working with nvlink directly. Nvidia's claimed speed is nvlink is 7x faster than pcie transfers (except the way they write claims makes they very hard to believe at face value). So, uh, in a theoretical world where nvlink was instant it'd probably be a very powerful option. If it's only a few x faster than pcie, it's just the same problem as within nvlink but a little less bad.

dim sonnet
#

note that auto webui is a bit limited as a backend vs. comfy btw

split swan
#

set PYTORCH_CUDA_ALLOC_CONF= garbage_collection_threshold:0.9,max_split_size_mb:512 this one

dim sonnet
#

technically you could also just shove that in your swarm launch script and i think it still applies and works

#

but either way

split swan
#

ah cool

#

what about extensions btw?

#

how does that work its way in?

#

like multidiffusion, ADetailer, Control Net of course, Regional Prompt etc

dim sonnet
dim sonnet
split swan
#

ok

#

I would suggest seeing if you can work with invokeai to use their canvas painter

#

because it's amazingly stable and easy to use

#

inpainting, outpainting, doing fills where the box recognizes the current content and so on, adding layers

#

aside from a paid for plugin for photoshop, it's the best canvas I've had for SD

dim sonnet
dim sonnet
split swan
#

invokeai has one if you can get a colaboration going

dim sonnet
toxic shale
#

would it be possible to add a token word, like {grid}, which gets auto replaced from the prompt if it is there? (for prompt grid)

dim sonnet
#

prompt replace applies to any text input that has a name ending with prompt - so the default prompt & negative prompt, or any custom prompt primitive like

#

(note for primitives, you have to enable the parameter in the UI for gridgen to count it)

toxic shale
#

I temporarily solved it with a custom node that simply forced a prefix XD
glad I can do normal ui again

dim sonnet
#

Also!

#

you can now do this ^ - title a primitive SwarmUI: Prompt

toxic shale
#

le gasp!

dim sonnet
#

and it will use the prompt param

#

works (theoretically) for any param you want

toxic shale
#

also, how come the interrupt is always visible? even when there's nothing to interrupt

dim sonnet
#

i could probably fade it out a bit when not-seemingly-relevant tho

#

Done - fades out now

signal perch
#

to me the Generate Image button is gigantic, I'd prefer it the size of the Interrupt, side by side, it would free up a lot of space for the other settings. But maybe there will be styles with smaller button 🙂

toxic shale
#

could you make custom workflow + current settings persistent across refreshes?
I would love it across restarts too - but standard refresh is definitely needed, as I'm currently afraid of accidentally refreshing

split swan
#

I had a thought awhile back, about a "stage controller" where you can place nodes in 3d space where you want something generated. Kinda like regionprompt except you go into a 3d space and maybe place a box you can resize etc for how much space it takes up and where in the 3d space it is.

This might make it easier to create images with depth control of all actors and events

#

@dim sonnet You know what I mean?

#

I know Gyre AI for Photoshop already does this in their plugin

dim sonnet
split swan
#

that system just looks really good

#

@dim sonnet you see what I mean?

dim sonnet
dim sonnet
#

that's ... inpainting + multiduffusion+controlnet+a complex 3d interface over top of it all. Complicated, but would be amazing to have

#

... i'm gonna end up having to dive deep into custom canvas code to do the image editing engine now aren't i...

split swan
#

heh

#

that one up there is Gyre AI (formerly flying dog) plugin for photoshop

#

its for sale on adobe store

toxic shale
#

I have so many padding questions 🤣

toxic shale
#

getting there 😏
pretty alignment

dim sonnet
#

ooo

#

... y no main prompt in your workflow

toxic shale
#

cause I had loaded the wrong comfy affter restarting for the 15th time 🙈

dim sonnet
#

olol

#

have you updated to get self-persistence yet?

toxic shale
#

nop - I'll do it once I'm happy with layout

#

so... how do we feel about moving prompt + core params ... above the generate button

dim sonnet
#

mmm i like it at the top tho

#

seems like something that should be adjustable via Theme selection tho

toxic shale
#

kay. then I'll instead do a separator thingie between the most important settings, and everything below. - since there's significant information overload right now

dim sonnet
#

the information normally visible:

#

until you click into param groups

toxic shale
toxic shale
#

sure its boring, but its quick to use and easy to look at

dim sonnet
#

actually wait

#

why no slidebar

#

the bars are really really nice for quick adjustments

#

if you can make em more compact n clean tho, and fit them in with that setup, that'd be incredible

#

(either way this is awesome btw, i really appreciate the help with UX!)

toxic shale
#

since you'll rarely move by more than a few numbers

#

is there any reason that the first instance of resolution isn't in the core parameters?

dim sonnet
#

if you can make a clean preview thingy not based on shoving 3 parameters into a group, putting it into core would make sense

median crest
#

How generate image ?

toxic shale
#

closed/open
is how I'd imagine it (quick mockup in photoshop)

signal perch
#

I like the second one and think that W and H can still be displayed when image ratio isn't custom, and when a value is changed, the other one is automatically calculated from the aspect ratio value (which is something I suggested a few days ago 🙂 it's like the A1111 extension "ratio helper" or something like that)

toxic shale
#

good point. since there's no longer the container showing the resolution, might as well leave the boxes open permanently

signal perch
#

Or a "+" and "-" button on the right to add/remove some frequently used resolutions to the dropdown list ?

toxic shale
signal perch
split swan
#

@dim sonnet hmmm I don't remember if you had a checkbox or something to lock aspect ratio? So it will scale from whatever you have at that moment. Maybe that's in the aspect button. It would also be nice with a style editor, so I can go in and edit saved prompts and maybe delete them or something. Also to maybe save all prompts automatically to some secondary file and I can then confirm which ones I want to add to the primary.

Do you have a pix2pix feature somewhere?

toxic shale
#

triple dots should prob be replaced by a smol yellow box with wrench icon

split swan
#

oh are they called presets there?

#

does it save every prompt automatically?

toxic shale
#

they're his own implementation of it I guess - but a lot better than alternatives from previous setups, since it can do cool things
prompts are automatically saved within the output file

split swan
#

not to the main list but like, on the side so you can add it

toxic shale
#

if you drag a saved image into comfy, then you get all the parameters again

#

also yes, there is a full history with all details inside of swarmui as well

split swan
#

yeah but I meant saved in the webui itself so I can load old prompts

#

without manually going into files

toxic shale
#

yep - automatically via history tab.
manually via saved images

split swan
#

hmmmm there's no way to save the info to a txt file?

#

cause I never save metadata on an image

toxic shale
split swan
#

but is there a separate file?

#

like in automatic

toxic shale
#

no

split swan
#

otherwise that's a feature I'd request

#

@dim sonnet would it be possible to save prompt data etc to a txt file saved along with the file, sharing the filename? Like in Auto

split swan
dim sonnet
#

(ps do note my sliders for res have Power-of-Two scaling factor, ie they're modified range to make the slider naturally position at relevant sizes)

dim sonnet
#

literally just

#

and then enable these and set wherever

dim sonnet
#

you can import auto webui styles directly to presets

#

pix2pix isn't directly built in, other than where a backend supports it (comfy I assume can somehow, auto webui treats it as just img2img with a relevant model)

split swan
#

okay

#

what about txt files to go with each generation that holds the meta data instead of the image file holding it?

dim sonnet
split swan
#

that would be preferable

#

I don't like having it in the image, but I like having it available

dim sonnet
split swan
#

right

clever wind
#

is there already an inpainting editor and if not, are there plans to include one? That's the only thing I'm missing in ComfyUI

split swan
dim sonnet
clever wind
#

would be cool to directly connect that with segmenteverything such that you can click on objects in the image to mask them 🤔

bleak atlas
#

/Beauty Girl denoise strength is Refiner Control Percentage

bleak atlas
#

/特郞普打高尔夫

bleak cedar
analog terrace
#

Any thoughts on adding functionality of running "Stable Beluga" or other LLMs? Have a dedicated machine to prompt and analyze images while another diffuses images. Many potential use cases.

dim sonnet
#

i would love so much to train an LLM to directly output prompts & configs for images based on user request

#

needs a lot more work to be good than just shoving an LLM into the prompt box tho

#

hopefully we can pull off a collaboration between all the different stability teams at some point to build that

#

(or, well, at least the language team and mine lol)

#

(also requires, like, building brand new datasets to train it on and stuff like that too)

analog terrace
#

I have been making prompt assistants with Oobabooga, I have not tried the ComfyUI extension that allows them them to share APIs. Specialized models would be much much better but honestly you would be surprised what you can already get out of these general 13B models with minimal pre-prompt instructions, yet alone a LoRA. Thanks for the response! 🙂

toxic shale
#

could I request a refresh button, next to the question mark of the lora loader node?
so that new loras can be loaded without restarting XD

split swan
#

I don't have enough vram fora n LLM

#

well an LLM to be run simultaneously as auto

signal perch
#

I'd be curious to test something where you describe the image that you want, it's sent to SD, output is sent to CLIP, which is then sent to an LLM like "here is the request, here is the result, what should I change ?", and the LLM send this to Instruct Pix2Pix and a scorer until image gets a high score and all the required elements.

dim sonnet
#

that button reloads all of em

#

would probably be useful to make that more obvious tho

#

lot of people miss that

dim sonnet
# analog terrace I have been making prompt assistants with Oobabooga, I have not tried the ComfyU...

you would be surprised what you can already get out of these general 13B models with minimal pre-prompt instructions, yet alone a LoRA.
oh yeah dude don't worry I know. (Go look who authored the lora training tab for ooba's text-gen-webui lol https://github.com/oobabooga/text-generation-webui/pull/570). LLMs are wildly capable if you prompt em well.
imo the results of that are in the "cool foss project" range still tho, and upping from that to "StabilityAI published the easy mode ask an llm and it gets you an image all-in-one box" requires really perfecting it.
For more examples of the type of stuff the perfected version of it would do, check out https://arxiv.org/pdf/2305.13655.pdf
(I mean to send that link yesterday but got distracted)

#

god i want it so bad

analog terrace
dim sonnet
#

It only adds a couple extra seconds to the process, it's not terrible at all

dim sonnet
#

there's a few projects (LLaVA, MiniGPT4, ...) that do direct image inputs to LLMs that are very useful for that

signal perch
solemn rampart
#

How are you supposed to create... subfolders I suppose, on the left side of the preset area?

dim sonnet
#

if you make a preset named My stuff/my preset that will make a folder named My stuff and put my preset inside it

hearty notch
#

Hi, still enjoying the UI so much

#

was wondering if there are any updates on upscale, out of using the comfyUI?

#

or there is any recommended workflow that you can share?

#

as I am still struggling to get as proper upscale

#

I tired few workflows from Comfy, but they mostly use a very complicated nod structure

solemn rampart
hearty notch
toxic shale
torn canopy
#

ok (illiterate PC person here), was able to clone the installer... what do I do at this step

dim sonnet
#

it also shows up as an icon on your PC's desktop

torn canopy
#

is there a way to reference my models folder on a1111 to not have duplicate models?

dim sonnet
#

replace it with your stable-diffusion-webui/models path

torn canopy
#

oops

#

i see

dim sonnet
torn canopy
dim sonnet
#

:D

torn canopy
#

one moreeeee question... Is there a way to load my saved prompts from A1111

dim sonnet
#

if styles, yes, that's the Presets tab

carmine cloak
dim sonnet
carmine cloak
obtuse falcon
obtuse falcon
#

works quite well but takes a bit of tuning

dim sonnet
#

maybe?

#

if you mount it to a drive path, it should work

#

without that, idk, maybe

obtuse falcon
#

only one way to find out

dim sonnet
#

ye

#

only limitation is depending on how you format the path it might get misparsed as relative instead of absolute

#

but if it's mapped to a drive it's fine

#

(cause then it's just Z:\MyPath or whatever and that definitely works)

#

(or on Linux it's just a folder path anyway since everything on linux always is lol)

toxic shale
#

grid generator currently ignores custom names for lora loaders
which while not important for one lora - makes testing 2~4 loras loaded at the same time quite hard as it's not always clear which lora loader is being changed

#

(even a parenthesis with Node ID would be fine)

toxic shale
#

(I'm 2 days behind on my local version)

#

for comparisons sake, would it be possible to add a none option, or support for leaving it blank in the lora loader?

#

while I can do a strength option for 0,1 - this would cause 2nd image per lora checkpoint, rather than once per grid

trim comet
blazing belfry
#

How could I set external models folder for swarm-ui?

toxic shale
#

writing full path should also work if you're up-to-date with your install

blazing belfry
#

Not complain, just a suggestion. The description part could be handled better. I know it is in early stage.

#

Does it suppose to blank when using installed comfyui?

toxic shale
#

it should load in after like 3~5 seconds

blazing belfry
#

I could open the comfyui started by swarmui in another tab. But it couldn't load in this page

toxic shale
#

ah, you used the internal one

blazing belfry
#

I setup this one

toxic shale
#

yeah that's a question for mcmonkey. I moved over to using my main comfy setup

#

if you're using your existing install, it should look like this btw

blazing belfry
#

ok

toxic shale
#

except port is the port you're actually using

blazing belfry
#

It still blank...🤣

toxic shale
#

well rip. here's to hoping nothing broke in a recent update XD I'm still 2 days behind on my install

blazing belfry
#

Try to install with its internal comfyui

#

The only thing I want to try is the grid

#

Do we have the restart backend button?

thorn harness
#

Any plan to add color managment with color profiles? hmmm

dim sonnet
dim sonnet
dim sonnet
dim sonnet
thorn harness
dim sonnet
dim sonnet
blazing belfry
#

I also notice that the seed from primitive node of custom workflow could not set as randomized as in the workflow?

dim sonnet
#

(blank lora name will make more sense with the workflow autogenerator, as swarm itself will be able to process that)

dim sonnet
#

there's also a lil 🎲 button to quickset that

blazing belfry
#

but -1 doesn't apply to the custom workflow

dim sonnet
#

in swarmui, if it recognizes the input as a seed, -1 will work

#

it pre-randomizes before sending along to comfy

dim sonnet
#

i added a DPI setting on joe's request a while ago and that amounted to just setting a standard exif key lol

thorn harness
#

It would be nice cause then I wouldnt have to open images in Photoshop and resave them and loose all the meta data

blazing belfry
dim sonnet
toxic shale
dim sonnet
#

very much part of the autogenerator plan for that yee

dim sonnet
# thorn harness No I meant color managment like SRGB or eciRGB for example, since SD spits out i...

the image library i use has the ability to write color profile metadata, but not convert between em - there's a draft PR for conversion open since 2021 https://github.com/SixLabors/ImageSharp/pull/1567

GitHub

Prerequisites

I have written a descriptive pull-request title
I have verified that there are no overlapping pull-requests open
I have verified that I am following matches the existing coding pa...

#

might need to swap the lib anyway since it makes mucking with metadata more annoying than it should be

thorn harness
#

Oh yes that would be sick PU_PepePogWow

#

But 2021 was long ago so probably dead sadcat

dim sonnet
dim sonnet
#

there's commits all over the place in that

thorn harness
#

Geez PU_monkaShake

toxic shale
#

how do I use commas inside the prompt box of the grid generator?

#

it turns it into a new prompt, but what if I have a list of 20 full prompts, commas and all, that I need to generate?

dim sonnet
#

if there's any || it will use that instead of ,

inner vault
#

#1011228667659178055 so i installed dotnet and swarms and for some reason every time i lunch swarms it gives me error that it didnt find path or something like that . i checked and dotnet is installed proprly ... tried reinstalling both but same error ... whats happening ?

inner vault
#

yep pretty sure

dim sonnet
#

huh

#

uh

#

... try just launching it again?

inner vault
#

same error

dim sonnet
#

what happens if you run dotnet --list-sdks?

inner vault
#

i copy it like this dotnet --list-sdks in cmd ?

dim sonnet
#

yes

inner vault
dim sonnet
#

wtf

#

so

#

it's... installed, but it doesn't acknowledge its own existence??

#

why does microsoft do this

#
  • maybe a PC restart?
  • maybe uninstall + reinstall
inner vault
#

already uninstalled but ill retry any way

#

be back in a min

#

yep same thing restarted and reinstalled but still same thing

#

we love microsoft

dim sonnet
#

wtf

inner vault
dim sonnet
#

what do you get from dotnet --version?

inner vault
#

i am confusion 🙃

dim sonnet
#

ooo

#

uh

#

what do you get for where dotnet

inner vault
dim sonnet
#

AHA

#

okay hold up

inner vault
#

hold up .. wait a minute .. something ain't right

#

xD

dim sonnet
#

Okay:
copy and run this line:
SET PATH=C:\Program Files\dotnet;%PATH%
and then right after, do where dotnet again

inner vault
dim sonnet
#

hell yeah!

#

okay!

inner vault
#

what now

#

it works now ?

#

nope

dim sonnet
#

okay, I pushed a commit - open the StableSwarmUI folder, and doubleclick the update.bat file

#

then after that closes, try launching it again

inner vault
#

holly shit xD it works

#

thank you soo much man

#

luv u xD

dim sonnet
#

:D woo

#

and thank you as well! Your help in figuring that out means it's now fixed for everybody :D

inner vault
#

what was wrong with it tho am curious ?

dim sonnet
#

You had a 32-bit version of .NET installed in the past, and Windows was strongly trying to use that even though it's outdated and invalid

#

and completely ignoring the 64-bit one

inner vault
#

yeah but like why 🙃 windows is actually stupid

toxic shale
#

"secret project" 🤣

#

"totally not a thing yet grid generator thingie that may or may not be in development"

trail nebula
#

Has anyone else had issues with the Image History and Models not loading an an error saying "Missing required parameter 'depth'"?

trail nebula
dim sonnet
#

that's a new feature so you probably just updated but old code in cache

trail nebula
#

Ooh that worked.

#

Thank you. 🙂

dim sonnet
tardy sundial
#

I'm having issues installing the StableSwarmUI, getting error in the command line: "12:53:54.258 [Init] Self-Start ComfyUI on port 7820 started.
12:59:29.802 [Error] [WebAPI] Error handling API request '/API/InstallConfirmWS': Internal exception: 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 ---"

#

Anybody had this issue?

inner vault
#

yo . how can i get the default workflow of the UI in nodes i used a custome node group and when i restored the default work flow on the the UI id didnt turn back in nodes

cursive badger
#

I'm having a hard time launching it. It's in portugues but it gives this "error NU1101: could not find..." etc

#

where dot

dim sonnet
#

can you open a command line in the StableSwarmUI folder and type: dotnet restore?

dim sonnet
tardy sundial
tardy sundial
#

might have to disable my firewall and try again?

dim sonnet
#

i don't think firewall should be relevant?

drifting helm
dim sonnet
#

it has connections to (A) your browser tab and (B) remote page to download (github for comfy, huggingface for models), that error message lacks any details on it so i'm not sure which of the two lost connection

tardy sundial
#

noob question but whats the best way to screenshot the comand line when its stuck? I can copy and paste the lines

inner vault
drifting helm
tardy sundial
drifting helm
#

timeout error, hm

tardy sundial
#

Gets stuck there

#

Ill try disabling firewall and try again for the heck of it

drifting helm
#

some timeout error while downloading some file(s)

#

huh...

dim sonnet
#

if you update, there's now a better error message if/when that happens

dim sonnet
#

in the generate tab, if you're not using a custom workflow, it dynamically generates a workflow on the fly based on your inputs

drifting helm
#

the real issue is that its using dotnet lol

dim sonnet
inner vault
dim sonnet
inner vault
dim sonnet
#

are you looking for the 'load default' button?

inner vault
#

nooo that only loads Confy UI default not the stableswarms

dim sonnet
#

there is no swarm default workflow

drifting helm
#

[and also the fact that dotnet is just 2+ languages in a trenchcoat]

inner vault
tardy sundial
drifting helm
dim sonnet
#

(it also generates as an API call, not viewable nodes)

#

actually for that matter with your settings it doesn't even use exclusively comfy, the scorer goes to a separate tool

tardy sundial
dim sonnet
#

might have better luck downloading in browser

inner vault
tardy sundial
#

Do i just drop it in this folder: ... StableSwarmUI\StableSwarmUI\Models\Stable-Diffusion\OfficialStableDiffusion?

dim sonnet
drifting helm
inner vault
#

@dim sonnet yo 1 more thing soes the refiner work with SD models ?

dim sonnet
#

eg most of the internal stuff is built by comfy

drifting helm
#

ohh, so something like comfybox?

dim sonnet
#

huh?

drifting helm
#

comfybox is a frontent for comfyui

#

it has the worst code ive seen

#

uses gradio for frontend

#

but it works

dim sonnet
#

lol

drifting helm
#

it has lora support, mobile friendly

#

could be useful possibly

inner vault
#

bro if this UI becomes the standard with more support to plugins like control net and all... like its so convenient and so so much faster and less demanding that automatic 1111 ... like on A1111 i cant even run SDXL for some reason but here with confyUI support i can even run 6 batches of a 1024/1024 pics

#

and its easy to use

drifting helm
#

comfyui already has controlnet support, just that everyone thinks nodes are too hard lol

inner vault
hearty notch
#

[Error] Error in websocket handler: System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key') at System.Collections.Generic.Dictionary2.FindValue(TKey key)
at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value) at StableSwarmUI.Text2Image.T2IParamTypes.ValidateParam(T2IParamType type, String val, Session session) in D:\StableSwarmUI\src\Text2Image\T2IParamTypes.cs:line 378 at StableSwarmUI.Text2Image.T2IParamTypes.ApplyParameter(String paramTypeName, String value, T2IParamInput data) in D:\StableSwarmUI\src\Text2Image\T2IParamTypes.cs:line 406 at StableSwarmUI.WebAPI.T2IAPI.GenT2I_Internal(Session session, ValueTuple2 input, Action1 output, Boolean isWS) in D:\StableSwarmUI\src\WebAPI\T2IAPI.cs:line 88 --- End of inner exception stack trace ---

dim sonnet
#

the image editing tools are gonna be the big one to really cement swarmui in place, gonna have to make sure to get it right

hearty notch
#

getting this error now

drifting helm
#

theres already been an ui like that yeah, comfyui so optimized, amazing work by comfy and devs, and stableswarm making it easier for new people to use it [while keeping them seperate]

hearty notch
dim sonnet
drifting helm
dim sonnet
#

lol

hearty notch
drifting helm
dim sonnet
hearty notch
#

@dim sonnet btw, do you think having the option to kill and restart the server as a button in the UI will be a good thing?

#

to avoid closing and opening many times

dim sonnet
#

why

#

do you mean for updating?

hearty notch
# dim sonnet do you mean for updating?

well as an option not in particular for this reason, sometimes, after downloading a model, or so, or just for the sake of resetting the server during a workflow that gone wrong

#

could a helpful option maybe? just thinking out loud here, I am not sure if this is code-able

hearty notch
#

woah!! what is this sorcery!!! hahah we can load them directly now? with no need to use CUI backend???

dim sonnet
dim sonnet
hearty notch
#

any specific folder structure that we need to build?

dim sonnet
#

folder paths are configurable via server settings

hearty notch
#

so what kind of workflow that we will be expecting to see for the new changes?

#

also, is this something major? D:\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\_utils.py:830: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() return self.fget.__get__(instance, owner)()

inner vault
#

@dim sonnet am having this issue with the bar of madels and VAEs and these stuff ... basically whenever i click on one ... shouldnt a tab with Vaes or or madels pop up ? its not for me

drifting helm
inner vault
#

like what ever i click on the bottom bar it doesnt seem to do anything

hearty notch
#

btw, is it jts me or there is a change in the render speed? I am notcing a very long pause between each render that was not there few days ago

inner vault
hearty notch
#

no

#

I am aware of the loading pause when you change models

#

but only using the same

#

this is why I am asking 😄

inner vault
#

like how long of a pause ?

hearty notch
#

like 5 seconds or more

#

regardless,

#

I am only communicating something that was not there

inner vault
#

idk 😶 for me its same as regular comfy UI speed

hearty notch
#

thanks for the feedback,

#

which gpu you are using?

dim sonnet
dim sonnet
#

click the bar and raise it

#

you have it slammed to the bottom there

inner vault
hearty notch
#

any idea about these pauses @dim sonnet ? before it was like there is almost no pause between renders

#

now there is a very noticeable one

dim sonnet
#

At the start of a gen, at the end, in the middle, ...?

hearty notch
#

between 2 gens

dim sonnet
#

Gen once, and look at your console

hearty notch
#

its a bit long compared to few days back

hearty notch
inner vault
#

thank you ❤️

#

bro i love how devs are actually listening and consistently working on bettering the program

drifting helm
#

compared to auto

dim sonnet
#

lol

#

VAE is implemented, lora and embed still to-do

dim sonnet
hearty notch
# dim sonnet _when_ does it pause?

when you change anything in prompt, without changing any other settings there is a like a 15 seconds pause, this I never experience before,

drifting helm
inner vault
hearty notch
#

lol you are really killing me over here, but I will play along, prompt in, loading models, img 1 gen with refiner,,, img2,,, img3,,,, >>>>>>>>> change prompt,, delay,,, gen img4,,, img5,,, etc

#

hope this is better?

drifting helm
hearty notch
#

forgive my ignorance, are you one of the devs in there? @drifting helm

drifting helm
#

yea; thought you were talking about generation time for each batch

drifting helm
#

though i could find the issue;

hearty notch
#

can we keep it clear a bit for the dev to follow up with us?

drifting helm
hearty notch
cursive badger
#

Looks like it gives a similar error

dim sonnet
#

over on the right

#

if you click that, it slams to bottom

#

and if you click it again, or any tab, it pulls back up

dim sonnet
#

which I assume it will, at which point it's a comfy issue

#

(or if it is specific to something in swarm, i'm very confused)

hearty notch
#

when you change prompts these is a long pause

#

before the batch start to work

dim sonnet
# cursive badger

er... can you open the file %appdata%\NuGet\NuGet.Config in a text editor and show me what's inside?

dim sonnet
hearty notch
#

also, @dim sonnet is there anyway to control the refiner from here in comfy workflow editor?

#

as when comfy workflow is used, this refiner part disappear and we can not control the method or the default upscale,

dim sonnet
# cursive badger Sure!

wow okay. How did... that even... happen.
idk
But
nuget sources add -Name "NuGet official package source" -Source "https://api.nuget.org/v3/index.json"
run this command and it should fix that

dim sonnet
#

if you have comfy as your backend, comfy is what does the actual image generation

dim sonnet
hearty notch
#

using latent upscale nods will not give good results, and using model upscale nods will only upscale the image with very bad artifacts, seems like the default refiner tab you have in generate tab is the yielding the best results, I will run few examples and share to explain better

#

[Error] Error in websocket handler: System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key') at System.Collections.Generic.Dictionary2.FindValue(TKey key)
at StableSwarmUI.Text2Image.T2IParamTypes.ValidateParam(T2IParamType type, String val, Session session) in D:\StableSwarmUI\src\Text2Image\T2IParamTypes.cs:line 389
at StableSwarmUI.Text2Image.T2IParamTypes.ApplyParameter(String paramTypeName, String value, T2IParamInput data) in D:\StableSwarmUI\src\Text2Image\T2IParamTypes.cs:line 403
at StableSwarmUI.WebAPI.T2IAPI.GenT2I_Internal(Session session, ValueTuple2 input, Action1 output, Boolean isWS) in D:\StableSwarmUI\src\WebAPI\T2IAPI.cs:line 181
--- End of inner exception stack trace ---`
@dim sonnet

#

using the workflow in the editor is working, but when trying to use in generate tab, will get that error

ruby glacier
#

Hi Guys, do anyone know if the new StableSwarmUI have a support for Apple Silicon Macs, I have Metal acceleration via ----> https://developer.apple.com/metal/pytorch/ , but I see no difference, it is even slower than ComfyUI...... Some people in the chat, claim that this new and official UI will have multiple GPU support, it is True ??

Apple Developer

PyTorch uses the new Metal Performance Shaders (MPS) backend for GPU training acceleration.

dim sonnet
#

If you have a working pre-existing comfy install you can directly link to it

ruby glacier
#

I had a pre-existing comfy install, but I made a new clean install with the idea to use only StableSwarmUI in the future, but A1111 works much faster on my MBP M1......I hope this SS UI to have native support for Metal GPU family, because they are great for photo or video editing, but unfortunately at the moment not even good enough for SD image generation :/

cursive badger
dim sonnet
#

oh

#

uh

dim sonnet
cursive badger
dim sonnet
#

not perfect, still in-progress, but it functions now

hearty notch
#

any idea why this error is happening?

dim sonnet
hearty notch
#

yeah, start getting this error today

#

the workflow is working in the comfy editor and rendinf images, but once moved to generate tab it will error out

dim sonnet
#

please update and give me the error message as it appears after the update

hearty notch
# dim sonnet please update and give me the error message as it appears after the update

[Error] Error in websocket handler: System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'key')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key') at System.Collections.Generic.Dictionary2.FindValue(TKey key)
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at StableSwarmUI.Text2Image.T2IParamInput.Set(T2IParamType param, String val) in D:\StableSwarmUI\src\Text2Image\T2IParamInput.cs:line 146 at StableSwarmUI.Text2Image.T2IParamTypes.ApplyParameter(String paramTypeName, String value, T2IParamInput data) in D:\StableSwarmUI\src\Text2Image\T2IParamTypes.cs:line 429 at StableSwarmUI.WebAPI.T2IAPI.GenT2I_Internal(Session session, ValueTuple2 input, Action1 output, Boolean isWS) in D:\StableSwarmUI\src\WebAPI\T2IAPI.cs:line 88 --- End of inner exception stack trace ---

#

here you go

dim sonnet
#

ooo that's actually a different (but strongly related) error

#

fixed

hearty notch
#

btw, are you now using normal RAM?? I see models loading there and not in VRAM

#

what is this sorcery? hahah

ruby glacier
dim sonnet
#

Comfy loads models into RAM, and only transfer into VRAM once it's running

#

you can force it to always use VRAM via --gpu-only in extra args in the backend settings

dim sonnet
#

can even be remote GPUs (eg colab or rented servers)

hearty notch
hearty notch
#

[Error] Error in websocket handler: System.AggregateException: One or more errors occurred. (The given key 'OfficialStableDiffusion\sd_xl_refiner_1.0.safetensors' was not present in the dictionary.) ---> System.Collections.Generic.KeyNotFoundException: The given key 'OfficialStableDiffusion\sd_xl_refiner_1.0.safetensors' was not present in the dictionary. at System.Collections.Concurrent.ConcurrentDictionary2.ThrowKeyNotFoundException(TKey key)
at System.Collections.Concurrent.ConcurrentDictionary2.get_Item(TKey key) at StableSwarmUI.Text2Image.T2IParamInput.Set(T2IParamType param, String val) in D:\StableSwarmUI\src\Text2Image\T2IParamInput.cs:line 146 at StableSwarmUI.Text2Image.T2IParamTypes.ApplyParameter(String paramTypeName, String value, T2IParamInput data) in D:\StableSwarmUI\src\Text2Image\T2IParamTypes.cs:line 429 at StableSwarmUI.WebAPI.T2IAPI.GenT2I_Internal(Session session, ValueTuple2 input, Action1 output, Boolean isWS) in D:\StableSwarmUI\src\WebAPI\T2IAPI.cs:line 88 --- End of inner exception stack trace ---

ruby glacier
hearty notch
hearty notch
dim sonnet
hearty notch
dim sonnet
inner vault
#

one thing i noticed tho is when i pull it all the way down when it was open it still considers it open

hearty notch
#

like 64?

dim sonnet
dim sonnet
# hearty notch like 64?

if you have 32 GiB or more you're golden, if you have 16+ you might be a little limited but it oughtta do for SDXL base. Below that SDXL might be difficult to load

#

in gpu-only you don't need as much RAM, but you need a lot of VRAM

hearty notch
#

I can see that my 32 is hitting the edge now haha, I just got a new 4090~ not i need more ram. will I am selling my leg today lol

hearty notch
# dim sonnet that one should also be fixed now

ok it's working now, and renders imgs smoothly, still it's showing this in console : [Error] Invalid/null/empty image data from ComfyUI server for 'ComfyUI_temp_osppl_00002_.png', under { "images": [ { "filename": "ComfyUI_temp_osppl_00002_.png", "subfolder": "", "type": "temp" } ] }

#

anything to worry about?

#

how to sue Lora now? is there any wiki or documentation to read?

dim sonnet
dim sonnet
hearty notch
#

there is one, but I usually close my loop with save img only

dim sonnet
#

lora weighting needs to be added still