Skip to content

[Bug]: register model can't be found in v1 mode #18740

@mmdzzh

Description

@mmdzzh

model registry in vllm 0.8.5.post1

model registry in vllm 0.8.5.post1 version has a bug in v1 mode
there is a bug in vllm v1 mode, the detail i found is that in v1 mode, my registered model name can't be found in  EngineCoreProc.run_engine_core

🐛 Describe the bug

there is a bug in vllm v1 mode, the detail i found is that vllm_config will be changed in vllm/v1/engine/core.py: def run_engine_core and vllm/v1/utils.py: self.proc: Process = context.Process(target=target_fn,, Theoretically, kwargs and process_kwargs should be identical, but in practice they differ. Specifically, the keys returned by kwargs.vllm_config.model_config.registry.models.keys() are missing the name of my custom-registered model.

Image

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions