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

SDXL Training prompt length limited to 225 tokens or can be more? #1877

Open
onirhakin opened this issue Jan 15, 2025 · 0 comments
Open

SDXL Training prompt length limited to 225 tokens or can be more? #1877

onirhakin opened this issue Jan 15, 2025 · 0 comments

Comments

@onirhakin
Copy link

Hi, is the training prompt length limited to 225 tokens or can be more?

here from the automated translation, i understand that the CLIP limit is 75 tokens, but is extended to 225 by splitting in chunks.
In other places there seems to be no limit to chunks, and prompt length, and it is not clear if there is a reason to limit it to 3 chunks.
So how is currently the limit in the code?
Can it be extended?
Should i care at which point the prompt is split? Is better for for related tokens to be in the same chunk (sentence not split) or it doesn't matter?

Thanks!

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

1 participant