Skip to content

Commit

Permalink
Fix grammer of error message (ray-project#27900)
Browse files Browse the repository at this point in the history
Signed-off-by: Jiajun Yao <[email protected]>
Signed-off-by: Stefan van der Kleij <[email protected]>
  • Loading branch information
jjyao authored and Stefan van der Kleij committed Aug 18, 2022
1 parent 53d095a commit a194ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rllib/algorithms/slateq/slateq_torch_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def forward(self, user: TensorType, doc: TensorType) -> TensorType:
This function outputs user click scores for candidate documents. The
exponentials of these scores are proportional user click probabilities.
Here we return the scores unnormalized because because only some of the
Here we return the scores unnormalized because only some of the
documents will be selected and shown to the user.
Args:
Expand Down
2 changes: 1 addition & 1 deletion src/ray/gcs/gcs_server/gcs_actor_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const ray::rpc::ActorDeathCause GenActorOutOfScopeCause(const ray::gcs::GcsActor
auto actor_died_error_ctx = death_cause.mutable_actor_died_error_context();
AddActorInfo(actor, actor_died_error_ctx);
actor_died_error_ctx->set_error_message(
"The actor is dead because because all references to the actor were removed.");
"The actor is dead because all references to the actor were removed.");
return death_cause;
}
} // namespace
Expand Down

0 comments on commit a194ecc

Please sign in to comment.