-
Notifications
You must be signed in to change notification settings - Fork 97
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 Q*_K models don't work on macbooks (green noise) #177
Comments
I don't have any apple devices to test but it seems like a strange failure considering both Q4_1 and Q2_K_S use pretty similar functions ( Reading that thread you linked and considering the T5 encoder does work fine makes it even stranger (I assume Q3_K_S fails with flux?). Could you maybe test SD3.5 medium to see if the issue is isolated to flux or if it happens across all models. Also may be worth testing pytorch stable VS nightly to see if there's any fixes upstream. |
Interesting how the SD3.5 preview still has green spots in it. Wonder if it's some precision issues, but iirc someone did try the Another thing that might be worth testing is using the Unet Loader (GGUF/Advanced) node and setting dequant_dtype to float32. |
@vmirnv are you able to share the workflow that you used which successfully generated a video using the hunyuan-video-t2v-720p-Q4_1.gguf model? Also, if possible, can you share the version of torch you had installed when running the workflow? I have tried and tried to no avail to get my workflow (using the same gguf model) to produce a video that doesn't look all pixelated (like in the example image you showed). |
|
@austinbrown34 you could check my simple workflow here: https://civitai.com/models/1048570/simple-gguf-hunyuan-text2video-workflow
@city96 I think I found the reason why GGUFs with Q*_K work fine with clip encoders — ComfyUI simply runs them on the Mac CPU, while KSampler runs on the GPU. |
UPDATE: I finally determined what the issue was. I was running my comfyui server with —force-fp16, which inevitably produces the pixelated output I was seeing. Once I either removed this or switched it for —force-fp32, the videos generate correctly. |
First of all — thank you for the node. it is really helpful for small and personal projects.
I've tried multiple different flux Q*_K models from different authors — none of them work.
Meanwhile Q4_1 and similar quantisations work totally fine.
There are some reddit posts about that issue, including mine with no solution yet:
https://www.reddit.com/r/StableDiffusion/comments/1heupt9/flux_q_k_models_dont_work_on_macbooks/
https://www.reddit.com/r/comfyui/comments/1glk3lc/help_flux_schnell_gguf_is_generating_green_images/
https://www.reddit.com/r/FluxAI/comments/1gc98wh/flux_gguf_with_comfyui_on_macbook_m3_not/
The text was updated successfully, but these errors were encountered: