Skip to content

Commit 283fd37

Browse files
authored
Fix typos repicated replicated (PaddlePaddle#69273)
1 parent 8419058 commit 283fd37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/phi/infermeta/spmd_rules/utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ std::string GetBroadcastAxes(const int64_t& tensor_ndim,
4848
return alphabet.substr(broadcast_ndim - tensor_ndim, tensor_ndim);
4949
}
5050

51-
// Rule1: A repicated dimension could be merged by any sharded dimension.
51+
// Rule1: A replicated dimension could be merged by any sharded dimension.
5252
// Rule2: A tensor axis could at most be sharded by one mesh dimension.
5353
// (TODO trigger heuristics cost model and reshard to handle axis sharded by
5454
// multiple dimension case.)

paddle/phi/kernels/funcs/blas/blaslt_impl.cu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ struct MatmulWithCublasLt : public CublasLtBase<T, OutT> {
11131113
}
11141114
};
11151115

1116-
// As for just Linear fused ephilogue below: out = matmul(x, y) + bias.
1116+
// As for just Linear fused epilogue below: out = matmul(x, y) + bias.
11171117
template <typename T>
11181118
struct LinearWithCublasLt : public CublasLtBase<T> {
11191119
static void Run(const phi::GPUContext& ctx,

0 commit comments

Comments
 (0)