You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Custom Krea2 models showing, but crashing the app or not loading #14474
GPU model(s) and accelerator backend:
Nvidia 3060ti
Versions:
Unsloth Version
v0.1.909-beta
Package Version
2026.10.7
Desktop App Version
0.1.909-beta
llama.cpp Version
b11734-mix-c208e5f
audio.cpp Version
v0.9.2-unsloth.1
What happened?
Is it possible at all to run Krea2 custom models from the custom folder?
Here's what I've tried:
Custom Krea2 safetensors model: Shows in Models HUB, but not showing any info or "RUN" button. Shows in Images>Select Image Model drop down, but crashes the app when tried to load. If this kind of loading or using is currently unsupported, it should show "unsupported" info or any kind of explanation, instead of crashing the app.
Custom Krea2 GGUF model: Shows in Models HUB, not showing any info, but "RUN" button is available to click. Not showing in Images>Select image model at all. When "RUN" is clicked from the Hub, app tries to load it as LLM (chat) model, not an image model, then pops-up the info window: "Failed to load model: The installed llama.cpp does not recognise this GGUF's model architecture ('krea2'). The file is valid. If the model is newer than this llama.cpp build, updating llama.cpp may add support for it." The model is at least 3 weeks old, so I guess it's impossible it uses "newer" llama.cpp, since Unsloth yesterday automatically updated llama.cpp in my app.
I have also tried a few other custom Krea2 models (not downloaded via Unsloth Model Hub), and all of them are shown in the Model Hub, but not a single one showed any model info or was recognized as an Image model (doesn't matter if they are safetensors or GGUF). Krea2 models downloaded via Unsloth Model Hub are working correctly, but some of them are allowing only the "Create" option, while other options are grayed-out.
Studio’s Krea 2 family is diffusers pipeline-only (no GGUF / sd.cpp mapping). A custom GGUF with general.architecture = krea2 was not in the diffusion arch tables, so classification fell through to text-generation. Hub offered RUN as chat; llama.cpp then correctly said it does not recognise 'krea2'.
Fix: treat krea2 as an unsupported diffusion arch (same pattern as sdxl / hidream / …) so Hub does not offer chat RUN and the preflight refuses with a clear “neither Images nor Video” style message instead of a cryptic arch error.
Hub-downloaded Krea 2 pipelines work because they are full diffusers repos. A custom-folder safetensors is usually a DiT-only checkpoint; the picker can still recognise it as Krea 2 (header / name) and list it under Images, but assembling a load can fail hard. That should be a graceful “unsupported / incomplete” refusal, not a desktop crash — needs a stack / backend log to fix safely, so it’s not in the PR above.
Workaround today: use Krea 2 models from the Unsloth Model Hub (full pipeline), or for GGUFs wait for the classification fix / avoid Hub → RUN as chat.
Custom Krea 2 models are supported, and two fixes have landed since the earlier reply: #14477 routes Krea 2 GGUFs to Images instead of chat, and #14510 adds system-memory checks to refuse a single-file transformer load that would otherwise exhaust RAM. Both are included in Desktop v0.1.913-beta; please install the update offered by the Desktop update banner.
Could you retry the custom safetensors file after updating? If it still crashes, please share the exact model download link and filename, your system RAM amount, and the backend session log from the failed load, with any tokens or other private information removed. The memory fix covers a known crash mechanism, but we need those details to identify whether it explains your particular crash, so I am leaving this open for now.
For Krea 2, only Create is currently supported in Images; Transform, Inpaint, and Extend depend on each model family's supported workflows. A disabled workflow there does not mean that the checkpoint was detected incorrectly.
Activity
indrajeetapache commentedon Oct 21, 2026
Thanks for the clear repro — two different problems show up here.
1. Custom Krea 2 GGUF → chat RUN / llama.cpp error (real bug)
Studio’s Krea 2 family is diffusers pipeline-only (no GGUF / sd.cpp mapping). A custom GGUF with
general.architecture = krea2was not in the diffusion arch tables, so classification fell through to text-generation. Hub offered RUN as chat; llama.cpp then correctly said it does not recognise'krea2'.Fix: treat
krea2as an unsupported diffusion arch (same pattern assdxl/hidream/ …) so Hub does not offer chat RUN and the preflight refuses with a clear “neither Images nor Video” style message instead of a cryptic arch error.PR: #14477
2. Custom Krea 2 safetensors → Images dropdown, then app crash
Hub-downloaded Krea 2 pipelines work because they are full diffusers repos. A custom-folder safetensors is usually a DiT-only checkpoint; the picker can still recognise it as Krea 2 (header / name) and list it under Images, but assembling a load can fail hard. That should be a graceful “unsupported / incomplete” refusal, not a desktop crash — needs a stack / backend log to fix safely, so it’s not in the PR above.
Workaround today: use Krea 2 models from the Unsloth Model Hub (full pipeline), or for GGUFs wait for the classification fix / avoid Hub → RUN as chat.
cc @danielhanchen
Studio: route krea2 GGUFs to Images instead of opening them as chat m…
Studio: refuse a single-file diffusion load that would exhaust host R…
danielhanchen commentedon Nov 2, 2026
Custom Krea 2 models are supported, and two fixes have landed since the earlier reply: #14477 routes Krea 2 GGUFs to Images instead of chat, and #14510 adds system-memory checks to refuse a single-file transformer load that would otherwise exhaust RAM. Both are included in Desktop v0.1.913-beta; please install the update offered by the Desktop update banner.
Could you retry the custom safetensors file after updating? If it still crashes, please share the exact model download link and filename, your system RAM amount, and the backend session log from the failed load, with any tokens or other private information removed. The memory fix covers a known crash mechanism, but we need those details to identify whether it explains your particular crash, so I am leaving this open for now.
For Krea 2, only Create is currently supported in Images; Transform, Inpaint, and Extend depend on each model family's supported workflows. A disabled workflow there does not mean that the checkpoint was detected incorrectly.