242 Commits (517f4a94e4a5c45edc64594d70585ec8aeb787e0)

Author SHA1 Message Date
comfyanonymous ad76574cb8 Fix some potential issues with the previous commits. 7 months ago
comfyanonymous 9acfe4df41 Support loading directly to vram with CLIPLoader node. 7 months ago
comfyanonymous 9829b013ea Fix mistake in last commit. 7 months ago
comfyanonymous 5c69cde037 Load TE model straight to vram if certain conditions are met. 7 months ago
comfyanonymous e9589d6d92 Add a way to set model dtype and ops from load_checkpoint_guess_config. 7 months ago
comfyanonymous 0d82a798a5 Remove the ckpt_path from load_state_dict_guess_config. 7 months ago
ljleb 925fff26fd
alternative to `load_checkpoint_guess_config` that accepts a loaded state dict (#4249)
* make alternative fn

* add back ckpt path as 2nd argument?
7 months ago
comfyanonymous b334605a66 Fix OOMs happening in some cases.
A cloned model patcher sometimes reported a model was loaded on a device
when it wasn't.
7 months ago
comfyanonymous 2ba5cc8b86 Fix some issues. 7 months ago
comfyanonymous ba9095e5bd Automatically use fp8 for diffusion model weights if:
Checkpoint contains weights in fp8.

There isn't enough memory to load the diffusion model in GPU vram.
7 months ago
comfyanonymous d7430a1651 Add a way to load the diffusion model in fp8 with UNETLoader node. 7 months ago
comfyanonymous 5f98de7697 Load flux t5 in fp8 if weights are in fp8. 7 months ago
comfyanonymous 1589b58d3e Basic Flux Schnell and Flux Dev model implementation. 7 months ago
comfyanonymous 4ba7fa0244 Refactor: Move sd2_clip.py to text_encoders folder. 7 months ago
comfyanonymous a5f4292f9f
Basic hunyuan dit implementation. (#4102)
* Let tokenizers return weights to be stored in the saved checkpoint.

* Basic hunyuan dit implementation.

* Fix some resolutions not working.

* Support hydit checkpoint save.

* Init with right dtype.

* Switch to optimized attention in pooler.

* Fix black images on hunyuan dit.
7 months ago
comfyanonymous f87810cd3e Let tokenizers return weights to be stored in the saved checkpoint. 7 months ago
comfyanonymous 10c919f4c7 Make it possible to load tokenizer data from checkpoints. 7 months ago
comfyanonymous 1305fb294c Refactor: Move some code to the comfy/text_encoders folder. 7 months ago
comfyanonymous a3dffc447a Support AuraFlow Lora and loading model weights in diffusers format.
You can load model weights in diffusers format using the UNETLoader node.
8 months ago
comfyanonymous 9f291d75b3 AuraFlow model implementation. 8 months ago
comfyanonymous f45157e3ac Fix error message never being shown. 8 months ago
comfyanonymous 5e1fced639 Cleaner support for loading different diffusion model types. 8 months ago
comfyanonymous ffe0bb0a33 Remove useless code. 8 months ago
comfyanonymous 391c1046cf More flexibility with text encoder return values.
Text encoders can now return other values to the CONDITIONING than the cond
and pooled output.
8 months ago
comfyanonymous 4040491149 Better T5xxl detection. 8 months ago
comfyanonymous d7484ef30c Support loading checkpoints with the UNETLoader node. 8 months ago
comfyanonymous 537f35c7bc Don't update dict if contiguous. 8 months ago
Alex "mcmonkey" Goodwin 3f46362d22
fix non-contiguous tensor saving (from channels-last) (#3932) 8 months ago
comfyanonymous 8ceb5a02a3 Support saving stable audio checkpoint that can be loaded back. 8 months ago
comfyanonymous 4ef1479dcd Multi dimension tiled scale function and tiled VAE audio encoding fallback. 8 months ago
comfyanonymous 1e2839f4d9 More proper tiled audio decoding. 8 months ago
comfyanonymous 0d6a57938e Support loading diffusers SD3 model format with UNETLoader node. 8 months ago
comfyanonymous a45df69570 Basic tiled decoding for audio VAE. 8 months ago
comfyanonymous 6425252c4f Use fp16 as the default vae dtype for the audio VAE. 8 months ago
comfyanonymous ca9d300a80 Better estimation for memory usage during audio VAE encoding/decoding. 8 months ago
comfyanonymous 746a0410d4 Fix VAEEncode with taesd3. 8 months ago
comfyanonymous 04e8798c37 Improvements to the TAESD3 implementation. 8 months ago
Dr.Lt.Data df7db0e027
support TAESD3 (#3738) 8 months ago
comfyanonymous bb1969cab7 Initial support for the stable audio open model. 8 months ago
comfyanonymous 69c8d6d8a6 Single and dual clip loader nodes support SD3.
You can use the CLIPLoader to use the t5xxl only or the DualCLIPLoader to
use CLIP-L and CLIP-G only for sd3.
9 months ago
comfyanonymous 0e49211a11 Load the SD3 T5xxl model in the same dtype stored in the checkpoint. 9 months ago
comfyanonymous 5889b7ca0a Support multiple text encoder configurations on SD3. 9 months ago
comfyanonymous 8c4a9befa7 SD3 Support. 9 months ago
comfyanonymous 0920e0e5fe Remove some unused imports. 9 months ago
comfyanonymous e1489ad257 Fix issue with lowvram mode breaking model saving. 10 months ago
comfyanonymous 93e876a3be Remove warnings that confuse people. 10 months ago
comfyanonymous c61eadf69a Make the load checkpoint with config function call the regular one.
I was going to completely remove this function because it is unmaintainable
but I think this is the best compromise.

The clip skip and v_prediction parts of the configs should still work but
not the fp16 vs fp32.
10 months ago
comfyanonymous 8dc19e40d1 Don't init a VAE model when there are no VAE weights. 10 months ago
comfyanonymous c59fe9f254 Support VAE without quant_conv. 10 months ago
comfyanonymous 30abc324c2 Support properly saving CosXL checkpoints. 11 months ago