登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
6 月10 日(下周三晚 19:00)直播预告:龙虾还活着吗?来看 PocketClaw 上市两个月后对 AI 硬件的真实复盘,点击预约,开播有提醒~
代码拉取完成,页面将自动刷新
仓库状态说明
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
59
Star
196
Fork
467
Ascend
/
msit
暂停
代码
Issues
11
Pull Requests
77
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
vllm推理量化后的qwen3模型报错
DONE
#ICRW2S
需求
wangke2024
创建于
2025-08-07 17:16
(python-3.9.10) [ma-user vllm-ascend]$python /home/ma-user/work/Quant/competition_model_GPTQ.py INFO 08-07 16:53:31 [__init__.py:30] Available plugins for group vllm.platform_plugins: INFO 08-07 16:53:31 [__init__.py:32] name=ascend, value=vllm_ascend:register INFO 08-07 16:53:31 [__init__.py:34] all available plugins for group vllm.platform_plugins will be loaded. INFO 08-07 16:53:31 [__init__.py:36] set environment variable VLLM_PLUGINS to control which plugins to load. INFO 08-07 16:53:31 [__init__.py:44] plugin ascend loaded. INFO 08-07 16:53:31 [__init__.py:230] Platform plugin ascend is activated WARNING:root:Warning: Failed to register custom ops, all custom ops will be disabled INFO 08-07 16:53:33 [__init__.py:30] Available plugins for group vllm.general_plugins: INFO 08-07 16:53:33 [__init__.py:32] name=ascend_enhanced_model, value=vllm_ascend:register_model INFO 08-07 16:53:33 [__init__.py:34] all available plugins for group vllm.general_plugins will be loaded. INFO 08-07 16:53:33 [__init__.py:36] set environment variable VLLM_PLUGINS to control which plugins to load. INFO 08-07 16:53:33 [__init__.py:44] plugin ascend_enhanced_model loaded. INFO 08-07 16:53:33 [patch_tritonplaceholder.py:33] Triton not installed or not compatible; certain GPU-related functions will not be available. WARNING 08-07 16:53:33 [patch_tritonplaceholder.py:46] Triton is not installed. Using dummy decorators. Install it via `pip install triton` to enable kernel compilation. INFO 08-07 16:53:33 [patch_tritonplaceholder.py:71] Triton module has been replaced with a placeholder. WARNING 08-07 16:53:34 [_custom_ops.py:21] Failed to import from vllm._C with ModuleNotFoundError("No module named 'vllm._C'") WARNING 08-07 16:53:35 [registry.py:380] Model architecture DeepSeekMTPModel is already registered, and will be overwritten by the new model class vllm_ascend.models.deepseek_mtp:CustomDeepSeekMTP. WARNING 08-07 16:53:35 [registry.py:380] Model architecture Qwen2VLForConditionalGeneration is already registered, and will be overwritten by the new model class vllm_ascend.models.qwen2_vl:CustomQwen2VLForConditionalGeneration. WARNING 08-07 16:53:35 [registry.py:380] Model architecture DeepseekV2ForCausalLM is already registered, and will be overwritten by the new model class vllm_ascend.models.deepseek_v2:CustomDeepseekV2ForCausalLM. WARNING 08-07 16:53:35 [registry.py:380] Model architecture DeepseekV3ForCausalLM is already registered, and will be overwritten by the new model class vllm_ascend.models.deepseek_v2:CustomDeepseekV3ForCausalLM. INFO 08-07 16:53:49 [config.py:689] This model supports multiple tasks: {'generate', 'score', 'classify', 'reward', 'embed'}. Defaulting to 'generate'. WARNING 08-07 16:53:49 [config.py:768] ascend quantization is not fully optimized yet. The speed can be slower than non-quantized models. INFO 08-07 16:53:49 [arg_utils.py:1742] npu is experimental on VLLM_USE_V1=1. Falling back to V0 Engine. INFO 08-07 16:53:49 [config.py:1747] Disabled the custom all-reduce kernel because it is not supported on current platform. Traceback (most recent call last): File "/home/ma-user/work/Quant/competition_model_GPTQ.py", line 242, in <module> comp = Competition() File "/home/ma-user/work/Quant/competition_model_GPTQ.py", line 35, in __init__ self.llm = LLM( File "/home/ma-user/work/requirements/vllm/vllm/utils.py", line 1099, in inner return fn(*args, **kwargs) File "/home/ma-user/work/requirements/vllm/vllm/entrypoints/llm.py", line 248, in __init__ self.llm_engine = LLMEngine.from_engine_args( File "/home/ma-user/work/requirements/vllm/vllm/engine/llm_engine.py", line 515, in from_engine_args vllm_config = engine_args.create_engine_config(usage_context) File "/home/ma-user/work/requirements/vllm/vllm/engine/arg_utils.py", line 1335, in create_engine_config config = VllmConfig( File "<string>", line 19, in __init__ File "/home/ma-user/work/requirements/vllm/vllm/config.py", line 3709, in __post_init__ self.quant_config = VllmConfig._get_quantization_config( File "/home/ma-user/work/requirements/vllm/vllm/config.py", line 3651, in _get_quantization_config quant_config = get_quant_config(model_config, load_config) File "/home/ma-user/work/requirements/vllm/vllm/model_executor/model_loader/weight_utils.py", line 195, in get_quant_config return quant_cls() TypeError: __init__() missing 1 required positional argument: 'quant_config' [ERROR] 2025-08-07-16:53:50 (PID:299456, Device:-1, RankID:-1) ERR99999 UNKNOWN applicaiton exception 我程序所生成的文件和官方提供的deepseek-w8a8文件相比,缺少一个configuration_deepseek.py,不确定是不是诱因。
(python-3.9.10) [ma-user vllm-ascend]$python /home/ma-user/work/Quant/competition_model_GPTQ.py INFO 08-07 16:53:31 [__init__.py:30] Available plugins for group vllm.platform_plugins: INFO 08-07 16:53:31 [__init__.py:32] name=ascend, value=vllm_ascend:register INFO 08-07 16:53:31 [__init__.py:34] all available plugins for group vllm.platform_plugins will be loaded. INFO 08-07 16:53:31 [__init__.py:36] set environment variable VLLM_PLUGINS to control which plugins to load. INFO 08-07 16:53:31 [__init__.py:44] plugin ascend loaded. INFO 08-07 16:53:31 [__init__.py:230] Platform plugin ascend is activated WARNING:root:Warning: Failed to register custom ops, all custom ops will be disabled INFO 08-07 16:53:33 [__init__.py:30] Available plugins for group vllm.general_plugins: INFO 08-07 16:53:33 [__init__.py:32] name=ascend_enhanced_model, value=vllm_ascend:register_model INFO 08-07 16:53:33 [__init__.py:34] all available plugins for group vllm.general_plugins will be loaded. INFO 08-07 16:53:33 [__init__.py:36] set environment variable VLLM_PLUGINS to control which plugins to load. INFO 08-07 16:53:33 [__init__.py:44] plugin ascend_enhanced_model loaded. INFO 08-07 16:53:33 [patch_tritonplaceholder.py:33] Triton not installed or not compatible; certain GPU-related functions will not be available. WARNING 08-07 16:53:33 [patch_tritonplaceholder.py:46] Triton is not installed. Using dummy decorators. Install it via `pip install triton` to enable kernel compilation. INFO 08-07 16:53:33 [patch_tritonplaceholder.py:71] Triton module has been replaced with a placeholder. WARNING 08-07 16:53:34 [_custom_ops.py:21] Failed to import from vllm._C with ModuleNotFoundError("No module named 'vllm._C'") WARNING 08-07 16:53:35 [registry.py:380] Model architecture DeepSeekMTPModel is already registered, and will be overwritten by the new model class vllm_ascend.models.deepseek_mtp:CustomDeepSeekMTP. WARNING 08-07 16:53:35 [registry.py:380] Model architecture Qwen2VLForConditionalGeneration is already registered, and will be overwritten by the new model class vllm_ascend.models.qwen2_vl:CustomQwen2VLForConditionalGeneration. WARNING 08-07 16:53:35 [registry.py:380] Model architecture DeepseekV2ForCausalLM is already registered, and will be overwritten by the new model class vllm_ascend.models.deepseek_v2:CustomDeepseekV2ForCausalLM. WARNING 08-07 16:53:35 [registry.py:380] Model architecture DeepseekV3ForCausalLM is already registered, and will be overwritten by the new model class vllm_ascend.models.deepseek_v2:CustomDeepseekV3ForCausalLM. INFO 08-07 16:53:49 [config.py:689] This model supports multiple tasks: {'generate', 'score', 'classify', 'reward', 'embed'}. Defaulting to 'generate'. WARNING 08-07 16:53:49 [config.py:768] ascend quantization is not fully optimized yet. The speed can be slower than non-quantized models. INFO 08-07 16:53:49 [arg_utils.py:1742] npu is experimental on VLLM_USE_V1=1. Falling back to V0 Engine. INFO 08-07 16:53:49 [config.py:1747] Disabled the custom all-reduce kernel because it is not supported on current platform. Traceback (most recent call last): File "/home/ma-user/work/Quant/competition_model_GPTQ.py", line 242, in <module> comp = Competition() File "/home/ma-user/work/Quant/competition_model_GPTQ.py", line 35, in __init__ self.llm = LLM( File "/home/ma-user/work/requirements/vllm/vllm/utils.py", line 1099, in inner return fn(*args, **kwargs) File "/home/ma-user/work/requirements/vllm/vllm/entrypoints/llm.py", line 248, in __init__ self.llm_engine = LLMEngine.from_engine_args( File "/home/ma-user/work/requirements/vllm/vllm/engine/llm_engine.py", line 515, in from_engine_args vllm_config = engine_args.create_engine_config(usage_context) File "/home/ma-user/work/requirements/vllm/vllm/engine/arg_utils.py", line 1335, in create_engine_config config = VllmConfig( File "<string>", line 19, in __init__ File "/home/ma-user/work/requirements/vllm/vllm/config.py", line 3709, in __post_init__ self.quant_config = VllmConfig._get_quantization_config( File "/home/ma-user/work/requirements/vllm/vllm/config.py", line 3651, in _get_quantization_config quant_config = get_quant_config(model_config, load_config) File "/home/ma-user/work/requirements/vllm/vllm/model_executor/model_loader/weight_utils.py", line 195, in get_quant_config return quant_cls() TypeError: __init__() missing 1 required positional argument: 'quant_config' [ERROR] 2025-08-07-16:53:50 (PID:299456, Device:-1, RankID:-1) ERR99999 UNKNOWN applicaiton exception 我程序所生成的文件和官方提供的deepseek-w8a8文件相比,缺少一个configuration_deepseek.py,不确定是不是诱因。
评论 (
2
)
登录
后才可以发表评论
状态
DONE
TODO
WIP
DONE
CLOSED
REJECTED
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
Python
1
https://gitee.com/ascend/msit.git
git@gitee.com:ascend/msit.git
ascend
msit
msit
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册