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

Rename vllm.logging to vllm.logging_utils #10134

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

flozi00
Copy link
Contributor

@flozi00 flozi00 commented Nov 8, 2024

Hopefully Fixes #10133

Done from mobile, untested at the moment

Copy link

github-actions bot commented Nov 8, 2024

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

Copy link
Collaborator

@russellb russellb left a comment

Choose a reason for hiding this comment

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

The commit message needs a Signed-off-by header to pass the DCO check.

As for the changes, they look correct, though I'm not sure this is worth fixing. Avoiding naming collisions is an impossible task if we want to avoid all possible collisions to allow running code from within any arbitrary vllm source directory.

In any case, that's just an opinion and it's not my call to make.


__all__ = [
"NewLineFormatter",
]
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be ideal if this file was a git mv as well, like formatter.py

Copy link
Member

Choose a reason for hiding this comment

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

the content changes from vllm.logging to vllm.logging_utils

Copy link
Collaborator

@russellb russellb Nov 8, 2024

Choose a reason for hiding this comment

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

only 1 line changes, not the whole file

Copy link
Collaborator

Choose a reason for hiding this comment

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

actually, it's correct in git, and just not displayed like that in github's diff viewer.

@russellb russellb requested a review from youkaichao November 8, 2024 19:07
@russellb
Copy link
Collaborator

russellb commented Nov 8, 2024

@youkaichao FYI, since you filed the corresponding issue

Copy link
Member

@youkaichao youkaichao left a comment

Choose a reason for hiding this comment

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

LGTM!

@youkaichao youkaichao enabled auto-merge (squash) November 8, 2024 19:39
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Nov 8, 2024
@youkaichao
Copy link
Member

Avoiding naming collisions is an impossible task if we want to avoid all possible collisions to allow running code from within any arbitrary vllm source directory.

we only do it in case-by-case, only do it when we find annoying cases.

@youkaichao youkaichao merged commit e1b5a82 into vllm-project:main Nov 8, 2024
58 of 59 checks passed
@flozi00 flozi00 deleted the rename-logging-utils branch November 8, 2024 20:57
JC1DA pushed a commit to JC1DA/vllm that referenced this pull request Nov 11, 2024
jeejeelee pushed a commit to jeejeelee/vllm that referenced this pull request Nov 11, 2024
rickyyx pushed a commit to rickyyx/vllm that referenced this pull request Nov 13, 2024
sumitd2 pushed a commit to sumitd2/vllm that referenced this pull request Nov 14, 2024
russellb added a commit to russellb/vllm that referenced this pull request Nov 19, 2024
`logging_configuration.md` provides some sample logger configuration
that is no logner valid after vllm-project#10134. This PR fixes the sample config,
as well as provides backwards compatibility so that existing
configuration files won't break.

Closes vllm-project#10457

Signed-off-by: Russell Bryant <[email protected]>
KuntaiDu pushed a commit to KuntaiDu/vllm that referenced this pull request Nov 20, 2024
mfournioux pushed a commit to mfournioux/vllm that referenced this pull request Nov 20, 2024
russellb added a commit to russellb/vllm that referenced this pull request Nov 21, 2024
`logging_configuration.md` provides some sample logger configuration
that is no logner valid after vllm-project#10134. This PR fixes the sample config,
as well as provides backwards compatibility so that existing
configuration files won't break.

Closes vllm-project#10457

Signed-off-by: Russell Bryant <[email protected]>
tlrmchlsmth pushed a commit to neuralmagic/vllm that referenced this pull request Nov 23, 2024
sleepwalker2017 pushed a commit to sleepwalker2017/vllm that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[help wanted]: rename vllm/logging module to avoid shadowing builtin logging module
3 participants