Skip to content

chore: bumps vllm to v0.24.0#1026

Merged
gkumbhat merged 9 commits into
torch-spyre:mainfrom
gkumbhat:vllm-0.24.0
Jul 7, 2026
Merged

chore: bumps vllm to v0.24.0#1026
gkumbhat merged 9 commits into
torch-spyre:mainfrom
gkumbhat:vllm-0.24.0

Conversation

@gkumbhat

@gkumbhat gkumbhat commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Defers tokenizer registry patch from module-level to check_and_update_config to fix a circular import introduced in vLLM 0.24.0, where torch_utils.py now imports is_pin_memory_available at module-level (triggering platform resolution before torch_utils finishes initializing).

Description

Enable 0.24.0 vLLM

  1. vLLM upstream PR Apply LRU policy only to proper cache entries vllm-project/vllm#42656 seems to have slightly changed how blocks gets prepended, which seems to fail the tests.
  2. vLLM upstream PR Register parsed config classes before tokenizer init vllm-project/vllm#40299 seems to have fixed the mistral model file parsing issue, thus with move to 0.24.0 we can remove the patch we added for that entirely.

Related Issues

Test Plan

Checklist

  • I have read the contributing guidelines
  • My code follows the project's code style (run bash format.sh)
  • I have added tests for my changes (if applicable)
  • I have updated the documentation (if applicable)
  • My commits include a Signed-off-by: line (DCO compliance)

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

👋 Hi! Thank you for contributing.
Just a reminder: Make sure that your code passes all the linting checks, otherwise your PR won't be able to be merged. To do so, run ./format.sh.
Now you are good to go 🚀.

We also recommend installing prek and configuring it to check your code before every local commit.

Comment thread sendnn_inference/platform.py Outdated
# initializing. Importing vllm.tokenizers.registry here would cause a circular
# import, so the call is deferred to SpyrePlatform.check_and_update_config.
# Workers use model execution paths, not the tokenizer registry, so they do
# not need this patch applied at module-level.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gkumbhat this entire comment block should be moved to check_and_update_config then

Also- I'm really dubious about this working since the previous comment explains that this had to be here in order to be picked up by the spawned worker processes. If those don't run check_and_update_config because the config is simply serialized and sent to them, then the patch won't apply

gkumbhat and others added 3 commits July 6, 2026 20:52
Defers tokenizer registry patch from module-level to
check_and_update_config to fix a circular import introduced in
vLLM 0.24.0, where torch_utils.py now imports is_pin_memory_available
at module-level (triggering platform resolution before torch_utils
finishes initializing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
@joerunde

joerunde commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

bot:test
MARKERS="spyre and not quantized"

Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
@gkumbhat

gkumbhat commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

bot:test
MARKERS="spyre and not quantized"

gkumbhat and others added 4 commits July 7, 2026 17:42
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Both are now available unconditionally in vLLM 0.24.0 (the new minimum).
Also updates vLLM:lowest CI entry to v0.24.0 and drops all pre-0.24.0
intermediate matrix entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>

@joerunde joerunde left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ship it

@gkumbhat gkumbhat enabled auto-merge (squash) July 7, 2026 19:43
@github-actions github-actions Bot added the ready Runs the full CI test suite. Only add to PRs once ready to merge to limit public GHA usage label Jul 7, 2026
@gkumbhat gkumbhat merged commit b99d8d0 into torch-spyre:main Jul 7, 2026
17 of 25 checks passed
@gkumbhat gkumbhat deleted the vllm-0.24.0 branch July 7, 2026 20:05
gkumbhat added a commit that referenced this pull request Jul 7, 2026
Defers tokenizer registry patch from module-level to
check_and_update_config to fix a circular import introduced in vLLM
0.24.0, where torch_utils.py now imports is_pin_memory_available at
module-level (triggering platform resolution before torch_utils finishes
initializing).

<!-- markdownlint-disable -->

Enable `0.24.0` vLLM

1. vLLM upstream PR vllm-project/vllm#42656
seems to have slightly changed how blocks gets prepended, which seems to
fail the tests.
2. vLLM upstream PR vllm-project/vllm#40299
seems to have fixed the mistral model file parsing issue, thus with move
to `0.24.0` we can remove the patch we added for that entirely.

<!-- Link related issues, e.g., `Fixes #` or `Relates to #456` -->

<!-- Describe how you tested your changes. Include commands or steps to
reproduce. -->

- [ ] I have read the [contributing
guidelines](https://docs.vllm.ai/projects/spyre/en/latest/contributing)
- [ ] My code follows the project's code style (run `bash format.sh`)
- [ ] I have added tests for my changes (if applicable)
- [ ] I have updated the documentation (if applicable)
- [ ] My commits include a `Signed-off-by:` line (DCO compliance)

---------

Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready Runs the full CI test suite. Only add to PRs once ready to merge to limit public GHA usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants