跳过导航
A perfect coding model for MLX on Apple silicon.. Qwen delivered again.
0:00 / 0:50

A perfect coding model for MLX on Apple silicon.. Qwen delivered again.

Awni Hannun

@awnihannun4.5万 位关注者

在 X 上查看
1,266 个赞下载原帖

186,831 次观看

A perfect coding model for MLX on Apple silicon.. Qwen delivered again. Runs quite fast on an M3 Ultra. Running the 4-bit quantized with mlx-lm:

36 条评论

评论来自 X (Twitter) 上的原帖

  • Awni Hannun 的头像

    @awnihannun

    4-bit model is in the Hugging Face MLX Community: Sample command:

    56 个赞

  • Awni Hannun 的头像

    @awnihannun

    One shotted this with the 4-bit model.. not bad at all. Prompt: "write a python script for a bouncing yellow ball within a square, make sure to handle collision detection properly. make the square slowly rotate. implement it in python. make sure ball stays within the square"

    37 个赞

  • Artificially Intelligent 的头像

    @ArtiIntelligent

    The key metric here is the 64W of power usage during inference!

    8 个赞

  • Justin Bowen 的头像

    @TonsOfFun111

    @sparkycollier What frustrates me is the lack of ANE utilization, I’ve used CoreML for computer vision models like YOLO and you can get those to use the GPU+ANE, just wish we were able to leverage all of our Apple Silicon resources for local models.

    8 个赞

  • Ivan Fioravanti 的头像

    @ivanfioravanti

    WOW! This was fast!!! Let's download it! 🔥 Thanks!

    6 个赞

  • Olcan 的头像

    @olcan

    m3 ultra with how much ram?

    5 个赞

  • Philippe Tremblay 的头像

    @ptremblay

    Would be nice to have benchmark results for this quantized variant.

    3 个赞

  • Matthew Rogers 的头像

    @Matthewrogers

    So much ram though

    3 个赞

  • Lee Parayno 的头像

    @leeparayno

    Would love to know the full specs of your Mac. Guessing Mac Studio, maxed RAM, even with only 1TB SSD you’re already at $9,499

    2 个赞

  • Jorge Lison 的头像

    @jorgelison

    Whoa 😮 the performance is way better than I thought. I need to try this on my M4. Thank you for doing the testing for us

    2 个赞

  • Anemll 的头像

    @anemll

    Could you run some bigger prompt like 4K tokens please?

    2 个赞

  • Awni Hannun 的头像

    @awnihannun

    Sure, here's a sample run: Prompt: 3135 tokens, 249.467 tokens-per-sec Generation: 100 tokens, 24.264 tokens-per-sec Peak memory: 272.008 GB

    22 个赞

  • Anemll 的头像

    @anemll

    Great! Thanks!

    2 个赞

  • rahul bansal 的头像

    @rahulban79

    powered by MLX.

    1 个赞

  • Nenad Mancevic 的头像

    @manca1

    I was looking for this! That was fast @awnihannun 🚀 🙏

    1 个赞

  • SIGKITTEN 的头像

    @SIGKITTEN

    you guys cooked with MLX so hard, ngl

    1 个赞

  • Luis Catacora 的头像

    @lucataco

    wow only 271gb ram?

    1 个赞

  • Andrew Rulnick 的头像

    @MickeySteamboat

    @TheJohnEgan 4-bit for a code model? 😬

    1 个赞

  • Arindam Majumder 𝕏 的头像

    @Arindam_1729

    i also tried it

    1 个赞

  • Prompt Injection 的头像

    @PromptInjection

    Great model, great Mac. But... OpenELM-Coder .. when? 😄

    1 个赞