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

Improve "connect your GPU" message #266

merged 1 commit into from
Feb 19, 2023

Conversation

borzunov
Copy link
Collaborator

@borzunov borzunov commented Feb 19, 2023

Before this PR, the message was:

Feb 18 13:12:02.550 [WARN] [/usr/local/lib/python3.8/dist-packages/petals/client/routing/sequence_manager.py._update:197] Could not find route through the model: MissingBlocksError("No servers holding blocks [65, 66, 67, 68, 69] are online.\nYou can check the public swarm's state at http://health.petals.ml\n\nIf there are not enough servers, please consider connecting your own GPU:\nhttps://github.com/bigscience-workshop/petals#connect-your-gpu-and-increase-petals-capacity") (retry in 0 sec)

Thus, it had line breaks that made it harder to read and prevented the http://health.petals.ml link to be opened from the terminal. This PR fixes this minor issue:

Feb 18 13:12:02.550 [WARN] [petals.client.routing.sequence_manager._update:197] Could not find route through the model: MissingBlocksError("No servers holding blocks [65, 66, 67, 68, 69] are online. You can check the public swarm's state at http://health.petals.ml If there are not enough servers, please connect your GPU: https://github.com/bigscience-workshop/petals#connect-your-gpu-and-increase-petals-capacity ") (retry in 0 sec)

@borzunov borzunov merged commit a2e7f27 into main Feb 19, 2023
@borzunov borzunov deleted the err-line-breaks branch February 19, 2023 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant