arenasys / stable-diffusion-webui-model-toolkit

A Multipurpose toolkit for managing, editing and creating models.
MIT License
508 stars 34 forks source link

Fix broken CLIP position IDs in SDXL model doesn't work #39

Open anae-git opened 1 year ago

anae-git commented 1 year ago

When trying to fix an SDXL model with broken embeddings.position_ids like https://civitai.com/models/133005/juggernaut-xl version 5, I get:

Model is 6.46 GB. Model type identified as VAE-v1-BROKEN. Model components are: VAE-v1-SD.
Contains 6.31 GB of junk data!
Model will be pruned to 159.56 MB.