Views
No views yet
| Accuracy (repeats=3) | aime25 | gpqa_diamond | gsm8k | piqa |
|---|---|---|---|---|
| thinkingmachines/Inkling-Small-NVFP4 | 0.9 | 0.8737 | 0.9727 | 0.9447 |
| MXFP4 | 0.911 | 0.8855 | 0.9699 | 0.9452 |
| Ratio | 1.0123 | 1.0135 | 0.9971 | 1.0006 |
1NCCL_NVLS_ENABLE=0 VLLM_QDQ=1 CUDA_VISIBLE_DEVICES=3,4,5,7 \
2vllm serve ~/models/thinkingmachines/Inkling-Small-MXFP4 \
3 --tokenizer-mode inkling \
4 --reasoning-parser inkling \
5 --tool-call-parser inkling \
6 --enable-auto-tool-choice \
7 --tensor-parallel-size 4 \
8 --kernel-config.enable_flashinfer_autotune=False \
9 --trust-remote-code \
10 --served-model-name mxfp \
11 --max-model-len 102400 \
12 --max-num-seqs 1024 \
13 --max-num-batched-tokens 32768 \
14 --enable-chunked-prefill \
15 --port 80011# Prompt generation
2curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d ' {
3 "model": "mxfp",
4 "messages": [
5 {"role": "system", "content": "You are a helpful assistant."},
6 {"role": "user", "content": "Write code to fine-tune an LLM."}
7 ],
8 "temperature": 1,
9 "max_tokens": 2048
10 } '
11
12# Accuracy evaluation
13evalscope eval --model mxfp --eval-type openai_api --api-key EMPTY --timeout 36000 --datasets gpqa_diamond aime25 gsm8k piqa \
14 --generation-config '{"temperature":1.0, "top_p":0.95, "n":1, "extra_body": { "chat_template_kwargs": { "enable_thinking": true, "reasoning_effort": "max"}},"max_tokens":64000}' \
15 --eval-batch-size 512 --api-url http://127.0.0.1:8001/v1 auto-round thinkingmachines/Inkling-Small --scheme BF16 --layer_config '{mlp.experts:{scheme:mxfp4}}' --output_dir ~/models/thinkingmachines/Inkling-Small-MXFP4 --model_free --format llm_compressor