Prompt is too long (should be < 77 tokens)
Closed this issue · 2 comments
lawrencecchen commented
Is there any way to have longer prompts? (I'm a complete ML noob, would love to learn!)
lawrencecchen commented
SidJain1412 commented
@lawrencecchen this explains it:
#20 (comment)
The clip-vit-large-patch14 (https://huggingface.co/openai/clip-vit-large-patch14) model used by SD can only handle sequences of 77 tokens. It works like that in the original pytorch implementation as well. Anything longer than that gets silently truncated.