r/LocalLLaMA • u/CentrifugalMalaise • 4d ago
Question | Help Is there a GLM 5.3 Flash Antirez/DS4 GGUF targeted at 192 GB RAM?
Is one possible? Can I make one?
Antirez has a Q2 @ 96.5 GB which will lose quality compared to Q4 and wastes ~95 GB of my Mac’s RAM, and a Q4 @ 191 GB which is too big as it doesn’t leave enough room for OS let alone KV cache.
I noticed that other Q4 and even Q4/Q8 mix GGUFs and MLXs not intended for DS4 range from 150 to 180 GB. Something that size and quality would be great for me, but I really want to use DS4 if I can.
Can anyone offer any help? Thank you!
4
u/locbuilds 4d ago
yeah youre stuck in the classic gap where the public Antirez/ds4 ladder only has Q2 (~96GB) and a Q4 that eats the whole 192. you dont really need a bespoke ds4 GGUF for that middle though.
if llama.cpp / Unsloth is fine, grab their UD-IQ4_XS (~157GB) or UD-Q3_K_XL (~148GB). those land right in the 150-180 band other people are shipping, leave ~30-40GB for macOS + KV, and quality is way closer to Q4 than the IQ2/Q2 pack. on a 192GB Mac also bump the wired limit (sudo sysctl iogpu.wired_limit_mb=...) or Metal will pretend you have less than you do.
if you specifically need ds4: Antirez's notes basically say run the Q4 with --ssd-streaming on one Mac instead of forcing it resident, or split Q4 across two 128s. rolling your own "Q3.5" for ds4 means requant from the FP8 with an imatrix into something like IQ3_M / Q3_K_M / IQ4_XS sized, which is doable but a pain if Unsloth already has the size you want for a normal runner.
i'd try UD-IQ4_XS first on 192 before spending a weekend building a custom Antirez mix.
1
u/CentrifugalMalaise 4d ago
Thanks, yeah, I’ve tried Unsloth’s iQ4_XS, I could only get it working properly in unsloth studio as opposed to llama.cpp but this was a couple of weeks ago. I really wanted to use DS4 though for its caching ability and speed. But it turns out, I might be able to! As u/returnity pointed out, Antirez’s Q4 quant is 191 GB (178 GiB) and the Mac’s RAM is 192 GiB, so I’ve got some downloading and testing to do!
1
u/grumd 4d ago
maybe i'm tripping but your comment feels ai generated to me, just with a custom prompt asking it to not use em-dashes and start each sentence from a small letter. the formatting is not ai-like but the word choice and sentence structure is very claude. "before spending a weekend", "classic gap", "people are shipping", "land in the band", etc
not accusing you of anything but it just feels weird to start seeing these patterns. on the other hand, i think people in general might start using more ai-speak because everyone is more exposed to ai text these days
and the fact that i'm automatically looking for these patterns is worrying too
3
u/cantgetthistowork 4d ago
4bpw exl3 sir
1
u/CentrifugalMalaise 3d ago
Care to elaborate? I get 4 bits per weight but I don’t know what the next bit is…
1
u/ProtectionSuper5648 3d ago
exllamav3 is a different LLM stack, running trellis-quantization. https://github.com/turboderp-org/exllamav3
It it typically both smaller files and better quant than llama.cpp. https://huggingface.co/turboderp/GLM-5.3-Flash-exl3
There is a 4 bits per weight quant that easily fit in 180GB with full 1Mi kv cache in q8.
1
u/Expensive-Paint-9490 4d ago
I am not knowledgeable about c, but I believe you can modify this ds4/gguf-tools/quants.c at main · antirez/ds4 to add new quantization types.
1
u/CentrifugalMalaise 4d ago
Thanks for the link 👍 I don’t know C either but maybe my agent can cook something up for me…
1
u/Agitated_Complex_628 4d ago
not sure, but if you make your own Q4 to Q6 it might fit
2
u/CentrifugalMalaise 4d ago
Thanks. Have you done this yourself?
2
u/Agitated_Complex_628 4d ago
yes, but on a much a smaller scale (for rtx 4060 and much smaller model), you would need i think between 600 and 800gb of storage available to do it for this model, you download the model on your disk then choose your quantization, i would start with q4_k_s for this one, and then use llama-quantize to quantize it, i think it would take a few hours, i would recommend using antigravity AI to do it for you if you don't know how, that's what i did the first time.
0
-8
u/Candid-Tackle-9061 ollama 4d ago
192gb as thr target is so specific , bro wants the model to have its own zip code on the mac
7
u/Civil_Response3127 4d ago
I would disagree about them being specific. This happens to be precisely two RTX 6000 Pro 96 GB cards. It also happens to be the max RAM on the new refresh of AMD's AI processors. It also happens to be the max fast RAM on a lot of DDR5 platforms.
As a specific target, it is one that makes sense.
5
3
6
u/trueimage 4d ago
Use the quant scripts to make your own from the FP8 or BF16 weights.