-
Notifications
You must be signed in to change notification settings - Fork 57
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
Image generation speed for M4 Max Macbook Pro using mflux #92
Comments
Wow impressive! Can add this to the benchmark section. Just out of curiosity, if you run it quantized, by enabling the flag |
Our benchmarks here are not very scientific or exact (but still fun to have them I think), but I looked through some of the old benchmark posts and there I tried to report the total time, so in your case that would be ~38 seconds I guess. Does that sound correct if you consider the total time it took from when you ran the command to when it finished? |
Here's the result for the 14 core M4 Pro with 64GB in the new Mac mini: time mflux-generate |
Quantize 8: Quantize 4: It doesn't really seem to impact the overall time that much? |
Hi @filipstrand , with the quantize flag 'on' it gives around ~7s, I turned on 'High Power Mode' in the 128Gb Apple M4 Max. time mflux-generate --prompt "Luxury food photograph" --model schnell --steps 2 --seed 2 --height 1024 --width 1024 --quantize 8 |
Quantize 4 flag gives around ~7s for the M4 Max 128Gb too time mflux-generate --prompt "Luxury food photograph" --model schnell --steps 2 --seed 2 --height 1024 --width 1024 --quantize 4 |
Just ran mflux in MacBook Pro 128Mb M4 Max Environment for reference, took sround 10.56s for image generation:
time mflux-generate
--prompt "Luxury food photograph"
--model schnell
--steps 2
--seed 2
--height 1024
--width 1024
Fetching 8 files: 100%|████████████████████████| 8/8 [00:00<00:00, 14388.69it/s]
Fetching 7 files: 100%|█████████████████████████| 7/7 [00:00<00:00, 3499.84it/s]
100%|█████████████████████████████████████████████| 2/2 [00:15<00:00, 7.50s/it]
mflux-generate --prompt "Luxury food photograph" --model schnell --steps 2 2 1.88s user 10.56s system 32% cpu 38.232 total
The text was updated successfully, but these errors were encountered: