Skip to content

[Bug]: [RLHF] Weights update broken with V1 multiprocessing #16434

@22quinn

Description

@22quinn

Your current environment

wget https://raw.githubusercontent.com/vllm-project/vllm/main/collect_env.py
# For security purposes, please feel free to check the contents of collect_env.py before running it.
python collect_env.py

🐛 Describe the bug

Currently we update weights using load_weights API like here

LLMEngine.model_executor.driver_worker.worker.model_runner.model.load_weights(weights=[(name, weight)])

With V1 + multiprocessing, model_executor no longer exists: ref

I saw #14185 mentioned this caveat. Based on @youkaichao 's discussion in slack, it seems we had an implementation supporting multiprocessing but was blocked on some hang issue. Wondering what's the latest gap to fix this issue?

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 workingrlRelated to RL workflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions