-
Notifications
You must be signed in to change notification settings - Fork 21
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
KeyError: 'cond_stage_model.transformer.text_model.embeddings.position_ids' #28
Comments
I've tried adding it to the skipped layers as mentioned here. It's in weight_matching.py right?
But I'm still getting the same error:
|
So I'm worried that my changes didn't apply so I printed something, and it's printed. So I think my change applied.
Error is still the same:
|
Weird. I checked your original weight_matching.py and it's already skipped. |
One of your models might not have the CLIP model embedded. Some versions of protogen suffer from this, maybe others. In the main script near the start, where it loads the models:
You could try some code like this right after those two lines (untested) to copy across the CLIP model from the other model if one of them is missing it:
|
@R-N Did @zwishenzug 's suggestion help ? |
Error:
Code:
RAM usage:
The text was updated successfully, but these errors were encountered: