Skip to content

在P800的8卡模组环境,如果用下载源码重新编译方法安装会报错 #7169

@b-birdy

Description

@b-birdy

核心故障原因:算子接口不匹配 (Interface Mismatch)
这是目前最严重的问题,导致编译器直接报错退出。
报错文件:/Work/FastDeploy/custom_ops/xpu_ops/src/ops/block_attn.cc (第 713 行)
报错内容:
/FastDeploy/custom_ops/xpu_ops/src/ops/block_attn.cc:713:71: error: too many arguments to function ‘int baidu::xpu::xfa::speculative_attention_decoder(baidu::xpu::api::Context*, TO*, const TQ*, const TQ*, const TQ*, const TKVCACHE*, const TKVCACHE*, const TID*, const baidu::xpu::api::VectorParam&, const baidu::xpu::api::VectorParam&, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, const float*, float, int64_t, int64_t, int64_t, const float*, const float*, const float*, float*, int64_t) [with TQ = bfloat16; TKVCACHE = bfloat16; TO = bfloat16; TGEMM0 = tfloat32; TGEMM1 = tfloat32; TEW = float; TID = int; int quant_mode = 0; int64_t = long int]’

导致无法生成block_attn.cc文件,进而无法安装

环境固件SBL版本1.48,驱动版本: 5.0.21.21,paddle 3.3.0,fastdeploy 2.4.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions