From a2e7f27a5a49939236311968b0749f4220d1ae49 Mon Sep 17 00:00:00 2001 From: Alexander Borzunov Date: Sun, 19 Feb 2023 07:00:16 +0400 Subject: [PATCH] Improve "connect your GPU" message (#266) --- src/petals/client/routing/sequence_manager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/petals/client/routing/sequence_manager.py b/src/petals/client/routing/sequence_manager.py index 1ca58cf..6899fd1 100644 --- a/src/petals/client/routing/sequence_manager.py +++ b/src/petals/client/routing/sequence_manager.py @@ -365,8 +365,8 @@ def maybe_log_traceback(exc: Exception): class MissingBlocksError(RuntimeError): def __init__(self, block_indices: Union[int, Sequence[int]]): super().__init__( - f"No servers holding blocks {block_indices} are online.\n" - f"You can check the public swarm's state at http://health.petals.ml\n\n" - f"If there are not enough servers, please consider connecting your own GPU:\n" - f"https://github.com/bigscience-workshop/petals#connect-your-gpu-and-increase-petals-capacity" + f"No servers holding blocks {block_indices} are online. " + f"You can check the public swarm's state at http://health.petals.ml " + f"If there are not enough servers, please connect your GPU: " + f"https://github.com/bigscience-workshop/petals#connect-your-gpu-and-increase-petals-capacity " )