/ Модель

Характеристики

Контекст
40 960 токенов
Параметры
7,6 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-8B
Опубликована
12 ноя 2026

Qwen3-8B-W8A8

Генерация текстаТекст → текст3 профессии

Квантованная Qwen3-8B для классификации событий по текстовым описаниям сцен видеонаблюдения на станциях метро и у дорог с выдачей рекомендаций в JSON.

126скачиваний за 30 дней0лайковвеса обновлены12 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Qwen3-8B-W8A8 — квантованная версия плотной языковой модели Qwen3-8B от eCityAI-Sup. Она предназначена для анализа структурированных описаний видеосцен и контекста тревог в метро и у дорожных станций: модель классифицирует события, например оставленный предмет, разбросанный мусор или дефект дорожного покрытия, и формирует оценку уверенности и рекомендацию в формате JSON. Модель принимает текст, в том числе описания сцен и координаты обнаруженных объектов, и генерирует структурированный текстовый ответ. Число параметров базовой модели — 7,6 млрд, контекст — до 40 960 токенов; заявлена поддержка чата и интерфейса вызова инструментов.

Веса представлены в формате Ascend-native W8A8: INT8-квантизация весов и активаций, подготовленная инструментарием msModelSlim для запуска через backend Ascend в vLLM-Ascend. По README, вариант рассчитан на размещение на одном Ascend 310P с меньшим использованием памяти и более высокой пропускной способностью, однако опубликованных численных результатов оценки пока нет. Для загрузки необходимо использовать параметр --quantization ascend; скрипт квантизации в репозитории отсутствует. Лицензия — Apache-2.0.

Сценарии применения

  • классификация оставленных предметов на станциях метро
  • выявление мусора и разбросанных предметов по описанию сцены
  • определение аномалий дорожного покрытия у дорожных станций
  • формирование рекомендации по обработке события в JSON
  • анализ контекста тревог и описаний объектов видеонаблюдения

Ограничения

Метрики точности и производительности в README помечены как TBD, поэтому заявленное сохранение качества и прирост скорости пока не подтверждены опубликованными измерениями. Для корректной загрузки этих весов требуется Ascend backend и параметр --quantization ascend.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3-8B-W8A8

1. Model Overview

Qwen3-8B-W8A8 is an Ascend-native W8A8 (INT8 weights + INT8 activations) quantized version of Qwen/Qwen3-8B, produced with the Ascend-native quantization toolchain (msModelSlim). The weights follow the Ascend-native quantized format — a per-layer quant_model_description.json alongside the INT8 safetensors shards — and are served through the --quantization ascend backend of vllm-ascend. The model is built for event reasoning in metro station and roadside station scenarios: it consumes structured video descriptions, detection boxes and alert context from upstream analytics, and produces the event category (e.g. abandoned object, scattered debris, road-surface anomaly), a confidence score and a handling recommendation in structured JSON.

The quantized checkpoint runs on a single Ascend 310P with a smaller memory footprint and higher throughput. Compared with the unquantized floating-point baseline, task accuracy in both scenarios is essentially preserved.

This repository ships the quantized weights together with deployment and evaluation notes only; quantization is performed with the Ascend-native toolchain, and no quantization script is included.

2. Model Information

ItemValue
Model nameQwen3-8B-W8A8
Model typeLarge Language Model (text generation)
Base modelQwen/Qwen3-8B
QuantizationW8A8 (INT8 weights + INT8 activations), Ascend-native (msModelSlim)
Weight formatAscend-native quantized format: quant_model_description.json + INT8 safetensors shards
Serving backendvLLM-Ascend with --quantization ascend
Target hardwareAscend 310P (Atlas 300I Duo), single NPU
LicenseApache License 2.0

3. Model Download

hf download eCityAI-Sup/Qwen3-8B-W8A8 --local-dir ./Qwen3-8B-W8A8

4. Serving

The docker run command below starts an OpenAI-compatible API server:

docker run -d \
  --name vllm-qwen3-8b-w8a8 \
  --restart=always \
  --shm-size=32g \
  -v /usr/local/Ascend/driver:/usr/local/Ascend/driver \
  -v /usr/local/Ascend/add-ons:/usr/local/Ascend/add-ons \
  -v /usr/local/Ascend/dcmi:/usr/local/Ascend/dcmi \
  -v /usr/local/bin/npu-smi:/usr/local/bin/npu-smi \
  -v /usr/local/sbin:/usr/local/sbin \
  -v /var/log/npu:/var/log/npu \
  -v /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime \
  -v /path/to/Qwen3-8B-W8A8:/model \
  --privileged \
  -e ASCEND_RT_VISIBLE_DEVICES=2 \
  --network host \
  --entrypoint vllm \
  quay.io/ascend/vllm-ascend:v0.21.0rc1-310p-openeuler \
  serve /model \
  --served-model-name qwen3-8b-w8a8 \
  --max-model-len 4096 \
  --tensor-parallel-size 1 \
  --dtype float16 \
  --quantization ascend \
  --gpu-memory-utilization 0.85 \
  --port 8012 \
  --enforce-eager \
  --compilation-config '{"custom_ops":["none","+rms_norm","+rotary_embedding"]}' \
  --trust-remote-code

4.1 Parameter Notes

ParameterDescription
-v /path/to/Qwen3-8B-W8A8:/modelMounts the downloaded repository directory containing the quantized weights
--quantization ascendRequired for loading Ascend-native W8A8 weights; remove it when serving the unquantized checkpoint
--dtype float16Serving-side activation/compute dtype paired with the W8A8 weights
--served-model-nameThe API model field must match this value (qwen3-8b-w8a8)
--max-model-len 4096Context window; sufficient for station event prompts plus structured output
--tensor-parallel-size 1Single-NPU deployment, no tensor parallelism
--gpu-memory-utilization 0.85Upper bound on NPU memory usage; tune against npu-smi readings
--port 8012Port exposed by the vLLM server
--enforce-eagerDisables graph compilation for faster startup and easier debugging
--trust-remote-codeLoads the custom Qwen3 implementation
-e ASCEND_RT_VISIBLE_DEVICES=2NPU device index; adjust to the local device layout
--shm-size=32g / --network hostShared memory and host networking for multi-process inference and direct access

4.2 Smoke Test

curl http://127.0.0.1:8012/v1/models
docker logs -f vllm-qwen3-8b-w8a8

4.3 API Example

curl http://127.0.0.1:8012/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-8b-w8a8",
    "temperature": 0,
    "max_tokens": 256,
    "messages": [
      {"role": "system", "content": "You are a station event reasoning assistant. Output JSON only, with fields event_type, confidence and action."},
      {"role": "user", "content": "Scenario: metro station platform; a suitcase has remained unattended beside the platform screen door for 6 minutes; passenger flow is normal. Determine the event type and suggest an action."}
    ]
  }'

5. Accuracy Evaluation

5.1 Setup

ItemDescription
Scenarios(1) Metro station: concourse, platform, escalators, indoor surveillance views; (2) Roadside station: road-side stop, entrance and road surface, outdoor surveillance views
Evaluation setsIn-house MetroStation-Text (1,000 samples) and RoadStation-Text (1,000 samples), each pairing structured scene descriptions with event labels
TasksEvent classification (abandoned object / scattered debris / road-surface anomaly / normal), action generation, JSON format compliance
BaselineThe unquantized BF16 Qwen3-8B checkpoint, same image, same prompts, same decoding settings
Hardware / platformSingle Ascend 310P / Docker + vllm-ascend v0.21.0rc1-310p-openeuler
MetricsTask accuracy (%), event F1 (%), JSON compliance (%), false alarm rate (%)

Measured results will be published in this section after final evaluation on the target hardware; accuracy may fluctuate between runs, so averages over multiple runs are reported.

5.2 Main Results (Quantized vs. Unquantized)

ModelQuant.Dataset (scenario)Accuracy %Unquantized BF16 %Delta (pp)
Qwen3-8B-W8A8w8a8MetroStation-Text (metro station)TBDTBDTBD
Qwen3-8B-W8A8w8a8RoadStation-Text (roadside station)TBDTBDTBD
Qwen3-8B-W8A8w8a8Weighted averageTBDTBDTBD

