Skip to content

Commit

Permalink
Improve "connect your GPU" message
Browse files Browse the repository at this point in the history
  • Loading branch information
borzunov committed Feb 19, 2023
1 parent fee19e9 commit 38f2c8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/petals/client/routing/sequence_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
)

0 comments on commit 38f2c8d

Please sign in to comment.