-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"KCPP SD Failed to create context!" after trying to load flux.1-schnell #1217
Comments
Did you load the t5xxl, clip-l and vae as well? Those are required for flux. Also make sure you load the image model in the right place (NOT the text model) |
|
Oh, I didn't know anyone actually made quantized text encoders. Sure, I can do that. Glad flux is working well for you. Do share and help others as I've noticed many people struggling to get it to work. |
I'm getting this exact same error on KoboldCPP-v1.78.yr0-ROCm, having tried several of the exact same files as this post suggested and even went and tried it on Vulkan through koboldcpp-1.78 just to see if maybe the problem is isolated to that version. But just about everything I've done is not making this work. I even made a post about it on the ROCm discussion board. Same problem, but I also noted that KCPP SD in general just stopped working for me entirely on this latest version. |
Run it with |
So I made sure to go back and retest to see if I was not crazy on the text encoder side of things. Same exact setup on both ends just using Vulkan on normal version, HIP on ROCm ofc. And they both worked. Something I did not account for was the possibility of a bad model, the vae, t5xxl, clip_l were all supposed to be from flux.1-schnell which I used, but apparently that didn't help the case of the original model I wanted to use. I made sure to go back and test both the schnell GGUF I tried before and artsyliteQ4KS, the schnell one now works, but artsy doesn't. Originally schnell itself didn't work with the exact same setup I used, idk what changed. Same with artsyDream, so I was just led astray by my own incompetence.
|
Another possibility is a bad download (you can check SHA256 hashes against the original), or perhaps you were running something else at the time and had insufficient or occupied VRAM. In any case, glad you got it working, and do close this issue if its resolved. |
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
The text was updated successfully, but these errors were encountered: