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

Add comprehensive debugging messages. #182

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add comprehensive debugging messages. #182

wants to merge 2 commits into from

Conversation

Lumosis
Copy link
Collaborator

@Lumosis Lumosis commented Feb 6, 2025

To enable the comprehensive debug logging, set the logging level to logging.DEBUG at line 103 and line 105.

@@ -246,19 +251,26 @@ def __init__(
is_ray_backend: bool = False,
):
if prefill_engines is None:
logger.warning("No prefill engines provided.")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we throw exception?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for below.

# If we were blocking and hit the timeout, then retry the loop.
# Otherwise, we can exit and proceed to generation.
if block:
continue
else:
break

# Signal to kill the thread.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended to delete if new_request is None return?

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.

4 participants