Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 6th Fundable Projects 3 No.195】Remove fluid operator iou_similarity #63248

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 0 additions & 8 deletions paddle/fluid/operators/detection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ endfunction()
detection_library(density_prior_box_op SRCS density_prior_box_op.cc
density_prior_box_op.cu)

if(WITH_XPU)
detection_library(iou_similarity_op SRCS iou_similarity_op.cc
iou_similarity_op_xpu.cc)
else()
detection_library(iou_similarity_op SRCS iou_similarity_op.cc
iou_similarity_op.cu)
endif()

detection_library(bipartite_match_op SRCS bipartite_match_op.cc)
detection_library(mine_hard_examples_op SRCS mine_hard_examples_op.cc)
detection_library(anchor_generator_op SRCS anchor_generator_op.cc
Expand Down
118 changes: 0 additions & 118 deletions paddle/fluid/operators/detection/iou_similarity_op.cc

This file was deleted.

19 changes: 0 additions & 19 deletions paddle/fluid/operators/detection/iou_similarity_op.cu

This file was deleted.

134 changes: 0 additions & 134 deletions paddle/fluid/operators/detection/iou_similarity_op.h

This file was deleted.

63 changes: 0 additions & 63 deletions paddle/fluid/operators/detection/iou_similarity_op_xpu.cc

This file was deleted.

1 change: 0 additions & 1 deletion paddle/phi/backends/xpu/xpu1_op_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ XPUOpMap& get_kl1_ops() {
XPUKernelSet({phi::DataType::FLOAT32,
phi::DataType::INT32,
phi::DataType::INT64})},
{"iou_similarity", XPUKernelSet({phi::DataType::FLOAT32})},
{"lamb", XPUKernelSet({phi::DataType::FLOAT32})},
{"layer_norm_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"layer_norm", XPUKernelSet({phi::DataType::FLOAT32})},
Expand Down
1 change: 0 additions & 1 deletion paddle/phi/backends/xpu/xpu2_op_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ XPUOpMap& get_kl2_ops() {
{"instance_norm_grad", XPUKernelSet({phi::DataType::FLOAT32})},
{"inverse",
XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT64})},
{"iou_similarity", XPUKernelSet({phi::DataType::FLOAT32})},
{"label_smooth", XPUKernelSet({phi::DataType::FLOAT32})},
{"lamb", XPUKernelSet({phi::DataType::FLOAT32, phi::DataType::FLOAT16})},
{"lars_momentum",
Expand Down
Loading