Skip to content

Fix the "AttributeError: 'AsyncLLM' object has no attribute 'engine'"… #3716

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

surak
Copy link
Collaborator

@surak surak commented Apr 8, 2025

This makes vllm_worker work out of the box with vllm v0.8.3, which opens FastChat to work with all the recent models!

@merrymercy it's just a environment variable

Why are these changes needed?

VLLM changed since v.0.8.0, and there's a compatibility mode which is set with the VLLM_USE_V1 environment variable. If you disable it, legacy code runs again.

Related issue number (if applicable)

Closes #3704

Checks

  • I've run format.sh to lint the changes in this PR.
  • I've included any doc changes needed.
  • I've made sure the relevant tests are passing (if applicable).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vllm_worker is incompatible with vllm > 0.8.x
1 participant