kohya-ss / kohya-ss/sd-scripts
Сan't train LORA on Proteus v0.2 model
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
I got the error when trying to start lora train with Playground V2 model
How to fix it? Looks like an error due to Proteus' TE training, but I'm not sure.
https://civitai.com/models/267242/proteus
Works for inference in a1, comfy, fooocus without changing anything.
ERROR:
RuntimeError: Error(s) in loading state_dict for CLIPTextModel:
Missing key(s) in state_dict: "text_model.embeddings.position_ids".
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the LORA training failure with the Playground V2/Proteus v0.2 model and inspect the CLIPTextModel state_dict load reported in the issue. Compare the missing position_ids key with the model’s text-encoder weights; done means training starts without this loading error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100