-
Notifications
You must be signed in to change notification settings - Fork 36
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
base: main
Are you sure you want to change the base?
Conversation
f0432bb
to
1032442
Compare
@@ -246,19 +251,26 @@ def __init__( | |||
is_ray_backend: bool = False, | |||
): | |||
if prefill_engines is None: | |||
logger.warning("No prefill engines provided.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we throw exception?
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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?
To enable the comprehensive debug logging, set the logging level to
logging.DEBUG
at line 103 and line 105.