[0.18.0][cherry-pick][BugFix]Fix compilation errors for operators dispatch_gmm_combine_decode/moe_combine_normal/moe_dispatch_normal (#7844)
**What this PR does / why we need it?** pick from https://github.com/vllm-project/vllm-ascend/pull/7114 Fix compilation errors encountered when building versions later than b020 for the following operators: dispatch_gmm_combine_decode, moe_combine_normal, moe_dispatch_normal **Root Cause** After the b020 version update, the original moe_distribute_base.h file was updated and its definitions changed, which caused compilation failures for the above three operators that depend on this file. **Solution** We have added a dedicated copy of moe_distribute_base.h into the implementation of these three operators, ensuring stable compilation independent of framework version updates. **Does this PR introduce any user-facing change?** No. There are no user-facing changes; this fix only resolves compilation issues without affecting functionality or user behavior. **How was this patch tested?** vLLM version: releases/v0.18.0 Signed-off-by: Wangyibo1005 <2633333316@qq.com>
This commit is contained in:
@@ -38,6 +38,7 @@ target_sources(optiling PRIVATE
|
||||
|
||||
target_include_directories(optiling PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/utils/inc/kernel
|
||||
)
|
||||
|
||||
target_sources(opsproto PRIVATE)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "kernel_operator.h"
|
||||
#include "kernel_tiling/kernel_tiling.h"
|
||||
#include "../common/moe_distribute_base.h"
|
||||
#include "moe_distribute_base.h"
|
||||
#include "moe_combine_normal_tiling.h"
|
||||
|
||||
namespace MoeCombineNormalImpl {
|
||||
|
||||
Reference in New Issue
Block a user