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

Fix minor logging issue in habana_model_runner.py #294

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

schoi-habana
Copy link

The original code doesn't print the default value correctly

INFO 09-17 00:06:07 habana_model_runner.py:95] VLLM_PROMPT_BS_BUCKET_MIN=1 (default:min)
INFO 09-17 00:06:07 habana_model_runner.py:95] VLLM_PROMPT_BS_BUCKET_STEP=1 (default:step)
INFO 09-17 00:06:07 habana_model_runner.py:95] VLLM_PROMPT_BS_BUCKET_MAX=1 (default:max)

This change make it print the correct default value
INFO 09-17 21:30:51 habana_model_runner.py:95] VLLM_PROMPT_BS_BUCKET_MIN=1 (default:1)
INFO 09-17 21:30:51 habana_model_runner.py:95] VLLM_PROMPT_BS_BUCKET_STEP=4 (default:32)
INFO 09-17 21:30:51 habana_model_runner.py:95] VLLM_PROMPT_BS_BUCKET_MAX=4 (default:64)

Copy link

@mandy-li mandy-li left a comment

Choose a reason for hiding this comment

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

LGTM

@mandy-li
Copy link

@kzawora-intel , pls review and merge if ok for you

@michalkuligowski michalkuligowski merged commit 83b54e9 into habana_main Sep 18, 2024
14 checks passed
@schoi-habana schoi-habana deleted the dev/schoi/logging_fix branch September 21, 2024 00:23
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.

3 participants