LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
5.27k stars 360 forks source link

"KCPP SD Failed to create context!" after trying to load flux.1-schnell #1217

Open tororon1231 opened 3 hours ago

tororon1231 commented 3 hours ago

Downloaded weights for FLUX.1-schnell. After that this error was shown:


Welcome to KoboldCpp - Version 1.78 For command line arguments, please refer to --help


Auto Selected CUDA Backend...

Attempting to use CPU library. Initializing dynamic library: koboldcpp_default.dll

ImageGen Init - Load Model: C:\Users\flux1-schnell-q4_k.gguf

Error: KCPP SD Failed to create context! Load Image Model OK: False

Error: Could not load image model: C:\Users\flux1-schnell-q4_k.gguf

LostRuins commented 2 hours ago

Did you load the t5xxl, clip-l and vae as well? Those are required for flux. https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main