Skip to content

Commit

Permalink
rewrite delete_weight_dequant_linear_op_encoder/decoder pass (PaddleP…
Browse files Browse the repository at this point in the history
…addle#48650)

* rewrite delete_weight_deqquant_linear_op_encoder/decoder pass
  • Loading branch information
RichardWooSJTU authored Dec 8, 2022
1 parent 3fbbee7 commit 9f1b2b1
Show file tree
Hide file tree
Showing 11 changed files with 442 additions and 893 deletions.
7 changes: 5 additions & 2 deletions paddle/fluid/framework/ir/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ pass_library(quant_conv2d_dequant_fuse_pass inference)
pass_library(shuffle_channel_detect_pass inference)
pass_library(delete_quant_dequant_op_pass inference)
pass_library(delete_quant_dequant_filter_op_pass inference)
pass_library(trt_delete_weight_dequant_linear_op_pass inference)
pass_library(delete_weight_dequant_linear_op_pass inference)
pass_library(delete_weight_dequant_linear_op_encoder_pass inference)
pass_library(delete_weight_dequant_linear_op_decoder_pass inference)
pass_library(delete_quant_dequant_linear_op_pass inference)
pass_library(delete_dropout_op_pass inference)
pass_library(delete_c_identity_op_pass inference)
Expand Down Expand Up @@ -359,6 +358,10 @@ cc_test(
test_delete_dropout_pass_cc
SRCS delete_dropout_op_pass_test.cc
DEPS delete_dropout_op_pass)
cc_test(
test_delete_dequant_weight_linear_op_pass
SRCS delete_weight_dequant_linear_op_pass_tester.cc
DEPS delete_weight_dequant_linear_op_pass)
if(WITH_GPU OR WITH_ROCM)
cc_test(
test_embedding_eltwise_layernorm_fuse_pass
Expand Down

This file was deleted.

Loading

0 comments on commit 9f1b2b1

Please sign in to comment.