-
Notifications
You must be signed in to change notification settings - Fork 8
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
Flux.1 and OSX with M1 #14
Comments
try qint8 quantization instead of qfloat8 |
I did try it, it doesn't generate that error again, but I get : Token indices sequence length is longer than the specified maximum sequence length for this model (80 > 77). Running this sequence through the model will result in indexing errors, |
The message about token length is ignorable As for the image result I am not sure, I really wish I had a Mac myself to test MPS for my own projects You might find some users discussing getting Flux working on MPS in this issue: huggingface/diffusers#9047 There are some people experiencing pixelated images in this thread, might be related |
Here is the prompt I used : A dreamy, soft-focus photograph capturing a romantic Jane Austen movie scene, It's using "black-forest-labs/FLUX.1-schnell" Usually with that model, I don't have any issue, I'm just trying to go around the token limitation for the prompt |
Possibly a precision oddity in the embed generation if it works normally using diffusers default embed generation. i.e, passing a |
I'm not able to make the Flux.1 work on OSX with M1, I'm getting
TypeError: Trying to convert Float8_e4m3fn to the MPS backend but it does not have support for that dtype.
Anybody has been successful?
The text was updated successfully, but these errors were encountered: