Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc committed Aug 29, 2024
1 parent d4ef0f4 commit 7363b18
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
12 changes: 0 additions & 12 deletions paddle/phi/ops/yaml/inconsistent/static_ops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -910,18 +910,6 @@
backward : subtract_grad
interfaces : paddle::dialect::InferSymbolicShapeInterface

- op : sync_comm_stream
args : (Tensor x, int ring_id=0)
output : Tensor(out)
infer_meta :
func : UnchangedInferMeta
param : [x]
kernel :
func : sync_comm_stream
param: [x, ring_id]
data_type : DataType::FLOAT32
inplace : (x -> out)

- op : tile
args : (Tensor x, IntArray repeat_times = {})
output : Tensor(out)
Expand Down
12 changes: 0 additions & 12 deletions paddle/phi/ops/yaml/legacy/static_ops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -883,18 +883,6 @@
func : swish
backward : swish_grad

- op : sync_comm_stream
args : (Tensor x, int ring_id=0)
output : Tensor(out)
infer_meta :
func : UnchangedInferMeta
param : [x]
kernel :
func : sync_comm_stream
param: [x, ring_id]
data_type : DataType::FLOAT32
inplace : (x -> out)

- op : topk_v1
args : (Tensor x, Scalar(int) k = 1)
output : Tensor(out), Tensor(indices)
Expand Down
12 changes: 12 additions & 0 deletions paddle/phi/ops/yaml/ops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4628,6 +4628,18 @@
func : sync_calc_stream
inplace : (x -> out)

- op : sync_comm_stream
args : (Tensor x, int ring_id=0)
output : Tensor(out)
infer_meta :
func : UnchangedInferMeta
param : [x]
kernel :
func : sync_comm_stream
param: [x, ring_id]
data_type : DataType::FLOAT32
inplace : (x -> out)

- op : take_along_axis
args : (Tensor arr, Tensor indices, int axis)
output : Tensor
Expand Down

0 comments on commit 7363b18

Please sign in to comment.