The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix flux TE not loading t5 embeddings.
comfyanonymousbdd4a22a2edb
diff --git a/comfy/text_encoders/flux.py b/comfy/text_encoders/flux.pyindex 7c75fe64b..b13fa5b4f 100644--- a/comfy/text_encoders/flux.py+++ b/comfy/text_encoders/flux.py@@ -13,7 +13,7 @@ class T5XXLModel(sd1_clip.SDClipModel):class T5XXLTokenizer(sd1_clip.SDTokenizer):def __init__(self, embedding_directory=None, tokenizer_data={}):tokenizer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "t5_tokenizer")- super().__init__(tokenizer_path, pad_with_end=False, embedding_size=4096, embedding_key='t5xxl', tokenizer_class=T5TokenizerFast, has_start_token=False, pad_to_max_length=False, max_length=99999999, min_length=256)+ super().__init__(tokenizer_path, embedding_directory=embedding_directory, pad_with_end=False, embedding_size=4096, embedding_key='t5xxl', tokenizer_class=T5TokenizerFast, has_start_token=False, pad_to_max_length=False, max_length=99999999, min_length=256)class FluxTokenizer: