diff --git a/rllib/algorithms/slateq/slateq_torch_model.py b/rllib/algorithms/slateq/slateq_torch_model.py index 06fa9a0e17c6a..99910befd6a75 100644 --- a/rllib/algorithms/slateq/slateq_torch_model.py +++ b/rllib/algorithms/slateq/slateq_torch_model.py @@ -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: diff --git a/src/ray/gcs/gcs_server/gcs_actor_manager.cc b/src/ray/gcs/gcs_server/gcs_actor_manager.cc index 61473cfb7b40b..8b3b4e55ac6d2 100644 --- a/src/ray/gcs/gcs_server/gcs_actor_manager.cc +++ b/src/ray/gcs/gcs_server/gcs_actor_manager.cc @@ -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