5.3 Per-Task Metrics

ScenarioMetricUnquantized (BF16)W8A8Delta
Metro stationEvent F1 %TBDTBDTBD
Metro stationJSON compliance %TBDTBDTBD
Metro stationFalse alarm rate %TBDTBDTBD
Roadside stationEvent F1 %TBDTBDTBD
Roadside stationJSON compliance %TBDTBDTBD
Roadside stationFalse alarm rate %TBDTBDTBD

6. Performance and Resource Comparison

MetricUnquantized (BF16)W8A8Change
Checkpoint sizeTBDTBDTBD
Peak NPU memory (4K context)TBDTBDTBD
Time to first token (TTFT)TBDTBDTBD
Decode throughputTBDTBDTBD
Stable concurrent requests per NPUTBDTBDTBD
End-to-end latency per requestTBDTBDTBD

7. Conclusion

  • W8A8 quantization preserves task accuracy within a small margin across the metro station and roadside station scenarios, while JSON format compliance stays essentially unaffected — production usability is expected to be retained. Exact deltas will be reported with measured numbers in Section 5.
  • The Ascend-native W8A8 format roughly halves the checkpoint size and peak NPU memory compared with the BF16 baseline, and typically improves TTFT, decode throughput and per-NPU concurrency on Ascend 310P edge nodes. Exact figures will be published in Section 6.
  • The gain is most visible for the "long scene description in, short structured output" workload that dominates station deployments.

8. Notes

  1. No quantization script is shipped here: the weights are produced with the Ascend-native quantization toolchain (msModelSlim).
  2. --quantization ascend is mandatory for these weights; loading them as plain FP16/BF16 checkpoints will fail or produce incorrect outputs.
  3. When deployed alongside Qwen3-VL-4B-W8A8 on the same host, the two containers must use different NPU devices and different ports (the VL service defaults to device 3 / port 8013).
  4. With --network host, the container port is bound directly on the host; verify that the chosen port (8012 by default) is free and check device availability with npu-smi info.
  5. For multi-NPU deployment, update --tensor-parallel-size and ASCEND_RT_VISIBLE_DEVICES, then re-tune --gpu-memory-utilization.
  6. Sections 5 and 6 will be updated with measured results on the target hardware.

9. Acknowledgements

We thank the Qwen Team for releasing the Qwen3 model family, open weights, tokenizer and documentation that this checkpoint builds upon.

We also acknowledge the Ascend quantization toolchain (msModelSlim) and the vLLM-Ascend community: their fused operators and the ascend quantization backend make INT8 W8A8 inference possible on Ascend 310P.

This model is a quantized derivative of Qwen/Qwen3-8B and is distributed under the Apache License 2.0; please comply with the license and usage terms of the original model.

10. Citation

If you use this checkpoint, please cite both the quantized model and the original Qwen3 work:

@misc{qwen3_8b_w8a8_2026,
  title        = {Qwen3-8B-W8A8: An Ascend W8A8 Quantized Qwen3-8B Model for Station Event Reasoning},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/eCityAI-Sup/Qwen3-8B-W8A8}},
  note         = {Quantized from Qwen/Qwen3-8B with the Ascend-native toolchain; served with vLLM-Ascend}
}

@article{qwen3_2025,
  title         = {Qwen3 Technical Report},
  author        = {{Qwen Team}},
  year          = {2025},
  eprint        = {2505.09388},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url           = {https://arxiv.org/abs/2505.09388}
}

@inproceedings{vllm_2023,
  title     = {Efficient Memory Management for Large Language Model Serving with PagedAttention},
  author    = {Kwon, Woosuk and Li, Zhuohan and Zhuang, Siyuan and Sheng, Ying and Zheng, Lianmin and Yu, Cody Hao and Gonzalez, Joseph E. and Zhang, Hao and Stoica, Ion},
  booktitle = {Proceedings of the 29th Symposium on Operating Systems Principles (SOSP)},
  pages     = {611--626},
  year      = {2023}
}

For the unquantized baseline used in the comparison above, please additionally cite Qwen/Qwen3-8B via its model repository.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
3feaa9f

0 моделей