Skip to content

Commit 70ac0fc

Browse files
authored
Fix typos maually manually (#67456)
1 parent 4907ed5 commit 70ac0fc

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ class SliceOpPattern : public pir::OpRewritePattern<paddle::dialect::SliceOp> {
475475
infer_flags,
476476
decrease_axis);
477477
// NOTE(Aurelius84): In SliceRawInferMeta, it not always share_lod, so
478-
// we need to update it maually.
478+
// we need to update it manually.
479479
cinn_slice.result(0).set_type(op.result(0).type());
480480
rewriter.ReplaceAllUsesWith(op.result(0), cinn_slice.result(0));
481481
rewriter.EraseOp(op);

paddle/cinn/utils/multi_threading.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void parallel_run(const WorkerFuncType& fn,
105105
LOG(ERROR) << "Parallel compile error " << e.what();
106106
PADDLE_THROW(::common::errors::Fatal("Parallel compile std::exception"));
107107
} catch (...) {
108-
PADDLE_THROW(::common::errors::Fatal("Parallel compile unknow exception"));
108+
PADDLE_THROW(::common::errors::Fatal("Parallel compile unknown exception"));
109109
}
110110
}
111111

paddle/fluid/framework/ir/onednn/cpu_bfloat16_pass.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class Quantizer final : public Quanter {
146146
// should be added before the input to the operator
147147
bool IsNotPermittedName(const std::string& input_name) const override {
148148
// Only the inputs listed in \"permitted_names\"
149-
// requires quanitization before the bfloat16 operator.
149+
// requires quantization before the bfloat16 operator.
150150
// Other inputs, such as Filter and Bias are reordered in the kernel.
151151
const std::vector<std::string> permitted_names = {
152152
"X", "Y", "Input", "ResidualData"};

paddle/phi/api/profiler/device_tracer.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ class DeviceTracerImpl : public DeviceTracer {
513513
ret = dynload::cuptiSubscribe(
514514
&subscriber_, static_cast<CUpti_CallbackFunc>(ApiCallback), this);
515515
if (ret == CUPTI_ERROR_MAX_LIMIT_REACHED) {
516-
fprintf(stderr, "CUPTI subcriber limit reached.\n");
516+
fprintf(stderr, "CUPTI subscriber limit reached.\n");
517517
} else if (ret != CUPTI_SUCCESS) {
518518
fprintf(stderr, "Failed to create CUPTI subscriber.\n");
519519
}

paddle/phi/infermeta/multiary.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -725,14 +725,14 @@ void AucInferMeta(const MetaTensor& input,
725725
0,
726726
common::errors::InvalidArgument(
727727
"The Input(Predict) has not been initialized properly. The "
728-
"shape of Input(Predict) = [%s], the shape can not involes 0.",
728+
"shape of Input(Predict) = [%s], the shape can not involves 0.",
729729
predict_dims));
730730
PADDLE_ENFORCE_NE(
731731
common::product(label_dims),
732732
0,
733733
common::errors::InvalidArgument(
734734
"The Input(Label) has not been initialized properly. The "
735-
"shape of Input(Label) = [%s], the shape can not involes 0.",
735+
"shape of Input(Label) = [%s], the shape can not involves 0.",
736736
label_dims));
737737

738738
if (config.is_runtime) {

0 commit comments

Comments
 (0)