Open KelestZ opened 9 months ago
try degrading transfomers (both 4.19.2 and 4.27.1 have been tested to work)
try degrading transfomers (both 4.19.2 and 4.27.1 have been tested to work)
Installing transformers==4.27.1
fixed this issue for me
pip install -U transformers==4.27.1
RuntimeError: Error(s) in loading state_dict for LatentDiffusionInterface: Unexpected key(s) in state_dict: "cond_stage_model.transformer.text_model.embeddings.position_ids".