Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc committed Apr 15, 2024
2 parents 148b91e + 70add86 commit c03bd8f
Show file tree
Hide file tree
Showing 59 changed files with 807 additions and 4,486 deletions.
2 changes: 1 addition & 1 deletion cmake/external/xpu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if(NOT DEFINED XPU_XDNN_BASE_DATE)
set(XPU_XDNN_BASE_DATE "20240327")
endif()
if(NOT DEFINED XPU_XHPC_BASE_DATE)
set(XPU_XHPC_BASE_DATE "20240328")
set(XPU_XHPC_BASE_DATE "20240413")
endif()
set(XPU_XCCL_BASE_VERSION "1.1.8.1")
if(NOT DEFINED XPU_XFT_BASE_VERSION)
Expand Down
3 changes: 2 additions & 1 deletion paddle/fluid/inference/api/paddle_pass_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,8 @@ const std::vector<std::string> kPirGpuPasses{
"fc_elementwise_layernorm_fuse_pass",
"matmul_scale_fuse_pass",
"matmul_transpose_fuse_pass",
"transpose_flatten_concat_fuse_pass"};
"transpose_flatten_concat_fuse_pass",
"remove_redundant_transpose_pass"};

const std::vector<std::string> kPirXpuPasses{// Functional pass
"map_op_to_another_pass",
Expand Down
3 changes: 2 additions & 1 deletion paddle/fluid/operators/collective/c_concat_op_xpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,5 @@ PD_REGISTER_STRUCT_KERNEL(c_concat,
float,
int,
int64_t,
phi::dtype::float16) {}
plat::float16,
plat::bfloat16) {}
137 changes: 0 additions & 137 deletions paddle/fluid/operators/controlflow/get_places_op.cc

This file was deleted.

11 changes: 0 additions & 11 deletions paddle/fluid/operators/detection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ 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
anchor_generator_op.cu)
detection_library(polygon_box_transform_op SRCS polygon_box_transform_op.cc
Expand All @@ -49,8 +40,6 @@ detection_library(rpn_target_assign_op SRCS rpn_target_assign_op.cc)
detection_library(generate_proposal_labels_op SRCS
generate_proposal_labels_op.cc)
detection_library(multiclass_nms_op SRCS multiclass_nms_op.cc DEPS phi common)
detection_library(locality_aware_nms_op SRCS locality_aware_nms_op.cc DEPS phi
common)
detection_library(box_clip_op SRCS box_clip_op.cc box_clip_op.cu)
detection_library(box_decoder_and_assign_op SRCS box_decoder_and_assign_op.cc
box_decoder_and_assign_op.cu)
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.

Loading

0 comments on commit c03bd8f

Please sign in to comment.