Skip to content
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

DRM is here: Model makers are starting to add extra IDs and corrupt CLIP on purpose #43

Open
CustodialMatter opened this issue Feb 28, 2024 · 2 comments

Comments

@CustodialMatter
Copy link

Model creators are now intentionally added keys that prevent making modifications to the model

Extra keys
Intentionally bad clip keys

I get that this is a cheap way to prevent redundant model merges and are fed up with not being credited, and I'm totally for that, but I need these files in diffusers format for work and it's breaking the converter

Here's the workaround so far:
szhublox/ambw_comfyui#4
https://gist.github.com/rvkwi/2df007fa3d6249474e18a7aa47d42507

Would be cool to see these fixes incorporated into Toolkit for the rest of us

@J-Cott
Copy link

J-Cott commented Jun 9, 2024

Do you think the error: "argument 'metadata': 'dict' object cannot be converted to 'PyString'" is the same issues?
I get it when trying to merge Checkpoints as .safetensor, but only a certain few checkpoints, the rest work fine.

@J-Cott
Copy link

J-Cott commented Jun 9, 2024

If anyone else is having this issue, you can fix it with this Automatic 1111 Extension: https://github.com/Akegarasu/sd-webui-model-converter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants