Run this model with HF Jobs

Run MiniMaxAI/MiniMax-M2.1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/MiniMaxAI/MiniMax-M2.1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/MiniMaxAI/MiniMax-M2.1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/MiniMaxAI/MiniMax-M2.1. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/MiniMaxAI/MiniMax-M2.1. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

NVFP4?

#2
by ktsaou - opened

@Firworks it would be amazing if your could convert this model to NVFP4 !

btw, I run minimax-m2 on 2x nvidia rtx 6000 pro blackwell, and it is the extremely reliable and performant. Minimax-M2 is gold for rtx blackwell. I hope this one will be too.

I've spent some time today attempting it but I think I'll have to do a few monkey patches to llm-compressor to get it to run to completion. Hopefully I can get it run. I spent a while trying to get the original M2 run as well but stopped when someone else successfully published an NVFP4 quant of it. The M2 NVFP4 quant was done with ModelOpt so using a different process than I normally run.

Also interrested in a nvfp4 version, have tried building one on the dgx spark but couldn't manage to do it due to some issues.

@Firworks the one I am currently using is this https://huggingface.co/lukealonso/MiniMax-M2-NVFP4

It works amazingly well on 2x rtx 6000 pro blackwell - this is by far the biggest and most reliable model I can run on this hardware for heavy agentic work and long context window. And surprizingly it is quite fast.

I don't know if @lukealonso output can help you determine what needs to be done for 2.1

@ktsaou I'll work on this today, hopefully it won't be too difficult.

Aweomse @lukealonso ,also trying to work on it but getting limitated by my hardware I have to pass some weights to disk :(

Sign up or log in to comment