mittimi / ComfyUI_mittimiLoadPreset

The system selects and loads preset.
GNU General Public License v3.0
2 stars 1 forks source link

add more inputs #1

Open cardenluo opened 2 weeks ago

cardenluo commented 2 weeks ago

This is a great project, after using the Groud node, it is unable to use the preset .can you add more inputs? This way, it can be more easily connected to the reghree pipeline, and the operation will be more convenient. image data2.json

mittimi commented 2 weeks ago

Thanks cardenluo.

I don't understand “Groud node”, would you tell me more about how it became unavailable? As for increasing the number of input items, I will try that.

cardenluo commented 2 weeks ago

sorry , I tested it and found that the composite nodes can also use presets.,It was the non-standard content of my presets that caused the presets not to work.

cardenluo commented 2 weeks ago

image

The combination with the loader is indeed very clever, but is the VAE output port not matching here? Shouldn't it be the same data type as the ckpt_name?

mittimi commented 2 weeks ago

Hi, cardenluo.

I have prototyped an integrated node, including Latent, named "(testing)LoadAndSettingParameters02". Samples of the new presets are in presets folder, named "(testing)preset.toml". If you are using the VAE built-in Checkpoint, select “use_merged_checkpoint” for the VAE field. Please try using it, and let me know what improvements you would like to see.

I added each output for "comfy-image-saver" node. That is why VAE is such a specification.

cardenluo commented 2 weeks ago

@mittimi Thank you very much; it’s already perfect. However, I’m still a bit greedy. Could you add a LoRa preset too? Many acceleration LoRa modules are necessary in the preset process.

mittimi commented 2 weeks ago

Hi, @cardenluo .

OK. However, it seems like a lot of work to add to the current one. It will take some time, as I still don't understand how the LoRA nodes work. I will try and let you know here if I find a way forward.

cardenluo commented 1 week ago

I found a way to load a LoRA preset; it looks a bit complicated, but it does achieve the one-click switch for the regular process, which is quite convenient. workflow

mittimi commented 1 week ago

Hi, @cardenluo . That's good!

So, I have created a new node that includes LoRA functionality, please see this page.

https://github.com/mittimi/ComfyUI_mittimiLoadPreset2

I do not yet support LoRA Block Weight, but will update that in the future. Please see the README for more information.