Skip to content

Migrate local_vllm_model off Ray #6441

Open

Description

@linear-code

responses_api_models/local_vllm_model declares ray_enabled = True in app.py.

How it uses Ray: app.py launches vLLM servers itself. It reserves nodes and GPUs with Ray placement groups (PlacementGroupSchedulingStrategy) and runs the servers in Ray actors.

Already without Ray: external_app.py (#6039) declares ray_enabled = False and serves a vLLM endpoint that is already running. Training frameworks get this path by selecting the new entrypoint once their Gym pin includes the PR.

Proposed replacement: deploy vLLM as a persistent endpoint outside Gym, for example as a vllm service in gym eval submit orchestration, and point external_app.py at it. Multi-node vLLM itself may still use Ray. That Ray belongs to the vLLM deployment, not to Gym's server.

Done when: the server no longer declares ray_enabled = True on main. Alternatively, its README documents which distributed-systems requirement Ray satisfies and why a sandbox, bounded local concurrency or a persistent endpoint is not enough. Tracked in the checklist on #3669.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions