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

77 tokens limit ? #261

Open
Cariboost opened this issue Sep 30, 2024 · 2 comments
Open

77 tokens limit ? #261

Cariboost opened this issue Sep 30, 2024 · 2 comments

Comments

@Cariboost
Copy link

Cariboost commented Sep 30, 2024

Hello

[Edit] since posting this message I understood how to search correctly on GitHub. However I find the answer to be "token limit is on model side". However for the same model I use on A1111 with Google collab, I don't have this limit. And from what I read online this limit can be bypassed by the diffuser

I am using fastsdcpu on Android (btw I am using android 12 (on note 10+) even if compatibility says android 13 at least and it is working pretty well, even if quality is quite low but I didn't deep dive yet on why).

I am facing the limit of 77 tokens in the prompt : everything after 77 characters is ignored (terminal explicitly say that).

I checked on Google and it seem to be quite a common issue that most GUI like A1111 managed to solve. I tried to see if something was feasible on my side without coding but I couldn't find.
So I was wondering if a way existed with fastsdcpu ? Or is it something wanted to avoid CPU overload

@rupeshs
Copy link
Owner

rupeshs commented Oct 10, 2024

yes current default token limitation is 77.

@mykeehu
Copy link

mykeehu commented Oct 13, 2024

Here are some solutions. I'm no programmer, but maybe someone will make a PR after this:
huggingface/diffusers#2136

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

3 participants