# Qwen3.6 ## 论文 [Qwen3.6](https://qwen.ai/blog?id=qwen3.6) ## 模型简介 Qwen3.6是一款采用混合专家 (MoE) 架构并包含视觉编码器的多模态因果语言模型。此版本重点优化了智能体编程 (Agentic Coding) 的准确率,并引入了思维保留 (Thinking Preservation) 机制,特别适合长上下文和复杂的代码仓库开发任务。
## 环境依赖 | 软件 | 版本 | | :------: |:-----------------------------------------:| | DTK | 26.04 | | python | 3.10.12 | | transformers | 5.5.0 | | vllm | 0.18.1+das.fa71803.dtk2604 | | triton | 3.6.0+gitc73250c4.staging | | torch | 2.10.0+das.opt1.dtk2604.20260325.g6b060a | 当前推荐使用镜像: harbor.sourcefind.cn:5443/dcu/admin/base/custom:vllm018-ubuntu22.04-dtk26.04-qwen3.6-20260423 - 挂载地址`-v` 根据实际模型情况修改 ```bash docker run -it \ --shm-size 200g \ --network=host \ --name qwen3.6 \ --privileged \ --device=/dev/kfd \ --device=/dev/dri \ --device=/dev/mkfd \ --group-add video \ --cap-add=SYS_PTRACE \ --security-opt seccomp=unconfined \ -u root \ -v /opt/hyhal/:/opt/hyhal/:ro \ -v /path/your_code_data/:/path/your_code_data/ \ harbor.sourcefind.cn:5443/dcu/admin/base/custom:vllm018-ubuntu22.04-dtk26.04-qwen3.6-20260423 bash ``` 更多镜像可前往[光源](https://sourcefind.cn/#/service-list)下载使用。 关于本项目DCU显卡所需的特殊深度学习库可从[光合](https://developer.sourcefind.cn/tool/)开发者社区下载安装。 ## 预训练权重 | 模型名称 | 权重大小 | 数据类型 |支持的DCU型号 | 最低卡数需求 | 下载地址 | |:------:|:----:|:----:|:----------:|:------:|:---------------------:| | Qwen3.6-35B-A3B | 35B | BF16 | BW1000 | 2 | [Hugging Face](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) | | Qwen3.6-27B | 27B | BF16 | BW1000 | 1 | [Hugging Face](https://huggingface.co/Qwen/Qwen3.6-27B) | ## 数据集 暂无 ## 训练 暂无 ## 推理 ### vllm #### 单机推理 ```bash ## serve启动 vllm serve Qwen/Qwen3.6-27B \ --port 8001 \ --trust-remote-code \ --dtype bfloat16 \ --tensor-parallel-size 2 \ --gpu-memory-utilization 0.925 \ --enable-auto-tool-choice \ --tool-call-parser qwen3_coder ## client访问 curl http://localhost:8001/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "Qwen/Qwen3.6-27B", "messages": [ {"role": "user", "content": "帮我查询上海的天气"} ], "tools": [ { "type": "function", "function": { "name": "get_weather", "description": "查询城市天气", "parameters": { "type": "object", "properties": { "city": {"type": "string"} }, "required": ["city"] } } } ] }' ``` ## 效果展示
### 精度 - 推理框架:vllm - 测试数据:humaneval、gsm8k - 使用的加速卡:bw1000 | model name| humaneval | gsm8k | | :------: | :------: | :------: | | Qwen3.6-27B | 0.8293 | 0.98 | | Qwen3.6-35B-A3B | 0.878 | 0.976 | ## 源码仓库及问题反馈 - https://developer.sourcefind.cn/codes/modelzoo/qwen3.6 ## 参考资料 - https://github.com/QwenLM/Qwen3.6