Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc committed Jan 10, 2025
1 parent 266e3cd commit 4182df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/paddle/distributed/passes/pass_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def shadow_var_between_sub_programs(sub_programs):
if input_arg_name in op.input("XShape"):
continue
input_arg_names.add(input_arg_name)
# NOTE(Ruibiao): When translating these codes to pir, we can simplely set
# NOTE(Ruibiao): When translating these codes to pir, we can simply set
# `shadow_arg_names=input_arg_names-output_arg_names` since the program
# in pir satisfies SSA form.
if input_arg_name not in output_arg_names:
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/distributed/rpc/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def _check_keys_ready(wait_keys):
elapse_time = time.time() - start_time
if datetime.timedelta(seconds=elapse_time) > timeout:
raise RuntimeError(
f"Keys {wait_keys} are not ready sinck rank {global_rank} is waiting them."
f"Keys {wait_keys} are not ready since rank {global_rank} is waiting them."
)
wait_keys = list(
filter(lambda key: int(_barrier_store.get(key)) != 1, wait_keys)
Expand Down

0 comments on commit 4182df6

Please sign in to comment.