Skip to content

[Refactor] Clean up log once scope="local"#40540

Merged
yewentao256 merged 4 commits intomainfrom
wentao-clean-up-log-once
Apr 22, 2026
Merged

[Refactor] Clean up log once scope="local"#40540
yewentao256 merged 4 commits intomainfrom
wentao-clean-up-log-once

Conversation

@yewentao256
Copy link
Copy Markdown
Member

Purpose

scope="local" has been a default option for log once, let's clean up the current caller.

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@yewentao256 yewentao256 added the ready ONLY add when PR is ready to merge/full CI is needed label Apr 21, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a 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 removes redundant scope="local" arguments from logging calls across the codebase to simplify the code. A high-severity issue was identified in vllm/v1/worker/gpu_model_runner.py, where the removal of scope="global" appears accidental and would lead to log spam in distributed environments by allowing every worker process to log the same message.

Comment thread vllm/v1/worker/gpu_model_runner.py
yewentao256 and others added 2 commits April 21, 2026 14:49
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 22, 2026

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @yewentao256.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify Bot added the needs-rebase label Apr 22, 2026
@github-project-automation github-project-automation Bot moved this to Ready in NVIDIA Apr 22, 2026
Signed-off-by: yewentao256 <zhyanwentao@126.com>
@mergify mergify Bot removed the needs-rebase label Apr 22, 2026
@yewentao256 yewentao256 merged commit 8f87eb4 into main Apr 22, 2026
111 checks passed
@yewentao256 yewentao256 deleted the wentao-clean-up-log-once branch April 22, 2026 20:42
@github-project-automation github-project-automation Bot moved this from Ready to Done in NVIDIA Apr 22, 2026
avinashsingh77 pushed a commit to avinashsingh77/vllm that referenced this pull request Apr 27, 2026
Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Avinash Singh <avinashsingh.rcoem@gmail.com>
Lafunamor pushed a commit to Lafunamor/vllm that referenced this pull request May 1, 2026
Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Adrian <info@zzit.ch>
Copilot AI pushed a commit to hongbolv/vllm that referenced this pull request May 7, 2026
Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: hongbolv <33214277+hongbolv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nvidia ready ONLY add when PR is ready to merge/full CI is needed v1

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants