Skip to content

feat: run federated learning jobs from Krini #133

Open

Description

@uniqueg

Why?

ELIXIR On-Cloud is to be available for selected ELIXIR users to run federated learning jobs (M4.5, elixir-cloud-aai/generic-issues#85). The federated learning hub of nvflare-wes-testbed runs NVFlare jobs across TES instances at several Nodes and is driven through a standard WES API (1.1): a run is POST /ga4gh/wes/v1/runs with workflow_type=NVFLARE, workflow_type_version=2.9, workflow_url=<job> (e.g. logreg-fedavg) and workflow_params={"sites": [...]} (see its docs/testbed/design.md and docs/tests/t8-real-sites.md). It accepts LS Login access tokens issued to Krini's client. So users can run federated learning jobs from Krini with its existing WES support, without a WES client of its own. Nice to have for M4.5.

What to do

  1. Make the hub selectable as a WES in Krini, like other WES services (from the Cloud Registry or the deployment's configuration, whichever Krini uses for WES services).
  2. In the run form for this WES, support the workflow type NVFLARE: pick the job (the jobs the hub offers; today logreg-fedavg for 2 sites, logreg-fedavg-3/-4 for 3 and 4) and the sites (workflow_params.sites), with the number of sites matching the job. Keep it simple: no generic NVFlare job editor.
  3. Show the run as other WES runs: state, logs, and the outputs the hub reports (e.g. the model's holdout accuracy).
  4. Send the user's LS Login token, as for other WES services; requests without one get 401.
  5. Docs: a short section in the user guide on running a federated learning job, with a screenshot.

Done when

  • A user with the right LS Login group can start a federated learning job on the hub from Krini, follow it to COMPLETE and see its outputs.
  • The run form offers only the hub's jobs and checks the number of sites.
  • Docs are updated.

Dependencies: a multi-site run that works on the hub (elixir-cloud-aai/nvflare-wes-testbed#10).

Activity

  1. added
    priority: low
    status: blocked
    type: feature
    workload: days
    flag: nice to have
    ecp-wp4: M4.5
    on Nov 21, 2026
  2. moved this from Backlog to Nice to have in ELIXIR On-Cloudon Nov 21, 2026
  3. added
    status: triage
    and removed
    status: blocked
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecp-wp4: M4.5flag: nice to havepriority: lowstatus: triagetype: featureworkload: days

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions