Repository navigation
ERNIE Image Support #2478
Acly
announced in
Announcements
Replies: 1 comment 1 reply
|
I found the issue with ERNIE Image not being detected in Krita AI Diffusion. The problem is not the filename or model path.
"ernie-image"
"ernie_image"but unlike Anima, there is no fallback filename detection for unknown architectures. Current resources.py code: if string in {"ernie-image", "ernie_image"}:
return Arch.ernieFix: if string in {"ernie-image", "ernie_image"} or (string == "unknown" and "ernie" in filename):
return Arch.ernieAfter patching this, ERNIE Image loads correctly even with metadata-less safetensors. My files were already correctly placed in: models/diffusion_models/and named: ernie-image.safetensors
ernie-image-turbo.safetensorsThe safetensors inspector also showed: No Metadatawhich confirms the root cause. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
ERNIE Image
State: Basic generation only (preview)
Requirements
Requires plugin version 1.50.0 or later.
For custom ComfyUI installs remember to update:
Model Download
Models need to be downloaded manually. If you are using a plugin-managed installation, please locate the
modelsfolder in the place where you installed the server. Download the models to the appropriate sub-folder indicated below.Overview
diffusion_models (choose one or both)
text_encoders
vae (you might already have this)
All reactions