Avatar

tal

tal@lemmy.today
Joined
266 posts • 5.4K comments
Direct message

Just realized that I was dyslexic with the ordering directive, which worked well with Flux apparently not understanding it, since I wound up with the desired ordering; I’d intended to write “left to right”.

permalink
report
reply

Not yet! One thing that AI generated images right now are not so good at is maintaining a consistent portrayal of a character from image to image, which is something you want for illustrating a story.

You might be able to do something like that with a 3d modeler to pose characters, generate a wireframe, and then feed that wireframe into ControlNet. Or if you have a huge corpus of existing images of a particular character portrayed in a particular way, you could maybe create new images with them in new situations. But without that, it’s hard to go from a text description to many images portrayed in a consistent way. For one image, it works, and for some things, that’s fine. But you’d have a hard time doing, say, a graphic novel that way.

I suspect that doing something like that is going to require having models that are actually working with 3D internal representations of the world, rather than 2D, at a bare minimum.

permalink
report
parent
reply

it starts flipping frames between the nodes and a different set of nodes.

Yeah, I don’t know what would cause that. I use it in Firefox.

Maybe try opening it in Chromium or a private window to disable addons (if you have your Firefox install set up not to run addons in private windows?)

I’m still suspicious of resource consumption, either RAM or VRAM. I don’t see another reason that you’d suddenly smack into problems when running ComfyUI.

I’m currently running ComfyUI and Firefox and some relatively-light other stuff, and I’m at 23GB RAM used (by processes, not disk caching), so I wouldn’t expect that you’d be running into trouble on memory unless you’ve got some other hefty stuff going on. I run it on a 128GB RAM, 128GB paging NVMe machine, so I’ve got headroom, but I don’t think that you’d need more than what you’re running if you’re generating stuff on the order of what I am.

goes investigating

Hmm. Currently all of my video memory (24GB) is being used, but I’m assuming that that’s because Wayland is caching data or something there. I’m pretty sure that I remember having a lot of free VRAM at some point, though maybe that was in X.

considers

Let me kill off ComfyUI and see how much that frees up. Operating on the assumption that nothing immediately re-grabs the memory, that’d presumably give a ballpark for VRAM consumption.

tries

Hmm. That went down to 1GB for non-ComfyUI stuff like Wayland, so ComfyUI was eating all of that.

I don’t know. Maybe it caches something.

experiments further

About 17GB (this number and others not excluding the 1GB for other stuff) while running, down to 15GB after the pass is complete. That was for a 1280x720 image, and I was loading the SwinIR upscaler; while not used, it might be resident in VRAM.

goes to set up a workflow without the upscaler to generate a 512x512 image

Hmm. 21GB while running. I’d guess that ComfyUI might be doing something to try to make use of all free VRAM, like, do more parallel processing.

Lemme try with a Stable Diffusion-based model (Realmixxl) instead of the Flux-based Newreality.

tries

About 10GB. Hmm.

kagis

https://old.reddit.com/r/comfyui/comments/1adhqgy/how_to_run_comfyui_with_mid_vram/

It sounds like ComfyUI also supports the --midvram and --lowvram flags, but that it’s supposed to automatically select something reasonable based on your system. I dunno, haven’t played with that myself.

tries --lowvram

I peak at about 14GB for ComfyUI at 512x512, was 13GB for most of generation.

tries 1280x720

Up to 15.7GB, down to 13.9GB after generation. No upscaling, just Newreality.

Hmm. So, based on that testing, I wouldn’t be incredibly surprised if you might be exhausting your VRAM if you’re running Flux on a GPU with 12GB. I’m guessing that it might be running dry on cards below 16GB (keeping in mind that it looks like other stuff is consuming about 1GB for me). I don’t think I have a way to simulate running the card with less VRAM than it physically has to see what happens.

Keep in mind that I have no idea what kind of memory management is going on here. It could be that pytorch purges stuff if it’s running low and doesn’t actually need that much, so these numbers are too conservative. Or it could be that you really do need that much.

