Skip to content

Commit

Permalink
[luci/pass] Add option_to_pass for RoPE (#14134)
Browse files Browse the repository at this point in the history
This commit adds fuseRoPE to option_to_pass

ONE-DCO-1.0-Signed-off-by: youngsik kim [email protected]
  • Loading branch information
ys44kim authored Oct 1, 2024
1 parent 6535079 commit ced67ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/luci/pass/src/CircleOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ void CircleOptimizer::optimize(loco::Graph *g) const
option_to_pass[Options::Algorithm::FuseHorizontalFullyConnected] = &createPassInstance<luci::FuseHorizontalFullyConnectedPass>;
option_to_pass[Options::Algorithm::FuseTransposeWithMean] = &createPassInstance<luci::FuseTransposeWithMeanPass>;
option_to_pass[Options::Algorithm::FuseRmsNorm] = &createPassInstance<luci::FuseRmsNormPass>;
option_to_pass[Options::Algorithm::FuseRoPE] = &createPassInstance<luci::FuseRoPEPass>;
option_to_pass[Options::Algorithm::FoldAddV2] = &createPassInstance<luci::FoldAddV2Pass>;
option_to_pass[Options::Algorithm::FoldCast] = &createPassInstance<luci::FoldCastPass>;
option_to_pass[Options::Algorithm::FoldDensify] = &createPassInstance<luci::FoldDensifyPass>;
Expand Down

0 comments on commit ced67ad

Please sign in to comment.