Skip to content

Commit

Permalink
【Hackathon 5th No.105】move fusion_gru/fusion_seqconv_eltadd_relu/fusi…
Browse files Browse the repository at this point in the history
…on_seqexpand_concat_fc to phi (PaddlePaddle#57881)

* add a part of fusion_gru

* add some code

* move the fusion_seqconv_eltadd_relu_op to phi but have the same bug in gru_op

* move fusion_seqexpand_concat_fc_op to phi, but have the same bug in fusion_gru_op

* fix the intermediate bug

* fix the conflict

* pass the fusion_seqconv in new ir

* try to move fusion_gru_mkldnn_kernel to phi

* move fusion_gru_mkldnn to phi, pass the test but some bug in new iR

* change some discribe

* fix conflict

* fix bug

* fix the bug in getInputName

* remove some describe

* add the set_dtype
  • Loading branch information
zeroRains authored Oct 27, 2023
1 parent 7b801fd commit e4cdf91
Show file tree
Hide file tree
Showing 18 changed files with 1,813 additions and 1,677 deletions.
3 changes: 0 additions & 3 deletions paddle/fluid/operators/fused/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ register_operators(
yolo_box_head_op
yolo_box_post_op
fusion_group_op
fusion_gru_op
fusion_lstm_op
fused_bn_add_activation_op
fused_attention_op
Expand All @@ -27,8 +26,6 @@ register_operators(
fused_gate_attention_op
resnet_basic_block_op)

# fusion_gru_op does not have CUDA kernel
op_library(fusion_gru_op)
op_library(fusion_lstm_op)
if(WITH_AVX
AND AVX512F_FOUND
Expand Down
565 changes: 0 additions & 565 deletions paddle/fluid/operators/fused/fusion_gru_op.cc

This file was deleted.

38 changes: 0 additions & 38 deletions paddle/fluid/operators/fused/fusion_gru_op.h

This file was deleted.

290 changes: 0 additions & 290 deletions paddle/fluid/operators/fused/fusion_seqconv_eltadd_relu_op.cc

This file was deleted.

39 changes: 0 additions & 39 deletions paddle/fluid/operators/fused/fusion_seqconv_eltadd_relu_op.h

This file was deleted.

Loading

0 comments on commit e4cdf91

Please sign in to comment.