AIOne-Agent-52B-A36B-it-NVFP4A16 is a 4-bit weight-only quantization of
JDONE-Research/AIOne-Agent-52B-A36B-it, a Korean multimodal Mixture-of-Experts model based on Gemma 4 31B IT (text backbone ~52 B, ~36 B active per token). The text-decoder dense Linear weights are compressed to NVFP4 (4-bit floating point), while activations stay in BF16 — so the model preserves the language and reasoning quality of the source model while drastically reducing VRAM footprint.
All capabilities are inherited from
AIOne-Agent-52B-A36B-it; only the storage precision of the dense text-decoder weights changes.
1import os
2os.environ["TORCHDYNAMO_DISABLE"] = "1"
3
4import torch
5from transformers import AutoProcessor, Gemma4ForConditionalGeneration
6
7MODEL_ID = "JDONE-Research/AIOne-Agent-52B-A36B-it-NVFP4A16"
8
9model = Gemma4ForConditionalGeneration.from_pretrained(
10 MODEL_ID,
11 torch_dtype="auto",
12 device_map="auto",
13)
14processor = AutoProcessor.from_pretrained(MODEL_ID)
15
16messages = [
17 {
18 "role": "user",
19 "content": [
20 {"type": "image", "image": "file:///path/to/image.jpg"},
21 {"type": "text", "text": "이 사진에 무엇이 보이나요? 한국어로 답해주세요."},
22 ],
23 },
24]
25
26inputs = processor.apply_chat_template(
27 messages,
28 add_generation_prompt=True,
29 tokenize=True,
30 return_tensors="pt",
31 return_dict=True,
32).to(model.device)
33
34generated = model.generate(**inputs, max_new_tokens=256, do_sample=False)
35print(
36 processor.tokenizer.decode(
37 generated[0, inputs.input_ids.shape[1]:], skip_special_tokens=True
38 )
39)
1vllm serve JDONE-Research/AIOne-Agent-52B-A36B-it-NVFP4A16 \
2 --quantization compressed-tensors \
3 --kv-cache-dtype fp8_e4m3 \
4 --max-model-len 32768 \
5 --tensor-parallel-size 1
1model: JDONE-Research/AIOne-Agent-52B-A36B-it-NVFP4A16
2quantization: compressed-tensors # NVFP4A16 weights
3kv_cache_dtype: fp8_e4m3 # FP8 KV cache (optional)
4gpu_memory_utilization: 0.9
5max_model_len: 32768
6tensor_parallel_size: 1
7enable_prefix_caching: true
8enable_chunked_prefill: true
This model was quantized with
llm-compressor using the
compressed-tensors nvfp4-pack-quantized format.
1default_stage:
2 default_modifiers:
3 GPTQModifier:
4 targets: [Linear]
5 ignore:
6 - lm_head
7 - "re:.*\\.experts\\..*"
8 - "re:.*\\.router\\..*"
9 - "re:.*vision_tower.*"
10 - "re:.*embed_vision.*"
11 - "re:.*multi_modal_projector.*"
12 scheme: NVFP4A16
13 block_size: 128
14 dampening_frac: 0.01
15 actorder: static
16 offload_hessians: false
17 sequential_targets: [Gemma4TextDecoderLayer]
NVFP4 weight-only quantization is designed for NVIDIA Blackwell-class GPUs (sm120, e.g. RTX PRO 6000, B100/B200) and is supported by recent vLLM builds with --quantization compressed-tensors. The model also runs on Hopper (H100/H200) at BF16 dequantized speed.
This model is released under the
Apache License 2.0 license.
1@misc{aione_agent_52b_a36b_it_nvfp4,
2 title = {AIOne-Agent-52B-A36B-it-NVFP4A16: NVFP4 Weight-Only Quantization of a Korean Sparse-MoE Multimodal Model},
3 author = {JDONE Research},
4 year = {2026},
5 howpublished = {\url{https://huggingface.co/JDONE-Research/AIOne-Agent-52B-A36B-it-NVFP4A16}},
6 note = {Quantized with llm-compressor}
7}