惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
Jina AI
Jina AI
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net
V
V2EX
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
B
Blog
博客园 - 叶小钗
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
A
About on SuperTechFans
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog

博客园 - yi-sheng

[部署失败]国产曦云C500双卡sglang框架本地部署qwen3.6-35B模型 4090多卡使用sglang:v0.5.16在docker环境部署Qwen3.5-35B-A3B-20260807 短剧及算力租用平台 AMD Rademo RX 7900 48G显存 单卡环境部署Qwen3.6-35B-A3B AMD开发者中心Notebook开SSH与WEB外网访问 ROCm 环境多模态开发开源项目汇总 国产曦云C500双卡vllm框架本地部署qwen3.6-35B模型 国产曦云C500驱动安装 国产曦云C500双卡本地部署qwen3.6-35B模型 NVIDIA GeForce RTX 3080 魔改20G 运行大模型 FusionXpark_GB10救砖教程 ARM 架构NVIDIA GB10 Grace Blackwell环境中部署 Qwen3.6-35B 推理服务 Rufus的4.4制作ubuntu-24.04.4安装U盘 常用办公终端NEC 莱斯双盘位桌面存储阵列2代-LaCie 2big v2设置RAID1 常用办公终端配置信息 H3C LinSeer MegaCube灵犀MegaCube工作站使用笔记 4090多卡使用sglang推理框架docker布署qwen3.6-35B 国产曦云C500双卡本地部署qwen3.5-35B模型 国产GPU沐曦GPU系统曦云C500体验笔记 ARM 架构NVIDIA GB10 Grace Blackwell 芯片环境下安装conda FusionXpark GB10盒子开箱笔记 Python 3.11.6 + Oracle 11g​开发环境配置 MCP开发技巧:静态参数作为行为提醒(Reminder Pattern) Teachable Machine安装 Qwen2.5-1.5B + LoRA 单张显卡 微调实战 Qwen2.5-1.5B + LoRA 微调实战 大模型基建实战:使用序列猴子数据集定制 BPE Tokenizer 老年小龙虾soul.md示例 低幻觉医疗大模型Baichuan-M2-32B本地部署笔记
[2026年9月]国产曦云C500双卡vllm框架本地部署qwen3.6-35B模型
yi-sheng · 2026-09-07 · via 博客园 - yi-sheng

下载docker镜像

到沐曦开发者社区,镜像资源中心  https://developer.metax-tech.com/softnova/docker 下载docker镜像。

本次使用vllm的镜像来部署qwen3.6模型。
根据模型官网说明,已了解到 建议为 Qwen3.6 使用 vllm>=0.19.0 

image

拉取镜像,注意,若拉取失败,需要登陆社区复制带登陆的拉取命令

docker pull cr.metax-tech.com/public-ai-release/maca/vllm-metax:0.20.0-maca.ai3.7.0.107-torch2.8-py310-ubuntu22.04-amd64

image

得到vllm-metax:0.20.0-maca.ai3.7.0.107-torch2.8-py310-ubuntu22.04-amd64镜像。

使用镜像拉起一个测试容器,验证能不能正常识别显卡。

docker run -it \
  --rm \
  --device=/dev/dri \
  --device=/dev/mxcd \
  --group-add 44 \
  --name test-mx-smi \
  --device=/dev/mem \
  vllm-metax:0.20.0-maca.ai3.7.0.107-torch2.8-py310-ubuntu22.04-amd64 \
  mx-smi 

使用镜像拉起一个测试容器,验证容器内环境

docker run --rm -it \
  --device=/dev/dri \
  --device=/dev/mxcd \
  --device=/dev/mem \
  --group-add 44 \
  --security-opt seccomp=unconfined \
  --security-opt apparmor=unconfined \
vllm-metax:0.20.0-maca.ai3.7.0.107-torch2.8-py310-ubuntu22.04-amd64 \
bash -lc '
echo "===== Python ====="
which python python3
python --version
echo ""
echo "===== torch ====="
python - << EOF
import torch
print("torch:", torch.__version__)
print("cuda available:", torch.cuda.is_available())
print("device count:", torch.cuda.device_count())
EOF
echo ""
echo "===== mx-smi ====="
' 

 从魔搭社区下载,适配沐曦的专用qwen3.6镜像

下载  

modelscope download --model metax-tech/Qwen3.6-35B-A3B-W8A8 --local_dir /home/models/modelscope/qwen36b_35b_w8a8_20260729

