Пропустить навигацию
"which quant should I download?" is a question you may never have to answer again
0:00 / 1:47

"which quant should I download?" is a question you may never have to answer again

Eyal Toledano

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

Открыть в X
98 отметок «Нравится»СкачатьОригинальный пост

10 858 просмотров

"which quant should I download?" is a question you may never have to answer again the team Hamster Labs has figured out how to kill it with pMLX. download once at full precision (bf16) and the engine re-fits it to your machine on the fly, based on the job you give it tell it two things: how much context you need, and the slowest speed you'll accept. it reads your mac and picks the quantization plus how many experts stay in ram vs. stream from disk. no need to download a smaller quant or figure out which quant fits your hardware. same model for every use case and the config changes based on what you need I ran this on my own M4 Max and Qwen3.8-Flash-Next splits into two configs. short context, under 32k: full bf16, ~85% of experts in ram, fast at full precision since it fits my ram long context, 64k to 256k: keep ~70% bf16 and stream the rest from SSD at 22 tok/s, or drop to q8 and get 40 tok/s. I pick per task and the model itself never changes. there are many possibilities since I have the ram to spar - if i need speed, Q4 100% resident (74gb ram @ 62 tok/s) - if i need balance, Q8 95% resident (76gb @ 38 tok/s) - if i need accuracy, bf16 70% resident (96gb @ 16 tok/s) given whatever RAM you have (16/32/64/128/256 GB) + your context + your min speed, the engine picks the precision (bf16→q8→q4) and the expert-residency/paging split that fits your box and maximizes quality & speed last thing to optimize is speed. there are so many things we want to power with open models at Hamster and these 180b-300b class models have the potential to play a big role in that

31 комментарий

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля 雪瑜

    @xueyu1125

    @HamsterResearch I'm really looking forward to when pMLX will be released constantly having to calculate memory usage myself is a real pain.

    3 отметки «Нравится»

  • Фото профиля Felix Hesse

    @HesseFelix

    @HamsterResearch Unbelievable! If you can do that, it's nothing less than the revolution of local AI. Then almost everyone can have their own frontirr at home. A huge potential. When and where can I download pMLX?

    2 отметки «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch Not yet released, it’s working fully locally but I need to optimize decode speed a bit before releasing it My goal is q4 at 75% resident decoding at 100+ tok/s Hovering around mid 60’s right now which is 50%+ faster than the current release anyway Let me cook

    1 отметка «Нравится»

  • Фото профиля Felix Hesse

    @HesseFelix

    @HamsterResearch Sounds great! What do you predict for a mac Studio M2Max 64gb?

    1 отметка «Нравится»

  • Фото профиля Ilya Kaminsky

    @ilyakam

    @HamsterResearch This tweet mentions an "engine" that requires two inputs -- desired speed and context length. Where do I get it and how do I run it? Or is everyone waiting for you to publish

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch yep it’s not yet released

    1 отметка «Нравится»

  • Фото профиля Ilya Kaminsky

    @ilyakam

    @HamsterResearch Can you hook a brother up with some early access? I need it[1] for Geer[2] to cover all Apple Silicon from 16GB and up. [1] [2]

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch I’m nearly there, will push a first version even if tos benchmark doesn’t pass as it can be improved from there

  • Фото профиля techntrails

    @techntrailshk

    @HamsterResearch @EyalToledano please update on status App is down, website is down, email support is down. Lots of small biz owners in limbo that don't know how to get in touch with you

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch 👀 mind dm’ing me?

  • Фото профиля Doug Hohner

    @DougHohner

    @HamsterResearch I assume this will eventually work with larger models like DSv4Flash or GLM 5.3 Flash as well? Very interesting... Trying to decide just how big a Mac to buy, will have to watch your project for a few weeks...

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch gln 5.3 flash is a target right after the qwen3.8 flash next model it’s already loading on the engine at about 55gb resident but the decode is dreadful (but fixable) so odds are contributors could have at it or i’ll get to it next i can’t wait

    1 отметка «Нравится»

  • Фото профиля David King

    @theuttermost

    @HamsterResearch 🤯

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch

  • Фото профиля Ethpunk

    @Siddhartha__me

    @HamsterResearch Brilliant

    1 отметка «Нравится»

  • Фото профиля Chris W

    @Chris_Wozniczek

    @HamsterResearch I love that - it is helpful especially for newbies in the game like me.

    1 отметка «Нравится»

  • Фото профиля Afterkind

    @1techutopiapls

    @HamsterResearch This doesn't work for image models, right?

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch sure it does, qwen3.8-flash-next is multimodal and the vision tower’s unaffected

    1 отметка «Нравится»

  • Фото профиля EddyLeeKhane

    @EddyLeeKhane

    @HamsterResearch is it loading another already downloaded quant on the fly or somehow applying quants in real time???

    1 отметка «Нравится»

  • Фото профиля Eyal Toledano

    @EyalToledano

    @HamsterResearch Quantizing on the fly :)

    1 отметка «Нравится»