Skip to content

Conversation

@DarkLight1337
Copy link
Member

@DarkLight1337 DarkLight1337 commented Oct 19, 2025

Purpose

  • vllm.utils.asyncio -> vllm.utils.async_utils
  • vllm.utils.collections -> vllm.utils.collection_utils
  • vllm.utils.functools -> vllm.utils.func_utils

Also split out tests from tests/test_utils.py.

Based on #27022 (comment)

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

@DarkLight1337 DarkLight1337 added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 19, 2025
@DarkLight1337 DarkLight1337 marked this pull request as ready for review October 19, 2025 10:13
@mergify mergify bot added deepseek Related to DeepSeek models frontend multi-modality Related to multi-modality (#4194) performance Performance-related issues qwen Related to Qwen models v1 tpu Related to Google TPUs tool-calling labels Oct 19, 2025
@Isotr0py Isotr0py enabled auto-merge (squash) October 19, 2025 10:14
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

# SPDX-License-Identifier: Apache-2.0

P1 Badge Provide compatibility shim for renamed util modules

The commit renames vllm.utils.asyncio, vllm.utils.collections, and vllm.utils.functools to async_utils, collection_utils, and func_utils respectively, but the old module paths are removed entirely. Any user code importing vllm.utils.asyncio (or the others) will now raise ImportError even though the functionality is unchanged. Unless a breaking change is intended, consider keeping lightweight stub modules or adding aliases in vllm.utils.__getattr__ so the legacy paths continue to resolve (ideally with a deprecation warning).

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) October 19, 2025 10:16
Signed-off-by: DarkLight1337 <[email protected]>
@DarkLight1337 DarkLight1337 changed the title [Misc] Move utils to avoid conflicts with stdlib [Misc] Move utils to avoid conflicts with stdlib, and move tests Oct 19, 2025
@vllm-bot vllm-bot merged commit d31f784 into vllm-project:main Oct 19, 2025
72 of 74 checks passed
@DarkLight1337 DarkLight1337 deleted the move-utils branch October 19, 2025 12:20
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
adabeyta pushed a commit to adabeyta/vllm that referenced this pull request Oct 20, 2025
albertoperdomo2 pushed a commit to albertoperdomo2/vllm that referenced this pull request Oct 23, 2025
wangxiyuan pushed a commit to vllm-project/vllm-ascend that referenced this pull request Oct 25, 2025
### What this PR does / why we need it?
Upgrade to new vllm commit:
vllm-project/vllm@c9461e0

- Fix many imports, caused by
vllm-project/vllm#26908
- Fix import ```sha256```, caused by
vllm-project/vllm#27169
- Remove ```SchedulerConfig.send_delta_data```, caused by
vllm-project/vllm#27142
- Fix ```FusedMoE``` because of dual stream execution, caused by
vllm-project/vllm#26440

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
CI passed with new added/existing test.


- vLLM version: v0.11.0rc3
- vLLM main:
vllm-project/vllm@17c540a

---------

Signed-off-by: MengqingCao <[email protected]>
Signed-off-by: Icey <[email protected]>
Co-authored-by: MengqingCao <[email protected]>
liziyu179 pushed a commit to nwpu-zxr/vllm-ascend that referenced this pull request Oct 25, 2025
### What this PR does / why we need it?
Upgrade to new vllm commit:
vllm-project/vllm@c9461e0

- Fix many imports, caused by
vllm-project/vllm#26908
- Fix import ```sha256```, caused by
vllm-project/vllm#27169
- Remove ```SchedulerConfig.send_delta_data```, caused by
vllm-project/vllm#27142
- Fix ```FusedMoE``` because of dual stream execution, caused by
vllm-project/vllm#26440

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
CI passed with new added/existing test.

- vLLM version: v0.11.0rc3
- vLLM main:
vllm-project/vllm@17c540a

---------

Signed-off-by: MengqingCao <[email protected]>
Signed-off-by: Icey <[email protected]>
Co-authored-by: MengqingCao <[email protected]>
Signed-off-by: nwpu-zxr <[email protected]>
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepseek Related to DeepSeek models frontend multi-modality Related to multi-modality (#4194) performance Performance-related issues qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed tool-calling tpu Related to Google TPUs v1

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants