Skip to content

Commit e14eecb

Browse files
committed
Config spmd_rule yaml for log_softmax
1 parent 32d5f4b commit e14eecb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

paddle/phi/ops/yaml/backward.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,7 @@
19781978
infer_meta :
19791979
func : UnchangedInferMeta
19801980
param: [out]
1981+
spmd_rule : SoftmaxGradInferSpmd
19811982
kernel :
19821983
func : log_softmax_grad
19831984
data_type : out_grad

paddle/phi/ops/yaml/ops.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3113,6 +3113,7 @@
31133113
output : Tensor(out)
31143114
infer_meta :
31153115
func : UnchangedInferMetaCheckAxis
3116+
spmd_rule : SoftmaxInferSpmd
31163117
kernel :
31173118
func : log_softmax
31183119
data_type : x

0 commit comments

Comments
 (0)