Skip to content

Migrate longmt_eval off Ray #6432

Open
Open

Description

@linear-code

resources_servers/longmt_eval declares ray_enabled = True.

How it uses Ray:

  • It keeps COMET, LASER and Ersatz scoring models resident in Ray actors (segale_actor.py).
  • It waits for them with ray.wait before serving.
  • It can request num_gpus, so that Ray sets CUDA_VISIBLE_DEVICES, or it can join the vLLM Ray cluster with num_gpus=0.

Proposed replacement: a persistent scoring endpoint, deployed beside the run, with a stable HTTP API, batching, a readiness check and model-version metadata. The resources server then calls it over HTTP.

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