---
title: SenseNova-U1.6-8B-MoT-FP8
canonical_url: "https://www.modelscope.cn/models/gpuworks/SenseNova-U1.6-8B-MoT-FP8"
md_url: "https://www.modelscope.cn/models/gpuworks/SenseNova-U1.6-8B-MoT-FP8.md"
repository: gpuworks/SenseNova-U1.6-8B-MoT-FP8
chinese_name: SenseNova-U1.6-8B-MoT-FP8
last_updated: 2026-11-24
license: apache-2.0
pipeline_tag: any-to-any
tasks:
  - any-to-any
model_type:
  - neo_chat
architectures:
  - NEOChatModel
base_model:
  - sensenova/SenseNova-U1.6-8B-MoT
base_model_relation: quantized
parameters: 17.5B
tensor_type:
  - F32
  - F8_E4M3
  - BF16
library_name:
  - safetensors
language:
  - en
  - zh
downloads: 13
stars: 0
tags:
  - fp8
  - quantized
  - vllm-omni
  - image-generation
  - image-editing
  - "native multimodal"
  - neo_chat
---

# SenseNova-U1.6-8B-MoT-FP8

> SenseNova-U1.6-8B-MoT-FP8 - gpuworks 在 ModelScope 开源的模型。SenseNova-U1.6-8B-MoT-FP8

gpuworks/SenseNova-U1.6-8B-MoT-FP8 是 ModelScope 魔搭社区上的 17.5B 参数any-to-any模型，采用 apache-2.0 许可，基于 sensenova/SenseNova-U1.6-8B-MoT 构建。

- **Repository**: gpuworks/SenseNova-U1.6-8B-MoT-FP8
- **License**: apache-2.0
- **Tasks**: any-to-any
- **Parameters**: 17.5B
- **Base model**: sensenova/SenseNova-U1.6-8B-MoT
- **Tags**: fp8, quantized, vllm-omni, image-generation, image-editing, native multimodal, neo_chat
- **Downloads**: 13
- **Stars**: 0
- **Last updated**: 2026-11-24

Source: https://www.modelscope.cn/models/gpuworks/SenseNova-U1.6-8B-MoT-FP8

---

# SenseNova-U1.6-8B-MoT-FP8

