[{"data":1,"prerenderedAt":330},["ShallowReactive",2],{"content-query-3RUGs6ACCU":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"cover":11,"type":12,"body":13,"_type":324,"_id":325,"_source":326,"_file":327,"_stem":328,"_extension":329},"/news/zh/3852","zh",false,"","0day同步！昇思MindSpore同步首发Qwen3-VL-30B-A3B-Instruct模型","上传至开源社区，欢迎广大开发者下载体验！","2025-10-04","https://obs-mindspore-file.obs.cn-north-4.myhuaweicloud.com/file/2025/10/13/4d44f8a73b2145e0bc54562abd681fb1.png","news",{"type":14,"children":15,"toc":321},"root",[16,24,30,35,46,51,60,76,81,86,91,99,144,158,169,174,184,189,197,205,213,218,226,234,242,247,255,263,268,276,290,295,300,308,313],{"type":17,"tag":18,"props":19,"children":21},"element","h1",{"id":20},"_0day同步昇思mindspore同步首发qwen3-vl-30b-a3b-instruct模型",[22],{"type":23,"value":8},"text",{"type":17,"tag":25,"props":26,"children":27},"p",{},[28],{"type":23,"value":29},"10月4日，阿里云发布语言大模型Qwen3-VL-30B-A3B-Instruct，昇思MindSpore在开源当日即实现0day支持。昇思MindSpore通过提供主流生态接口，依托MindSpore One套件，0day完成模型无缝迁移，并上传至开源社区，欢迎广大开发者下载体验！",{"type":17,"tag":25,"props":31,"children":32},{},[33],{"type":23,"value":34},"昇思开源社区MindSpore One代码仓：",{"type":17,"tag":25,"props":36,"children":37},{},[38],{"type":17,"tag":39,"props":40,"children":44},"a",{"href":41,"rel":42},"https://github.com/mindspore-lab/mindone",[43],"nofollow",[45],{"type":23,"value":41},{"type":17,"tag":25,"props":47,"children":48},{},[49],{"type":23,"value":50},"魔乐社区昇思MindSpore推理版详细地址：",{"type":17,"tag":25,"props":52,"children":53},{},[54],{"type":17,"tag":39,"props":55,"children":58},{"href":56,"rel":57},"https://modelers.cn/models/MindSpore-Lab/Qwen3-VL-30B-A3B-Instruct",[43],[59],{"type":23,"value":56},{"type":17,"tag":25,"props":61,"children":62},{},[63,69,71],{"type":17,"tag":64,"props":65,"children":66},"strong",{},[67],{"type":23,"value":68},"# 01",{"type":23,"value":70}," ",{"type":17,"tag":64,"props":72,"children":73},{},[74],{"type":23,"value":75},"模型介绍",{"type":17,"tag":25,"props":77,"children":78},{},[79],{"type":23,"value":80},"Qwen3-VL — 迄今为止 Qwen 系列中最强大的视觉语言模型。",{"type":17,"tag":25,"props":82,"children":83},{},[84],{"type":23,"value":85},"这一代产品在各个方面都进行了全面升级：更优秀的文本理解和生成、更深的视觉感知和推理能力、扩展的上下文长度、增强的空间和视频动态理解能力，以及更强的代理交互能力。",{"type":17,"tag":25,"props":87,"children":88},{},[89],{"type":23,"value":90},"提供 Dense 和 MoE 架构，可从边缘到云端进行扩展，并提供 Instruct 和增强推理的 Thinking 版本，以实现灵活、按需部署。",{"type":17,"tag":25,"props":92,"children":93},{},[94],{"type":17,"tag":64,"props":95,"children":96},{},[97],{"type":23,"value":98},"主要增强功能：",{"type":17,"tag":100,"props":101,"children":102},"ul",{},[103,109,114,119,124,129,134,139],{"type":17,"tag":104,"props":105,"children":106},"li",{},[107],{"type":23,"value":108},"**视觉代理：**操作 PC/移动 GUI — 识别元素、理解功能、调用工具、完成任务。",{"type":17,"tag":104,"props":110,"children":111},{},[112],{"type":23,"value":113},"**视觉编码增强：**从图像/视频生成 Draw.io/HTML/CSS/JS。",{"type":17,"tag":104,"props":115,"children":116},{},[117],{"type":23,"value":118},"**高级空间感知：**判断物体位置、视角和遮挡；提供更强的 2D 接地并启用 3D 接地，用于空间推理和具身 AI。",{"type":17,"tag":104,"props":120,"children":121},{},[122],{"type":23,"value":123},"**长上下文和视频理解：**原生 256K 上下文，可扩展至 1M；处理书籍和数小时长的视频，具有完整的回忆和秒级索引。",{"type":17,"tag":104,"props":125,"children":126},{},[127],{"type":23,"value":128},"**增强的多模态推理：**在 STEM/数学方面表现出色 — 因果分析和基于逻辑、证据的答案。",{"type":17,"tag":104,"props":130,"children":131},{},[132],{"type":23,"value":133},"**升级的视觉识别：**更广泛、更高品质的预训练能够“识别一切”——名人、动漫、产品、地标、动植物等。",{"type":17,"tag":104,"props":135,"children":136},{},[137],{"type":23,"value":138},"**扩展的 OCR：**支持 32 种语言（从 19 种增加）；在低光、模糊和倾斜情况下表现稳健；更好地处理罕见/古代字符和术语；改进了长文档结构解析。",{"type":17,"tag":104,"props":140,"children":141},{},[142],{"type":23,"value":143},"**与纯 LLM 相当****的文本理解：**无缝的文本-视觉融合，实现无损、统一的理解。",{"type":17,"tag":25,"props":145,"children":146},{},[147,152,153],{"type":17,"tag":64,"props":148,"children":149},{},[150],{"type":23,"value":151},"# 02",{"type":23,"value":70},{"type":17,"tag":64,"props":154,"children":155},{},[156],{"type":23,"value":157},"Qwen3-VL-30B-A3B-Instruct Mindspore推理指南",{"type":17,"tag":25,"props":159,"children":160},{},[161],{"type":17,"tag":64,"props":162,"children":163},{},[164],{"type":17,"tag":64,"props":165,"children":166},{},[167],{"type":23,"value":168},"1、模型下载。",{"type":17,"tag":25,"props":170,"children":171},{},[172],{"type":23,"value":173},"执行以下命令为自定义下载路径 `/mnt/data/Qwen3-VL-30B-A3B-Instruct` 添加白名单。",{"type":17,"tag":175,"props":176,"children":178},"pre",{"code":177},"export HUB_WHITE_LIST_PATHS=/mnt/data/Qwen3-VL-30B-A3B-Instruct\n",[179],{"type":17,"tag":180,"props":181,"children":182},"code",{"__ignoreMap":7},[183],{"type":23,"value":177},{"type":17,"tag":25,"props":185,"children":186},{},[187],{"type":23,"value":188},"执行以下命令从魔乐社区下载Qwen3-VL-30B-A3B-Instruct 权重文件至指定路径 `/mnt/data/Qwen3-VL-30B-A3B-Instruct` 。下载的文件包含模型代码、权重、分词模型和示例代码，占用约 60GB 的磁盘空间，请预留足够空间。",{"type":17,"tag":175,"props":190,"children":192},{"code":191},"pip install openmind_hub\n",[193],{"type":17,"tag":180,"props":194,"children":195},{"__ignoreMap":7},[196],{"type":23,"value":191},{"type":17,"tag":175,"props":198,"children":200},{"code":199},"python \n\nfrom openmind_hub import snapshot_download\n \nsnapshot_download(\n   repo_id=\"MindSpore-Lab/Qwen3-VL-30B-A3B-Instruct\",\n   local_dir=\"/mnt/data/Qwen3-VL-30B-A3B-Instruct\",\n   local_dir_use_symlinks=False\n)\nexit()\n",[201],{"type":17,"tag":180,"props":202,"children":203},{"__ignoreMap":7},[204],{"type":23,"value":199},{"type":17,"tag":25,"props":206,"children":207},{},[208],{"type":17,"tag":64,"props":209,"children":210},{},[211],{"type":23,"value":212},"2、快速开始",{"type":17,"tag":25,"props":214,"children":215},{},[216],{"type":23,"value":217},"Qwen3-VL-30B-A3B-Instruct推理需要 2卡 Atlas 800T/800I A2（64G）服务器服务器（基于BF16权重）。昇思MindSpore提供了Qwen3-VL-30B-A3B-Instruct推理可用的Docker容器镜像，供开发者快速体验。",{"type":17,"tag":25,"props":219,"children":220},{},[221],{"type":17,"tag":64,"props":222,"children":223},{},[224],{"type":23,"value":225},"2.1 停止其他进程，避免服务器中其他进程影响",{"type":17,"tag":175,"props":227,"children":229},{"code":228},"pkill -9 python\npkill -9 mindie\npkill -9 ray\n",[230],{"type":17,"tag":180,"props":231,"children":232},{"__ignoreMap":7},[233],{"type":23,"value":228},{"type":17,"tag":25,"props":235,"children":236},{},[237],{"type":17,"tag":64,"props":238,"children":239},{},[240],{"type":23,"value":241},"2.2 下载昇思 MindSpore 推理容器镜像",{"type":17,"tag":25,"props":243,"children":244},{},[245],{"type":23,"value":246},"执行以下 Shell 命令，拉取推理容器镜像：",{"type":17,"tag":175,"props":248,"children":250},{"code":249},"docker pull swr.cn-central-221.ovaijisuan.com/mindsporelab/qwen3vl:20250928\n",[251],{"type":17,"tag":180,"props":252,"children":253},{"__ignoreMap":7},[254],{"type":23,"value":249},{"type":17,"tag":25,"props":256,"children":257},{},[258],{"type":17,"tag":64,"props":259,"children":260},{},[261],{"type":23,"value":262},"2.3 启动容器",{"type":17,"tag":25,"props":264,"children":265},{},[266],{"type":23,"value":267},"执行以下命令创建并启动容器（/mnt/data/Qwen3-VL-30B-A3B-Instruct用于存放权重路径，若没有/mnt盘则要修改）：",{"type":17,"tag":175,"props":269,"children":271},{"code":270},"docker run -it \\\n--privileged \\\n--name=Qwen3-VL-30B-A3B-Instruct \\\n--net=host \\\n--cap-add=SYS_PTRACE \\\n--security-opt seccomp=unconfined \\\n--device=/dev/davinci0 \\\n--device=/dev/davinci1 \\\n--device=/dev/davinci_manager \\\n--device=/dev/hisi_hdc \\\n--device=/dev/devmm_svm \\\n--device=/dev/davinci_manager \\\n-v /usr/local/Ascend/add-ons/:/usr/local/Ascend/add-ons/ \\\n-v /usr/local/Ascend/driver/:/usr/local/Ascend/driver/ \\\n-v /usr/local/sbin:/usr/local/sbin \\\n-v /etc/hccn.conf:/etc/hccn.conf \\\n-v /mnt/data/Qwen3-VL-30B-A3B-Instruct/:/mnt/data/Qwen3-VL-30B-A3B-Instruct/ \\\nswr.cn-central-221.ovaijisuan.com/mindsporelab/qwen3vl:20250928 \\\n/bin/bash\n",[272],{"type":17,"tag":180,"props":273,"children":274},{"__ignoreMap":7},[275],{"type":23,"value":270},{"type":17,"tag":25,"props":277,"children":278},{},[279,284,285],{"type":17,"tag":64,"props":280,"children":281},{},[282],{"type":23,"value":283},"2.4",{"type":23,"value":70},{"type":17,"tag":64,"props":286,"children":287},{},[288],{"type":23,"value":289},"执行如下命令离线推理",{"type":17,"tag":25,"props":291,"children":292},{},[293],{"type":23,"value":294},"注意：参数image指定本地路径图片。图片可以提前下载到本地，也可以是网上图片链接，确保服务器网络正常。",{"type":17,"tag":25,"props":296,"children":297},{},[298],{"type":23,"value":299},"输出英文描述命令：",{"type":17,"tag":175,"props":301,"children":303},{"code":302},"msrun --worker_num=2 --local_worker_num=2 --master_port=8118 --log_dir=msrun_log --join=True --cluster_time_out=300 /workspace/mindone/examples/transformers/qwen3_vl/generate_qwen3_vl_moe.py --model_name /mnt/data/Qwen3-VL-30B-A3B-Instruct --image /mnt/data/1.jpg --prompt \"Describe this image.\"\n",[304],{"type":17,"tag":180,"props":305,"children":306},{"__ignoreMap":7},[307],{"type":23,"value":302},{"type":17,"tag":25,"props":309,"children":310},{},[311],{"type":23,"value":312},"输出中文描述命令：",{"type":17,"tag":175,"props":314,"children":316},{"code":315},"msrun --worker_num=2 --local_worker_num=2 --master_port=8118 --log_dir=msrun_log --join=True --cluster_time_out=300 /workspace/mindone/examples/transformers/qwen3_vl/generate_qwen3_vl_moe.py --model_name /mnt/data/Qwen3-VL-30B-A3B-Instruct --image /mnt/data/1.jpg --prompt \"请描述这张图片\"\n",[317],{"type":17,"tag":180,"props":318,"children":319},{"__ignoreMap":7},[320],{"type":23,"value":315},{"title":7,"searchDepth":322,"depth":322,"links":323},4,[],"markdown","content:news:zh:3852.md","content","news/zh/3852.md","news/zh/3852","md",1776506090987]