Skip to content

Migrate evalplus off Ray #6429

Open
Open

Description

@linear-code

resources_servers/evalplus declares ray_enabled = True.

How it uses Ray: each EvalPlus correctness check runs as a Ray task (check_correctness_remote in evalplus_integration/runner.py, scheduling_strategy="SPREAD"). The server waits for the result with loop.run_in_executor(None, ray.get, future), which holds a thread for every pending check.

Proposed replacement: run the checks in sandboxes, as code_gen did in #4958.

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