Repository navigation
Description
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
- 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).
- In the run form for this WES, support the workflow type
NVFLARE: pick the job (the jobs the hub offers; todaylogreg-fedavgfor 2 sites,logreg-fedavg-3/-4for 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. - Show the run as other WES runs: state, logs, and the outputs the hub reports (e.g. the model's holdout accuracy).
- Send the user's LS Login token, as for other WES services; requests without one get
401. - 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
COMPLETEand 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).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNice to have
Activity