Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions paddle/fluid/framework/ir/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ if(WITH_XPU)
pass_library(quant_dequant_xpu_pass inference DIR xpu DEPS ${XPU_PASS_DEPS})
pass_library(roformer_relative_pos_fuse_pass inference DIR xpu DEPS
${XPU_PASS_DEPS})
pass_library(spatial_transformer_resblock_xpu_fuse_pass inference DIR xpu
DEPS ${XPU_PASS_DEPS})
endif()

cc_library(
Expand Down
1 change: 1 addition & 0 deletions paddle/fluid/framework/ir/pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ static const std::vector<std::string> xpu_support_subgraph_passes = {
"fc_xpu_fuse_pass",
"link_xpu_op_max_pass",
"xpu_delete_cast_op_pass",
"spatial_transformer_resblock_xpu_fuse_pass",
};

static std::vector<std::string> support_subgraph_generate_passes;
Expand Down
Loading