Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#46 from tc20042008/xk-cinn-trivalop-fuse
Browse files Browse the repository at this point in the history
move group_pattern.InferShardableAxes to group_pattern_util.InferShar…
  • Loading branch information
tc20042008 authored Mar 10, 2024
2 parents c6bcf2d + 6bf5f0e commit c947ada
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions paddle/cinn/frontend/group_pattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,4 @@ namespace cinn::frontend {
using ErrorGroupPattern = api::ErrorPattern<frontend::FrontendPattern>;
using GroupPattern = api::OpTopoPattern<frontend::FrontendPattern>;

std::unordered_map<pir::Value, ShardableAxes> InferShardableAxes(const std::vector<const pir::Operation*>& ops);

}
1 change: 1 addition & 0 deletions paddle/cinn/frontend/group_pattern_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
namespace cinn::frontend {

GroupPattern GenerateGroupPatternFromFusionOp(const cinn::dialect::FusionOp&);
std::unordered_map<pir::Value, ShardableAxes> InferShardableAxes(const std::vector<const pir::Operation*>& ops);

}

0 comments on commit c947ada

Please sign in to comment.