Skip to content

Migrate swerl_gen off Ray #6431

Open
Open

Description

@linear-code

resources_servers/swerl_gen declares ray_enabled = True.

How it uses Ray: scoring runs as a Ray task (compute_score in eval/singularity_utils.py, scheduling_strategy="SPREAD"). The task wraps calculate_execution_feedback_reward, which runs the tests in Singularity containers.

Proposed replacement: run the test containers through the Sandbox API, and drop the Ray task layer around them.

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