Skip to content

Migrate wmt_translation off Ray #6433

Open

Description

@linear-code

resources_servers/wmt_translation declares ray_enabled = True.

How it uses Ray:

  • It keeps COMET scoring models resident in Ray actors (app.py), placed with a custom resource and num_gpus=0, because the node hides its GPUs from Ray accounting.
  • It waits for them with ray.wait before serving.

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