--- license: apache-2.0 base_model: - DCTR/ours-BF16 library_name: Model Optimizer pipeline_tag: image-text-to-text tags: - robotics - embodied-reasoning - PEAR - Qwen3.8 - ModelOpt - quantized - FP4 - fp4 - FP8 - fp8 --- # Model Overview ## Description: **ours-NVFP4** is a quantized version of [DCTR/ours-BF16](https://huggingface.co/DCTR/ours-BF16), our post-trained [Qwen3.8-27B-PEAR](https://huggingface.co/mit-han-lab/Qwen3.8-27B-PEAR). It is quantized with [NVIDIA Model Optimizer](https://github.com/NVIDIA/Model-Optimizer) using the same mixed NVFP4/FP8 recipe as [nvidia/Qwen3.8-27B-NVFP4](https://huggingface.co/nvidia/Qwen3.8-27B-NVFP4), but calibrated on our own long robot-task trajectories. This is a research checkpoint. ### License/Terms of Use: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0), the license of the base model. ## Model Architecture: **Architecture Type:** Transformer (hybrid linear / full attention)
**Network Architecture:** Qwen3.8-27B (`Qwen3_5ForConditionalGeneration`)
**Number of Model Parameters:** 27B
## Input: **Input Type(s):** Text, Image
**Other Properties Related to Input:** Context length up to 262K
## Output: **Output Type(s):** Text
## Software Integration: **Supported Runtime Engine(s):** SGLang, vLLM
**Tested Hardware:** NVIDIA H100 (Hopper)
## Model Version(s): Mixed NVFP4/FP8 quantization, produced with nvidia-modelopt v0.48 (recipe `nvfp4_w4a4_mlp_fp8_attn_local_hessian`). ## Calibration Dataset: - **Source:** trajectories of ours-BF16 itself on the four PEAR benchmarks (LIBERO, LIBERO-Pro, RoboDojo, RoboLab). - **Size:** 640 samples, 5.3M tokens: 128 full trajectories taken from the start, up to 64K tokens each, plus 512 windows of 2K tokens. - **Why long samples:** robot episodes reach tens of thousands of tokens of context, so the calibration covers long contexts rather than only short chat samples. ## Post-Training Quantization NVFP4 (block size 16, FP8 scales) is applied to the MLP layers and the language-model head (`lm_head`); FP8 is applied to the self-attention and linear-attention layers. The NVFP4 layers are calibrated layer by layer with the [Local-Hessian](https://nvidia.github.io/Model-Optimizer/announcements/local-hessian.html) algorithm. The quantized layer set is identical to nvidia/Qwen3.8-27B-NVFP4 (401 quantized layers). ## Usage With [SGLang](https://github.com/sgl-project/sglang), one H100 holds the model and the DFlash draft: ```sh python -m sglang.launch_server \ --model-path DCTR/ours-NVFP4 \ --tp-size 1 \ --context-length 262144 \ --attention-backend fa3 \ --mamba-ssm-dtype float32 \ --cuda-graph-max-bs-decode 16 \ --speculative-algorithm DFLASH \ --speculative-draft-model-path DCTR/ours-draft-DFlash \ --speculative-num-draft-tokens 8 \ --speculative-draft-attention-backend fa3 ``` ## Evaluation **Distance from BF16** (per-token KL divergence and top-1 agreement vs. ours-BF16 on 102 held-out samples): | Context length | 0-16K | 16-32K | 32-64K | 64-96K | Top-1 agreement | |---|---|---|---|---|---| | ours-NVFP4 | 0.026 | 0.031 | 0.032 | 0.031 | 95.1% | **Speed on H100** (real task contexts, with the DFlash draft): single request on 4 GPUs (TP4) 576-606 tok/s; one server per GPU with 16 concurrent requests, 4 GPUs in total, 3,284 tok/s. **Task success** (same episodes vs. BF16, PEAR deployment protocol of 25 rounds and 32K tokens per turn): LIBERO 168 episodes 68.2% vs. 74.1% (-6.0, significant); LIBERO-Pro 160 episodes 60.6% vs. 55.3% (no drop). ## Model Limitations: NVFP4 lowers accuracy on LIBERO (about 6 points in our test) and lengthens the chain of thought there by about 10%. Use the BF16 model for evaluation. The base model's limitations apply.