Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve "connect your GPU" message #266

Merged
merged 1 commit into from
Feb 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 "
)