Skip to content

Conversation

@hmellor
Copy link
Member

@hmellor hmellor commented May 1, 2025

hmellor added 9 commits May 1, 2025 23:23
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
…cally

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented May 1, 2025

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

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 either: Add ready label to the PR or enable auto-merge.

🚀

@hmellor hmellor changed the title Improve-rest-configs Improve configs - the rest! May 1, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Copy link
Collaborator

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

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

quick review, but lgtm

hmellor added 9 commits May 2, 2025 00:25
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@mergify
Copy link

mergify bot commented May 2, 2025

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

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 May 2, 2025
hmellor added 3 commits May 2, 2025 15:02
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor hmellor requested review from mgoin and russellb as code owners May 2, 2025 14:37
@mergify mergify bot added the frontend label May 2, 2025
hmellor added 5 commits May 8, 2025 11:34
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@mergify mergify bot removed the needs-rebase label May 8, 2025
hmellor added 2 commits May 8, 2025 13:59
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor
Copy link
Member Author

hmellor commented May 8, 2025

  • TPU is fixed
  • Remaining failures seem spec decode related

Copy link
Collaborator

@yaochengji yaochengji left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@DarkLight1337
Copy link
Member

Can you merge from main to ensure this doesn't break CI?

hmellor added 2 commits May 9, 2025 08:08
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor
Copy link
Member Author

hmellor commented May 9, 2025

Somehow there was a typo in the test that only got discovered when removing Pydantic and switching to @config 🙃

@hmellor
Copy link
Member Author

hmellor commented May 9, 2025

The distributed 4 test has been failing on main for a while https://buildkite.com/vllm/ci/builds/19648/steps?jid=0196b442-64dd-4809-af32-ab6dadebaab8

@vllm-bot vllm-bot merged commit 4b2ed79 into vllm-project:main May 9, 2025
55 of 57 checks passed
princepride pushed a commit to princepride/vllm that referenced this pull request May 10, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: 汪志鹏 <wangzhipeng628@gmail.com>
@hmellor hmellor deleted the improve-rest-configs branch May 10, 2025 06:12
@jinzhen-lin
Copy link
Contributor

hi @hmellor
After this PR is merged, initializing VllmConfig or even just reading its kwargs (https://github.com/vllm-project/vllm/blob/main/vllm/engine/arg_utils.py#L799 ) will instantiate ModelConfig, which attempts to download the default facebook/opt-125m model. This causes errors when running vllm in an offline environment.

@hmellor
Copy link
Member Author

hmellor commented May 10, 2025

Thanks for letting me know @jinzhen-lin , I will hotfix this right away

@hmellor
Copy link
Member Author

hmellor commented May 10, 2025

Fix is in #17943

RichardoMrMu pushed a commit to RichardoMrMu/vllm that referenced this pull request May 12, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
mawong-amd pushed a commit to ROCm/vllm that referenced this pull request May 14, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
return CompilationConfig.model_validate(dict_value)

def model_post_init(self, __context: Any) -> None:
return cls(**json.loads(cli_value))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason you made this json instead of ast.literal_eval? This is a breaking change for CLI config passing: it enforces double quotes for property names and enforces true instead of True for booleans, etc.

Copy link
Member Author

@hmellor hmellor May 14, 2025

Choose a reason for hiding this comment

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

Just for consistency with all the other JSON CLI args.

I also have a draft PR which enables Pydantic validation for this CLI arg (and the other JSON CLI args), not sure if Pydantic enforces quotes in its JSON parser.

Is it important that this arg accepts Python literal strings?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Jetbrains IDEs treat double quotes differently in run config params and I have a bunch of scripts using single quotes but I think it's fine. Was just curious why the change was needed, but no point changing it back. The only thing is right now the error message is not very helpful

Copy link
Member Author

Choose a reason for hiding this comment

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

The error message can definitely be improved before I figure out Pydantic (it's breaking the docs build...), so if I can't figure it out soon I'll do that in a separate PR

Copy link
Collaborator

Choose a reason for hiding this comment

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

No rush, figuring out pydantic first seem like the right move, we can improve the error msg later!

Copy link
Member Author

Choose a reason for hiding this comment

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

With Pydantic we get the validation error directly in the CLI, it's super informative!

Copy link
Member Author

Choose a reason for hiding this comment

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

zzzyq pushed a commit to zzzyq/vllm that referenced this pull request May 24, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Yuqi Zhang <yuqizhang@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build documentation Improvements or additions to documentation frontend ready ONLY add when PR is ready to merge/full CI is needed structured-output tpu Related to Google TPUs

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants