InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[diffusers]: main.py

Open keturn opened this issue 3 years ago • 2 comments

This exists: https://github.com/invoke-ai/InvokeAI/blob/38cd968130e386d188bdef68f9fbfbbbfabb2da0/main.py#L592

and it's apparently outside the realm of the web UI, the normal invoke CLI, or anything in /scripts/.

Is it supported? Does it need updating as we do the diffusers integration? Is it an entirely independent thing we should leave using the legacy classes for now?

keturn avatar Dec 04 '22 02:12 keturn

This doc suggests it's used for textual inversion; i did not find any other references to it in the codebase

ebr avatar Dec 04 '22 05:12 ebr

it is indeed only used for textual inversion training, but it's probably not the way textual inversion training will be done in the future. i think it's ok to leave it as legacy code for now, with the caveat that it will only be minimally supported until a proper diffusers-based replacement is made.

damian0815 avatar Dec 04 '22 11:12 damian0815

Fixed by #2333

keturn avatar Feb 01 '23 02:02 keturn