Views
No views yet

nvfp4_experts_only — MoE expert weights only, attention and dense layers remain BF16)1docker run --runtime nvidia --gpus all -p 8000:8000 \
2 -v ~/.cache/huggingface:/root/.cache/huggingface \
3 vllm/vllm-openai:v0.18.0-cu130 \
4 arcee-ai/Trinity-Large-Thinking-NVFP4 \
5 --trust-remote-code \
6 --tensor-parallel-size 8 \
7 --gpu-memory-utilization 0.90 \
8 --max-model-len 8192 \
9 --enable-reasoning \
10 --reasoning-parser deepseek_r1 \
11 --enable-auto-tool-choice \
12 --tool-call-parser qwen3_coder1vllm serve arcee-ai/Trinity-Large-Thinking-NVFP4 \
2 --trust-remote-code \
3 --tensor-parallel-size 8 \
4 --gpu-memory-utilization 0.90 \
5 --max-model-len 8192 \
6 --enable-reasoning \
7 --reasoning-parser deepseek_r1 \
8 --enable-auto-tool-choice \
9 --tool-call-parser qwen3_coderNote (For Blackwell pip installs): If installing vLLM via pip on Blackwell rather than using Docker, native FP4 kernels may produce incorrect output due to package version mismatches. As a workaround, force the Marlin backend:bash1export VLLM_NVFP4_GEMM_BACKEND=marlin 2 3vllm serve arcee-ai/Trinity-Large-Thinking-NVFP4 \ 4 --trust-remote-code \ 5 --tensor-parallel-size 8 \ 6 --moe-backend marlin \ 7 --gpu-memory-utilization 0.90 \ 8 --max-model-len 8192 \ 9 --enable-reasoning \ 10 --reasoning-parser deepseek_r1 \ 11 --enable-auto-tool-choice \ 12 --tool-call-parser qwen3_coderMarlin decompresses FP4 weights to BF16 for compute, providing the full memory compression benefit but not native FP4 compute speedup. On Hopper GPUs (H100/H200), Marlin is selected automatically and no extra flags are needed.
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model_id = "arcee-ai/Trinity-Large-Thinking-NVFP4"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(
6 model_id,
7 device_map="auto",
8 trust_remote_code=True
9)
10
11messages = [{"role": "user", "content": "Who are you?"}]
12input_ids = tokenizer.apply_chat_template(
13 messages, add_generation_prompt=True, return_tensors="pt"
14).to(model.device)
15
16outputs = model.generate(input_ids, max_new_tokens=4096, do_sample=True, temperature=0.3, top_p=0.95)
17print(tokenizer.decode(outputs[0], skip_special_tokens=True))arcee-ai/trinity-large-thinking.1@misc{singh2026arceetrinity,
2 title = {Arcee Trinity Large Technical Report},
3 author = {Varun Singh and Lucas Krauss and Sami Jaghouar and Matej Sirovatka and Charles Goddard and Fares Obied and Jack Min Ong and Jannik Straube and Fern and Aria Harley and Conner Stewart and Colin Kealty and Maziyar Panahi and Simon Kirsten and Anushka Deshpande and Anneketh Vij and Arthur Bresnu and Pranav Veldurthi and Raghav Ravishankar and Hardik Bishnoi and DatologyAI Team and Arcee AI Team and Prime Intellect Team and Mark McQuade and Johannes Hagemann and Lucas Atkins},
4 year = {2026},
5 eprint = {2602.17004},
6 archivePrefix= {arXiv},
7 primaryClass = {cs.LG},
8 doi = {10.48550/arXiv.2602.17004},
9 url = {https://arxiv.org/abs/2602.17004}
10}