style_aligned_comfy icon indicating copy to clipboard operation
style_aligned_comfy copied to clipboard

Can we have a provision to reuse the reflatent?

Open kris775 opened this issue 1 year ago • 3 comments

Can we save the reference latent generated by the node "Style aligned sample reference latent' for one style and then reuse it again in "Style aligned reference sampler"?. If the processing of reference image need not be done again for each run when using the same reference image then saving and reusing might help in reducing the time of each run a bit and can help in a continuous iteration type of workflow.

kris775 avatar Feb 16 '24 08:02 kris775

Do you mean saving it offline / on disk for future use, or do you just mean caching the result between runs?

It should already cache and not require a re-run between generations if you use a fixed seed for it and the same image input / prompt input to the node, so perhaps I'm misunderstanding the request.

jasonphillips avatar Feb 21 '24 15:02 jasonphillips

that idea reminds me a bit of this feature... saving embeds for IP adapter https://youtu.be/mJQ62ly7jrg?si=V37H7HMK_KeymnPl&t=846

dfl avatar Feb 21 '24 20:02 dfl

Do you mean saving it offline / on disk for future use, or do you just mean caching the result between runs?

Yes i mean saving it offline on disk and reusing later. its like having pre saved different styles which can be directly used, similar to saving embeds for the IP adapter.

kris775 avatar Feb 22 '24 11:02 kris775