Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ UE = "UE"
unpacket = "unpacket"

# These words need to be fixed
beacuse = 'beacuse'
becasue = 'becasue'
Becasue = 'Becasue'
becuase = 'becuase'
blokc = 'blokc'
blcok = 'blcok'
bootom = 'bootom'
Expand Down
2 changes: 1 addition & 1 deletion paddle/cinn/common/simplify_special_pattern.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ std::optional<ir::IndexExpr> DivMulAddModCornerCase(const ir::IndexExpr& lhs,
auto rhsMod = rhs.As<ir::Mod>();
if (!lhsMul || !rhsMod) return std::nullopt;

// Why inner is lhs of Mul? beacuse we sort by expr length, and the length of
// Why inner is lhs of Mul? because we sort by expr length, and the length of
// inner is longer in this case.
auto inner = lhsMul->a().as_index();
auto mult_outer = lhsMul->b().as_index();
Expand Down
6 changes: 3 additions & 3 deletions paddle/phi/kernels/gpudnn/conv_cudnn_v7.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ struct SearchAlgorithmBase<ConvKind::kForward> {
perf_results, workspace_size_limit, &result);
#else
VLOG(3) << "Fallback to non-v7 method to find conv algorithm "
"becasue the workspace size request("
"because the workspace size request("
<< result.workspace_size << ") exceeds the limit("
<< workspace_size_limit << ")";
PADDLE_ENFORCE_GPU_SUCCESS(
Expand Down Expand Up @@ -346,7 +346,7 @@ struct SearchAlgorithmBase<ConvKind::kBackwardData> {
ChooseAlgoByWorkspace<PerfT, AlgoT>(
perf_results, workspace_size_limit, &result);
#else
VLOG(1) << "Fallback to non-v7 method to find conv algorithm becasue "
VLOG(1) << "Fallback to non-v7 method to find conv algorithm because "
"the workspace size request("
<< result.workspace_size << ") exceeds the limit("
<< workspace_size_limit << ")";
Expand Down Expand Up @@ -518,7 +518,7 @@ struct SearchAlgorithmBase<ConvKind::kBackwardFilter> {
ChooseAlgoByWorkspace<PerfT, AlgoT>(
perf_results, workspace_size_limit, &result);
#else
VLOG(1) << "Fallback to non-v7 method to find conv algorithm becasue "
VLOG(1) << "Fallback to non-v7 method to find conv algorithm because "
"the workspace size request("
<< result.workspace_size << ") exceeds the limit("
<< workspace_size_limit << ")";
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/jit/dy2static/program_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def rollback_impl(class_instance):
def __deepcopy__(self, memo):
"""
Customized behavior for copy.deepcopy, return original decorated function instead
of a new StaticFunction Object. StaticFunction itself is not copyable becuase it's
of a new StaticFunction Object. StaticFunction itself is not copyable because it's
associated with class_instance.

We add __deepcopy__ here only for the following usage:
Expand Down
2 changes: 1 addition & 1 deletion test/legacy_test/test_assign_pos_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def count(x, upper_num):


# why defining the assert function specially?
# Becasue assign_pos_op is multithread-op, which can make the order of numbers
# Because assign_pos_op is multithread-op, which can make the order of numbers
# in each counter(bin) is random. But the numbers set is certain in each counter(bin).
np_allclose = np.allclose

Expand Down
2 changes: 1 addition & 1 deletion test/legacy_test/test_assign_pos_op_dygraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def count(x, upper_num):


# why defining the assert function specially?
# Becasue assign_pos_op is multithread-op, which can make the order of numbers
# Because assign_pos_op is multithread-op, which can make the order of numbers
# in each counter(bin) is random. But the numbers set is certain in each counter(bin).
np_allclose = np.allclose

Expand Down