This checks if a gguf model exists for flux's T5 clip, and if so it uses it. Otherwise, it will load the safetensors version of t5.
This way anyone can load a quantized version of T5 by giving it the name t5xxl.gguf.
Checked and working if either version of T5 is missing.
This checks if a gguf model exists for flux's T5 clip, and if so it uses it. Otherwise, it will load the safetensors version of t5. This way anyone can load a quantized version of T5 by giving it the name
t5xxl.gguf
.Checked and working if either version of T5 is missing.