Пропустить навигацию
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

@awnihannun45 тыс. подписчиков

Открыть в 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 отметка «Нравится»