Here’s a workflow (it generates a landscape painting, something I did a while back) using a Stable Diffusion XL-based model, Realmixxl (note: model and webpage includes NSFW content), which ran with what looked like maximum VRAM usage of about 10GB on my system using the attached workflow prompt/settings. You don’t have to use Realmixxl, if you have another model, should be able to just choose that other one. But maybe try running it, see if those problems go away? Because if that works without issues, that’d make me suspicious that you’re running dry on VRAM.

realmixxx.json.xz.base64
/Td6WFoAAATm1rRGBMDODKdlIQEWAAAAAAAAAJBbwA/gMqYGRl0APYKAFxwti8poPaQKsgzf7gNj
HOV2cLGoVLRUIxJu+Mk99kmS9PZ9/aKzcWYFHurbdYORPrA+/NX4nRVi/aTnEFuG5YjSEp0pkaGI
CQDQpU2cQJVvbLOVQkE/8eb+nYPjBdD/2F6iieDiqxnd414rxO4yDpswrkVGaHmXOJheZAle8f6d
3MWIGkQGaLsQHSly8COMYvcV4OF1aqOwr9aNIBr8Mjflhnuwr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wkCoX4Z75T+s+852oo65Li6
7WQ3SaDBrs47qXeUobVIOjlXO2ln2oRRtTRfbk7/gD6K6s5kBjPexHEEIGseJysilyHyT2+VMtSy
cyET83Exi5KEnrtl7XgMI4GM1tDeaq6anNdW1VgXdS4ypk8xqHTpQgszuJCgh3ID5pfvbHzzX0A7
zC5A+4oGk98ihe0dJc+KLzigJuZLk7jX5A7sGkBtht7oKjH8qrYM//DbQXkZbI06h/FP+2aBz5/t
U3zTsSHyoU3LwihFOj0TA+DKnZUnm4TJtX6ABQaJPTYwHgQJ/B77VI9A+RYf7qd9o4cGaGrLoOES
QdGPFUOqO0vL9EkpTsxgCEjxApBIw1gTCiaBF8Dofp6vBrd1zY1mXP9p1UunaaFZtdmx/vrWkLXQ
iO09P6waY+6daKtZ7i+3j0WGvBFHx32toDgd94wGWXBa+hfEEK3d6kq8eGRWJC+OEL9KgUrrN4ki
vwPjGe/1DXxzPIvZrMP2BtoxO34E9VuvsnmofW3kZvtLZXC+97RznZ5nIpG4Vk+uOPs1ne/s1UD3
x0vyTviwiK+lFIu5T3NdxFFssClZSDyFUkzCZUpbsLjcH3dzbwEDX4Vjq6rAz2IbXUGU6aTQ7RO1
Q1iUHaCqHZzNJEKKFcBaL/IGbmeOPUZJ7G3TbEYcMhBPtsmYSwNJkQ0cGj/KKqPF6fxpvNEt+QNh
isgyNP+AuP0xxQgwXbxW2kO/3Y70L5+eNs2L8u0gJBHevYTAebv/mORBcNcs8hpFVZLOAahajv0h
zj++ssD9BcgBTVMEC+knn0HjVaRjIW3UPsDApNjIsF7h06hWAGG79VGJb3mQ6PcwQAAAALZxoY8E
al4jAAHqDKdlAABPKdovscRn+wIAAAAABFla

EDIT: Keep in mind that I’m not an expert on resource consumption on this, haven’t read material about what requirements are, and there may be good material out there covering it. This is my ad-hoc, five-minutes-or-so-of testing; my own solution was mostly to just throw hardware at the problem, so I haven’t spent a lot of time optimizing workflows for VRAM consumption.

EDIT2: Some of the systems (Automatic1111 I know, dunno about ComfyUI) are also capable, IIRC, of running at reduced precision, which can reduce VRAM usage on some GPUs (though it will affect the output slightly, won’t perfectly reproduce a workflow), so I’m not saying that the numbers I give are hard lower limits; might be possible to configure a system to operate with less VRAM in some other ways. Like I said, I haven’t spent a lot of time trying to drive down ComfyUI VRAM usage.

