Stepwise images often don’t provide a useful preview of intermediate states #538
Replies: 6 comments 1 reply
|
TAEx is absolutely what you want - see https://github.com/IonDen/mlx-taef. Denis' work is very solid. Inherently, a 4 or 8 step inference is going to come with a big reveal at the end... you could 'fake' it with a multistep TAEx & show incremental images - that may be better UX than a spinner. TAEx runs on CPU, so doesn't slow the real inference process. |
|
Interesting! Thanks for the tip. At the moment for my MVP I'm simply delegating to the mflux CLI, but I had a hunch I'd need to switch to the Python API sooner than later. Looks like using TAESx would require that. Makes me wonder:
|
|
|
Yep, wrapping the CLI was not the long-term plan, especially because I plan to integrate mlx-teacache at some point. I would have preferred to keep the CLI approach a bit longer for the MVP though. |
|
correction: TAEx - ie Tiny AutoEncoder |
|
I built the original stepwise image series generator, the original intent was a debug tool to make sure |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm working on a nice image gen app for Mac that uses mflux as its main (and only, for now) backend. To be published as open source soon-ish! Works great so far, but I need good mid-generation previews so that the user can have an idea of how their image will turn out and may cancel if a character has one or two extra hands (ha!)
Trying out the experimental stepwise image previews I notice that many models don't produce a useful preview of the image-to-be until very late in the steps, if at all. Compared to something like ComfyUI Latent2RGB this is sorely lacking. Otherwise, mflux is surprisingly capable as a generation backend for an app.
I assume this is a known limitation, but I wanted to create an issue to track this, and if possible get some feedback from @filipstrand WRT if enhancing this is in the short-to-medium term pipeline, and what amount of work it represents.
All reactions