All systems operationalAI Agent Automation Platform
English
Language简体中文EnglishSelected

Choose your language

Qwen3-235B-A22B-GPTQ-Int8

tclf90/Qwen3-235B-A22B-GPTQ-Int8

Publishertclf90

Download access requirementsModelScope source

通义千问3-235B-A22B-GPTQ-Int8 基础型 Qwen/Qwen3-235B-A22B 【💡新版 VLLM MoE 注意事项💡】

Text Chat
Model details

模型介绍

中文整理

通义千问3-235B-A22B-GPTQ-Int8

基础型 Qwen/Qwen3-235B-A22B

【模型更新日期】

【依赖】

【💡新版 VLLM MoE 注意事项💡】

  • 需使用V0推理模式

启动vllm之前,先设置环境变量

  • gptq marlin.py 存在小bug,需要补丁

将附件中的文件替换至

否则会出现下述报错

【💡通义千问3-235B-A22B 注意事项💡】

  • 启动vllm的时候,要记得使用专家并行模式( --enable-expert-parallel ),否则不能单节点8卡启动。

启动示例:

【模型列表】

文件大小 最近更新时间

  • -------- --------------

226GB 2025-05-09

【模型下载】

【介绍】

Qwen3-235B-A22B

Qwen3 Highlights

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features:

  • *Uniquely support of seamless switching between thinking mode** (for complex logical reasoning, math, and coding) and **non-thinking mode** (for efficient, general-purpose dialogue) **within single model**, ensuring optimal performance across various scenarios.
  • *Significantly enhancement in its reasoning capabilities**, surpassing previous QwQ (in thinking mode) and Qwen2.5 instruct models (in non-thinking mode) on mathematics, code generation, and commonsense logical reasoning.
  • *Superior human preference alignment**, excelling in creative writing, role-playing, multi-turn dialogues, and instruction following, to deliver a more natural, engaging, and immersive conversational experience.
  • *Expertise in agent capabilities**, enabling precise integration with external tools in both thinking and unthinking modes and achieving leading performance among open-source models in complex agent-based tasks.
  • *Support of 100+ languages and dialects** with strong capabilities for **multilingual instruction following** and **translation**.

Model Overview

Qwen3-235B-A22B** has the following features:

Type: Causal Language Models

Training Stage: Pretraining & Post-training

Number of Parameters: 235B in total and 22B activated

Number of Paramaters (Non-Embedding): 234B

Number of Layers: 94

Number of Attention Heads (GQA): 64 for Q and 4 for KV

Number of Experts: 128

Number of Activated Experts: 8

Context Length: 32,768 natively and 131,072 tokens with YaRN.

For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation.

Best Practices

To achieve optimal performance, we recommend the following settings:

  • **Sampling Parameters**:
  • For thinking mode ( enable thinking=True ), use Temperature=0.6 , TopP=0.95 , TopK=20 , and MinP=0 . **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions.
  • For non-thinking mode ( enable thinking=False ), we suggest using Temperature=0.7 , TopP=0.8 , TopK=20 , and MinP=0 .
  • For supported frameworks, you can adjust the presence penalty parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
  • **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 38,912 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
  • **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
  • **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
  • **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the answer field with only the choice letter, e.g., "answer": "C" ."
  • **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. It is implemented in the provided chat template in Jinja2. However, for frameworks that do not directly use the Jinja2 chat template, it is up to the developers to ensure that the best practice is followed.

Processing Long Texts

Qwen3 natively supports context lengths of up to 32,768 tokens. For conversations where the total length (including both input and output) significantly exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively. We have validated the model's performance on context lengths of up to 131,072 tokens using the YaRN method.

YaRN is currently supported by several inference frameworks, e.g., transformers and llama.cpp for local use, vllm and sglang for deployment. In general, there are two approaches to enabling YaRN for supported frameworks:

Modifying the model files:

In the config.json file, add the rope scaling fields:

For llama.cpp , you need to regenerate the GGUF file after the modification.

Passing command line arguments:

For vllm , you can use

For sglang , you can use

For llama-server from llama.cpp , you can use

To completely disable thinking, you could use a custom chat template when starting the model:

Vllm Guide

Citation

If you find our work helpful, feel free to give us a cite.

@misc{qwen3,

title = {Qwen3},

url = {https://qwenlm.github.io/blog/qwen3/},

author = {Qwen Team},

month = {April},

year = {2025}

}

优先采用原作者提供的中文模型卡片;仅有英文说明时由闲社AI翻译整理。重要参数、许可证和商用范围请以原文为准。

你将获得什么

完整仓库方式包含该固定版本中的权重、配置、分词器及说明文件;指定版本方式只下载所选文件或整组分片。多模态模型的投影文件、配置等依赖,请按作者说明配齐。

完整仓库可能包含多个权重格式,因此需要的磁盘空间可能大于单一格式的模型大小。下载文件不等于完成模型部署。

使用前须知

运行环境

运行模型需要的设备、工具与依赖,以原作者说明为准。

授权范围

是否允许商用、修改和分发,请查看模型许可证。

闲社提供资料与镜像下载方法,不代表已运行模型或完成安全审计。下载的代码应先检查,再执行。

Back to top