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
1 change: 0 additions & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ UE = "UE"
unpacket = "unpacket"

# These words need to be fixed
assgin = 'assgin'
axises = 'axises'
Axises = 'Axises'
aixs = 'aixs'
Expand Down
2 changes: 1 addition & 1 deletion paddle/fluid/operators/controlflow/pylayer_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class PyLayerBackwardOp : public PyLayerOp {
core_->Run({}, false);

// NOTE: It's neccessary. The reason of associating `inside_grads` and
// `outside_grads` at runtime `RunImpl` instead of `assgin` op at block is
// `outside_grads` at runtime `RunImpl` instead of `assign` op at block is
// that the Var name of grad_op's outputs may be changed in the
// `append_backward` function (e.g. `_addup_repetitive_outputs_`).
AssignLocalGradientToParentScope(
Expand Down
2 changes: 1 addition & 1 deletion paddle/fluid/pybind/dist_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ std::vector<std::vector<size_t>> AssignValueGroupBySize(
PADDLE_ENFORCE_NOT_NULL(
x,
common::errors::Fatal(
"Only support assgin group for dense tensor value!"));
"Only support assign group for dense tensor value!"));
auto ir_tensor = std::make_shared<dialect::IrTensor>(
dialect::TransToPhiDataType(x.dtype()),
x.dims(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ def set_process_mesh(block, op, process_mesh, var_to_process_mesh):
struct_name = ops[i].struct_name
m = regex.search(struct_name)
if not m:
# only assgin op created by reshard is allowed
# only assign op created by reshard is allowed
if (
ops[i].type == "assign"
and "reshard_api" in ops[i].output_arg_names[0]
Expand Down