-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
[Easy] Fix env type check errors from VLLM_DEBUG_LOG_API_SERVER_RESPONSE #26742
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
Conversation
Signed-off-by: Jialin Ouyang <[email protected]>
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.
Code Review
This pull request correctly resolves a type checking error by adding the type definition for the VLLM_DEBUG_LOG_API_SERVER_RESPONSE environment variable within the TYPE_CHECKING block. The change is accurate, consistent with its runtime implementation, and effectively fixes the reported issue. The code is clean and I have no further recommendations.
|
CC @terrytangyuan who firstly introduced the environment variable a while back ago. |
terrytangyuan
left a comment
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.
LGTM. Thanks!
mgoin
left a comment
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.
Thanks @Jialin
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: 1994 <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: Dhruvil Bhatt <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: bbartels <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: 0xrushi <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]> Signed-off-by: 0xrushi <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]>
…NSE (vllm-project#26742) Signed-off-by: Jialin Ouyang <[email protected]>
Purpose
Fix type check errors due to type check variable VLLM_DEBUG_LOG_API_SERVER_RESPONSE undefined.
We ran into this error in #26146 which is not directly related.
Test Plan
N/A
Test Result
N/A
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.