Excellent Job! Question about the process.

#2
by nevaback - opened

Nice job! I was able to run this stably on a 4 node Jetson Thor cluster using TRITON_MLA_SPARSE attention. Not a very conventional setup, but can get 6-8 t/sec decode.

What was the process to quantize this. It would be very cool to get this same thing done for mindlab-research/Macaron-V1-Coding-Venti which is based on GLM-5.2, but seems post training made it quite a bit stronger on coding and terminal calling. Have you heard of that model?

Hi! Its very straightforward - essentially follows two recipes, the https://github.com/vahe1994/AQLM repo here to first generate a completely 2-bit version of the entire model, then uses standard REAP techniques to identify hot / cold experts, and instead of removing the cold experts, replaces them with their 2-bit versions from AQLM.

I can do this one next. mindlab-research/Macaron-V1-Coding-Venti

What sort of hardware is required to run that process?

Oh, also, maybe mindlab-research/Macaron-V1-Venti has the same coding ability and better overall ability, so maybe it is better than doing the coding specific one. Also, I asked here https://huggingface.co/baseten/GLM-5.2-Vision-NVFP4/discussions/4 about how hard it would be to put the vision in border on top of Macaron-V1-Venti. It seems promising.

For the AQLM process, codebook initialization using k-means is cheap and can be done on CPU but won't lead to very good outputs. To improve the AQLM weights you need to finetune the codebook on traces that you care about. I chose coding, prose, some medical texts. Generating these traces needs you to run the full unquantized model so this is the floor in terms of hardware (ideally b200x8). I naively grafted the vision encoder from baseten onto the quantized model and it worked so you could try it with Macaron.

Sign up or log in to comment