A pre-quantized **FP8 (W8A8, per-tensor weights + dynamic activations)** checkpoint of
[`sensenova/SenseNova-U1.6-8B-MoT`](https://huggingface.co/sensenova/SenseNova-U1.6-8B-MoT)
(SenseNova / SenseTime, Apache-2.0), made for [vLLM-Omni](https://github.com/vllm-project/vllm-omni) >= 0.34.

- **19 GB on disk instead of 35 GB** (18.86 GB, 5 shards), so it downloads and loads about twice as fast and needs no BF16 round trip through host RAM.
- **Bit-identical to vLLM-Omni's online FP8.** Same quantization recipe as `--quantization fp8` on the BF16 base model, only done once, offline. In our comparison all 9 test images (text-to-image at 1024 and 2048, image edit at 1024) are pixel-for-pixel identical to the online-FP8 output.
- **No flag needed:** `vllm serve ... --omni` detects the FP8 weights from `config.json`.
- Fits a single 24 GB GPU (RTX 4090: 1024x1024 in 9.2 s, 2048x2048 in 42 s, 50 steps, 21.1 GiB peak).

Derived from base revision `8f582699bac7f1e5362df2a776397d0e1a963b6c`. Model architecture, behavior, intended use and limitations are those of the base model; see its model card. FP8 quantization is lossy in general, but see the quality section for what we measured.

## Run it

```bash
pip install "vllm-omni>=0.34"            # or use the vllm/vllm-omni:v0.34.0 image
vllm serve gpuworks/SenseNova-U1.6-8B-MoT-FP8 --omni --port 8000
```

```bash
curl http://localhost:8000/v1/images/generations -H 'Content-Type: application/json' -d '{
  "model": "gpuworks/SenseNova-U1.6-8B-MoT-FP8",
  "prompt": "A red bicycle leaning against a whitewashed wall in a Greek island alley, midday sun",
  "size": "1024x1024", "num_inference_steps": 50, "seed": 1}'
```

Passing `--quantization fp8` explicitly also works and gives identical output. Image editing goes through `/v1/images/edits`, as with the base model.

In GPUWorks this checkpoint is usable as a one-click template (single 24 GB NVIDIA GPU, vLLM-Omni runtime).

Hardware: verified on an RTX 4090 (Ada, compute capability 8.9), where vLLM selects the CUTLASS FP8 W8A8 kernel. Hopper uses the same W8A8 path. Ampere cards (RTX 3090 / A100) lack FP8 tensor cores; vLLM falls back to Marlin weight-only FP8 (W8A16) for serialized per-tensor FP8 checkpoints, but **we have not tested this checkpoint on Ampere**.

## What is quantized

Weights are `float8_e4m3fn` with one `float32` scalar `<name>.weight_scale` per tensor. Activations are quantized dynamically at run time (no calibration data, no `input_scale`).

| Quantized to FP8 (588 linears) | Kept in BF16 |
|---|---|
| In all 42 decoder layers, both the understanding and the generation (`*_mot_gen`) branch: `self_attn.{q,k,v,o}_proj`, `mlp.{gate,up,down}_proj` | `embed_tokens`, `lm_head`, all RMSNorm / q-k norm weights |
| | Vision encoders (`vision_model`, `fm_modules.vision_model_mot_gen`) |
| | Timestep / noise-scale embedders and the pixel head (`fm_modules.*`) |

This is exactly the set of layers vLLM-Omni's online FP8 quantizes for this model (every vLLM linear in `language_model`).

vLLM fuses q/k/v into `qkv_proj` and gate/up into `gate_up_proj` and quantizes each fused tensor with a single scale (max|W| / 448). To reproduce that, q/k/v (and gate/up) of one branch share the group-wide scale, stored in each member's `weight_scale`; vLLM's serialized-FP8 loader then re-quantizes to max(scale) as a no-op. `config.json` gets:

```json
"quantization_config": {"quant_method": "fp8", "activation_scheme": "dynamic", "is_checkpoint_fp8_serialized": true}
```

(`is_checkpoint_fp8_serialized` is required: without it vLLM-Omni treats `fp8` as online quantization of BF16 weights.)

## How it was made

[`convert_fp8.py`](convert_fp8.py) (included): reads the BF16 shards, computes group-wide max-abs scales, quantizes with vLLM's own `scaled_fp8_quant` kernel on the GPU, writes <=4.5 GB shards plus `model.safetensors.index.json`, copies tokenizer/config files and patches `config.json`.

```bash
python convert_fp8.py /path/to/SenseNova-U1.6-8B-MoT /path/to/SenseNova-U1.6-8B-MoT-FP8   # ~1 min on one GPU
```

## Measurements

Single RTX 4090 (24 GB), `vllm/vllm-omni:v0.34.0`, 50 denoising steps, concurrency 1, median of 3 requests after 1 warm-up. "Online FP8" is the BF16 base model started with `--quantization fp8`.

| | Online FP8 (BF16 base) | This checkpoint |
|---|---|---|
| Text-to-image 1024x1024 | 9.27 s | 9.23 s |
| Text-to-image 2048x2048 | 42.38 s | 42.47 s |
| Image edit 1024x1024 | 10.00 s | 10.00 s |
| Server start to healthy (page cache warm) | 32 s | 30 s (26 s with explicit `-q fp8`) |
| Peak host RSS while loading and serving | 12.3 GiB | 2.8 GiB (5.5 GiB with explicit `-q fp8`) |
| GPU memory after load | 19.3 GiB | 18.7 GiB |
| Peak GPU memory (nvidia-smi, 2048x2048) | 21.7 GiB | 21.1 GiB |
| Disk | 35.07 GB | 18.86 GB |

Speed is the same because the compute path is the same; the gains are download size, disk, host RAM and about 0.6 GiB of GPU memory. Start-up times were taken with the weights already in the page cache; a cold start is dominated by reading the files, so expect it to scale with the roughly halved file size.

### Quality vs online FP8

Same prompts and seeds on both servers (9 images: 3 text-to-image at 1024, 3 at 2048, 3 edits at 1024). Every image is **pixel-identical** (PSNR = infinity, SSIM = 1.0, mean absolute difference 0). The same holds with explicit `--quantization fp8` on this checkpoint. We did not compare against BF16 output (the 35 GB BF16 model does not fit a 24 GB card without offloading), so FP8-vs-BF16 quality loss is as for vLLM-Omni's online FP8 and has not been quantified here.

## Credits and license

Model weights, architecture and training by SenseNova / SenseTime; see the [base model](https://huggingface.co/sensenova/SenseNova-U1.6-8B-MoT) and [OpenSenseNova/SenseNova-U1](https://github.com/OpenSenseNova/SenseNova-U1). This derivative is released under the same Apache-2.0 license (see `LICENSE`).

---

## 中文简介

这是 [`sensenova/SenseNova-U1.6-8B-MoT`](https://huggingface.co/sensenova/SenseNova-U1.6-8B-MoT)（商汤 SenseNova，Apache-2.0）的**预量化 FP8 权重**（权重 per-tensor FP8 E4M3，激活动态量化），基于 vLLM-Omni >= 0.34，源版本 `8f582699bac7f1e5362df2a776397d0e1a963b6c`。

- 体积 18.86 GB（原 BF16 为 35.07 GB），下载与落盘约减半，加载时主机内存峰值从 12.3 GiB 降到约 2.8 GiB。
- 量化范围与 vLLM-Omni 在线 `--quantization fp8` 完全一致：42 层中理解分支与生成分支（`*_mot_gen`）的全部 q/k/v/o/gate/up/down 共 588 个线性层；embedding、lm_head、norm、视觉编码器、时间步嵌入与像素头保持 BF16。
- 与在线 FP8 输出逐像素一致（9 张图 PSNR 无穷大、SSIM 1.0）。耗时相同：RTX 4090 上 1024x1024 约 9.2 秒、2048x2048 约 42 秒（50 步），峰值显存约 21.1 GiB。
- 使用：`vllm serve gpuworks/SenseNova-U1.6-8B-MoT-FP8 --omni`，无需再传 `--quantization`。在 GPUWorks 中可作为一键部署模板使用。
- 已在 RTX 4090（Ada）上验证；Ampere（走 Marlin W8A16）**尚未测试**。转换脚本为 `convert_fp8.py`。