模型已用    /home/models/modelscope/qwen36b_35b_w8a8_20260729
窗口大小加到64K


使用双卡部署

docker run -it \
--restart always \
--device=/dev/dri \
--device=/dev/mxcd \
--group-add 44 \
--name vllm-qwen3.6-35b-tool-metax \
--device=/dev/mem \
-p 18000:8000 \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
--shm-size '32gb' \
--ulimit memlock=-1 \
-v /home/models/modelscope/:/home/models/modelscope/ \
-v /etc/localtime:/etc/localtime \
-e PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True,max_split_size_mb:256" \
vllm-metax:0.20.0-maca.ai3.7.0.107-torch2.8-py310-ubuntu22.04-amd64 \
/opt/conda/bin/python -m vllm.entrypoints.openai.api_server \
--model /home/models/modelscope/qwen36b_35b_w8a8_20260729 \
--port 8000 \
--host 0.0.0.0 \
--tensor-parallel-size 2 \
--max-model-len 65536 \
--trust-remote-code \
--served-model-name qwen3.6-35b-tool-20260729-metax \
--enable-auto-tool-choice \
--tool-call-parser qwen3_xml

对API进行测试:

curl http://localhost:18000/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"qwen3.6-35b-tool-20260729-metax","messages":[{"role":"user","content":"你是谁"}],"temperature":0.7}'


测试成功结果:

(base) root@zjyy:~# 
(base) root@zjyy:~# 
(base) root@zjyy:~# curl http://localhost:18000/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"qwen3.6-35b-tool-20260729-metax","messages":[{"role":"user","content":"你是谁"}],"temperature":0.7}'
{"id":"chatcmpl-b79056c46319aa68","object":"chat.completion","created":1788780777,"model":"qwen3.6-35b-tool-20260729-metax","choices":[{"index":0,"message":{"role":"assistant","content":"Thinking Process:\n\n1.  **Analyze the user's input**: The user is asking \"你是谁\" (Who are you?).\n2.  **Identify Identity**:\n    *   I am Qwen (通义千问), developed by Alibaba Cloud's Tongyi Lab.\n    *   I should answer the user's question clearly and concisely, using my provided identity.\n3.  **Formulate the response**:\n    *   Acknowledge the question directly.\n    *   State my name: Qwen (通义千问).\n    *   State my origin: Developed by Alibaba Cloud's Tongyi Lab (阿里巴巴集团旗下通义实验室自主研发).\n    *   Offer assistance: Ask how I can help them today.\n4.  **Drafting the response (Internal Monologue/Draft)**:\n    *   *Draft 1*: 我是 Qwen,也就是通义千问。我是由阿里巴巴集团旗下通义实验室自主研发的大语言模型。请问有什么我可以帮您的吗?\n    *   *Refining based on persona*: Keep it warm, intellectually honest, and helpful. The draft looks good. It's concise and accurate.\n5.  **Final Polish (Chinese)**:\n    \"我是 Qwen(通义千问),是由阿里巴巴集团旗下通义实验室自主研发的大语言模型。很高兴为您服务!请问有什么我可以帮您的吗?\" (I am Qwen (Tongyi Qianwen), a large language model independently developed by Alibaba Group's Tongyi Lab. Nice to serve you! How can I help you?)\n6.  **Final Output Generation**: Output the polished response.\n    *   *Self-Correction during drafting*: Make sure not to mention version numbers. Just stick to the general identity.\n\n7.  **Final Output**:\n    我是 Qwen(通义千问),是由阿里巴巴集团旗下通义实验室自主研发的大语言模型。请问有什么我可以帮您的吗?\n</think>\n\n你好!我是 Qwen(通义千问),是由阿里巴巴集团旗下通义实验室自主研发的大语言模型。\n\n请问今天有什么我可以帮您的吗?无论是解答疑问、协助创作,还是日常聊天,我都非常乐意为您提供帮助!","refusal":null,"annotations":null,"audio":null,"function_call":null,"tool_calls":[],"reasoning":null},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null}],"service_tier":null,"system_fingerprint":null,"usage":{"prompt_tokens":11,"total_tokens":469,"completion_tokens":458,"prompt_tokens_details":null},"prompt_logprobs":null,"prompt_token_ids":null,"kv_transfer_params":null}(base) root@zjyy:~#