Skip to content

[BUG] aclnnMoeDistributeDispatchV2 tiling failed on A2 #238

@alanhe151220037

Description

@alanhe151220037

When I enable deepep in sglang, error shows

[ERROR][MoeDistributeDispatchV2] Attr commAlg is invalid, current only support fullmesh_v1 and fullmesh_v2, but got commAlg = fullmesh.
[ERROR][MoeDistributeDispatchV2] Get special expert, commAlg attr and set tiling data failed.
[ERROR][MoeDistributeDispatchV2] Get attr and set tiling data failed.

The following code is self-contradictory

if (soc_version == op::SocVersion::ASCEND910B) {
comm_alg = "fullmesh";
} else {
comm_alg = "fullmesh_v1";
}

OP_TILING_CHECK(
(strlen(commAlgPtr) != 0) && (strcmp(commAlgPtr, "fullmesh_v1") != 0) &&
(strcmp(commAlgPtr, "fullmesh_v2") != 0),
OP_LOGE(nodeName,
"Attr commAlg is invalid, current only support fullmesh_v1 and fullmesh_v2, but got commAlg = %s.",
commAlgPtr),
return ge::GRAPH_FAILED);

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