permalink
report
parent
reply

Are there any specifics as to what the major disagreement was on, or has been in the past? All the article has is:

The coalition leaders meeting was widely reported as a “make or break” meeting for the coalition, with Lindner, in particular, having hinted in the run-up that he was not too worried about the latter.

In his reaction to Scholz’s scathing remarks, Lindner accused the chancellor of a “calaculated break-up of the coalition” and his coaliton partners of “not even accepting” the FDP’s proposals for turning the economy around “as a basis for discussion”. Discord about how to revive an ailing economy

The coalition had been at odds for a while, with serious strains on the budget for 2025 and a disappointing performance by the German economy eliciting increasingly different suggestions on how to face and solve the problems.

So I’m assuming that Lindner wants more-economically-liberal policy than Scholz does?

Is there reason to believe that there’s sufficient public support in elections to form a red-green coalition, or is it likely that the SDP and Greens would be out of government in a new election?

kagis

https://theweek.com/politics/german-economy-crisis-volkswagen

A snap election could be “disastrous for all three coalition parties,” said Reuters. SDP and the Greens have lost support since the 2021 election, and the FDP “could be ejected from parliament altogether.” But the dispute involves fundamental differences: FDP wants budget cuts, while the other two parties “agree that targeted government spending is needed to stimulate the economy,” Reuters said.

That doesn’t sound very good for them.

If they’re out, and the AfD has been at record-high levels of support, does that mean maybe an incoming AfD government?

permalink
report
parent
reply

Full Size

UI: ComfyUI

Model: STOIQNewrealityFLUXSD_F1DAlpha

A cute, adorable, loveable, happy cave spider.

The image is an illustration.

cute-cave-spider-workflow.json.xz.base64
/Td6WFoAAATm1rRGBMC0DMpYIQEWAAAAAAAAALNZm2LgLEkGLF0APYKAFxwti8poPaQKsgzf7gNj
HOV2cM7dN97GoIvoTF/iSMYEQoJZBJzI3UDxBXrl3MvcMb5e6h3lATBYjawf1klb5xXG0y783VSu
rsL7JTqCcpc7ml6EBcQysA/lczXi4/z4NEU2MzJ6gMxLs5qhHCWR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05ZDXUVgYqV+fEYqAtE3
IuTiSDFjoLVr7IlByn99cUvfzMLsHud1K7EVi1E0DhNsf68mMyV177Fm3P4y2E4qc7XwrFAJ6GyP
N5AVGcYSoozQ34UofUrpmmkU1ZDIQlLBZHICC7wGHkH+mINdXHB9/nOBpcJ/WwfZ5ruyjAh94GG7
mpvrskmGuWP3r2LgV8dPqf03Tnp7Jbe/NNUZKQ4cwh92/BP79cPY/T6iwPEZZS9ofebllBwwuM77
1kQ63ShrnI9yydhDKORd9qFNJSWd2/X/7VZv6gdczosU8YVaxq14UnVawJnkB4S4cN6Fvlwg9HBg
IXDP9ITIH7lxG4iUY3gsEzUi8lgs6HYz5FMIYc82jfFnsnK3olAYB9cUPdE/K2nZKAHGRNoBmyvA
pQC5dwZhurNZ5G32YRD8MVn4dRuGIllRRhukNVp1TUTebKqbgnsJZvZO1s2GNgtHlt/Dnn9l+jHy
d8Ar4Y2gcxE0UobKgrY+1ONGwCWUxD4RZdGqZHdND88qsWd716JfxAwFcZ5r5WtzSkj6O4T+RC6E
sTpxtctOPbh0pV+HiBIoaqkmRXmAzbwZeA9QXvJu6uPNXSUAXn6c9HfLlNabpdii7Gr31mNyNOtw
BSxHDpWGyEvlXWpr3udsC4eypHZtRGl/iJsAAD0CzTvAZNWvDfbmkrAY8Ck7TEdvJ35uujJzDZVV
X15wJ74T7ADWsjD/ZCTSjoq3ylt1nO1woSAhwpxdQS8S6rm8owXfQkWc4334/RIAGB6ZcrdNjRjg
ORZw05NY5zdg9hE2fdy50SNVgvN2eIwTjp4bsfNt04z5te/h+InrVpvzFFjBL5SWLlOckqy7yoeB
AHL0Slu0XJQhQb0aMfMGN8G46K1P5gAAvY1DGN46jOAAAdAMylgAAJlUxG+xxGf7AgAAAAAEWVo=
permalink
report
reply

When a model is initially being loaded, I see slowdown, but once that has happened, I don’t. I see that with Automatic1111 as well. Once it’s been loaded, though, I don’t get that. I regularly do (non-GPU-using) stuff on another workspace when rendering, can’t detect any slowdown.

So I don’t know what might be the cause. Maybe memory exhaustion? A system that’s paging like mad might do that, I guess.

As to an alternative, it depends on what you want to do.

If you’ve never done local GPU-based image generation, then Automatic1111 is probably the most-widely-used UI (albeit the oldest).

If you want to run Flux and Flux-derived models – which I’m using to generate my above image – I believe I recall reading that while Automatic1111 cannot run them – and maybe that’s changed, have not been monitoring the situation – the Forge UI can do so as well. But I’ve never used it, so I can’t provide any real guidance as to setup.

kagis

Yeah, looks like Automatic1111 can’t do Flux:

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/16311

And it looks like Forge can indeed run Flux:

https://sandner.art/flux1-in-forge-ui-setup-guide-with-sdsdxl-tips/

If you’re short of VRAM or RAM or something, though, I don’t know if Forge will do better than ComfyUI. I think that I might at least try to diagnose what is causing the issue first, as there are some things that can be done to reduce resource usage, like generating images at lower resolution and relying more-heavily on tile-based upscaling. With at least some of the systems, haven’t played around with ComfyUI here, there are also some command-line options to reduce VRAM usage in exchange for longer compute time, like --medvram or --lowvram in Automatic1111.

I don’t think that there’s a platform-agnostic way to see VRAM usage. I use a Radeon card on Linux, and there, the radeontop command will show VRAM usage. But I don’t know what tools one would use in, say, Windows to look up the same numbers.

On Linux, top will show regular memory usage, can hit “M” to sort by memory usage. I’m pretty out of date in Windows or MacOS – probably Task Manager or mmc on Windows and maybe top on MacOS as well? You may know better then me if you’re accustomed to that platform.

I can maybe try to give some better suggestions if you can list any of the OS being used, what GPU you’re running it on, and if you can, how much VRAM and RAM is on the system and if you can determine how much is being used.

permalink
report
parent
reply

despite editing the .sh file to point to the older tarballed Python version as advised on Github, it still tells me it uses the most up to date one that’s installed system wide and thus can’t install pytorch.

Can you paste your commands and output?

If you want, maybe on !imageai@sh.itjust.works, since I think that people seeing how to get Automatic1111 set up might help others.

I’ve set it up myself, and I don’t mind taking a stab at getting it working, especially if it might help get others over the hump to a local Automatic1111 installation.

permalink
report
parent
reply

venv nonsense

I mean, the fact that it isn’t more end-user invisible to me is annoying, and I wish that it could also include a version of Python, but I think that venv is pretty reasonable. It handles non-systemwide library versioning in what I’d call a reasonably straightforward way. Once you know how to do it, works the same way for each Python program.

Honestly, if there were just a frontend on venv that set up any missing environment and activated the venv, I’d be fine with it.

And I don’t do much Python development, so this isn’t from a “Python awesome” standpoint.

permalink
report
reply

I called Hillary “Hillary”, but that’s to distinguish her from Bill Clinton, who I called “Clinton”.

Honestly, you have to be a very commonly-used name before I’m going to use a single name for general purposes at all rather than a full name, so the set of people who have the chance to get into the “one name club” is very small.

permalink
report
parent
reply

I call Trump “Trump” and Harris “Harris”.

permalink
report
reply