Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuzyc committed Sep 26, 2023
1 parent 3bf489b commit f1935cb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions paddle/phi/infermeta/spmd_rules/rules.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,11 @@ PD_REGISTER_SPMD_RULE(
lookup_table_v2,
PD_INFER_SPMD(phi::distributed::EmbeddingInferSpmd),
PD_INFER_SPMD(phi::distributed::EmbeddingInferSpmdReverse));
`
// split rule
PD_REGISTER_SPMD_RULE(
split,
PD_INFER_SPMD(phi::distributed::SplitInferSpmd),
PD_INFER_SPMD(phi::distributed::SplitInferSpmdReverse));

// split rule
PD_REGISTER_SPMD_RULE(split,
PD_INFER_SPMD(phi::distributed::SplitInferSpmd),
PD_INFER_SPMD(phi::distributed::SplitInferSpmdReverse));
PD_REGISTER_SPMD_RULE(
split_with_num,
PD_INFER_SPMD(phi::distributed::SplitWithNumInferSpmd),
Expand Down

0 comments on commit f1935cb

Please sign in to comment.