Skip to content

M4.5: four-site FL example from Krini #193

Done
3 of 3 issues completed
Done

Description

@uniqueg

Why?

The M4.5 federated learning example in the Krini portal runs on 2 sites, both TESK, and the sites have the meaningless names site-1 and site-2. The hub WES already knows four sites behind the proTES gateway: TESK and Poiesis at the FI and CZ Nodes. A run over all four shows the stronger result: one FL run across two TES implementations at two Nodes. It needs:

  • one data share per site, not two shares used twice;
  • names that say where a site runs: tesk-fi, tesk-cz, poiesis-fi, poiesis-cz.

How?

This issue only tracks; every unit of work is a sub-issue in the repo it touches:

  • the Krini example, which becomes the 4-site job logreg-fedavg-4 with the new site names;
  • the docs and tutorials that show the example;
  • the hub's sites and data shares, set in the deployment runbook pins.

After the merges and the hub switch, an EOC-Compute member runs the example from the portal once, as evidence for the M4.5 report.

Done when

All sub-issues are closed, and a 4-site run from the Krini portal has completed with flare_job_status FINISHED:COMPLETED and is recorded here.

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. added
    priority: high
    status: in progress
    on Dec 2, 2026
  2. self-assigned this
    on Dec 2, 2026
  3. added
    type flag: meta
    type: delivery
    workload: hours
    ecp-wp4: M4.5
    on Dec 2, 2026
  4. moved this from Backlog to In progress in ELIXIR On-Cloudon Dec 2, 2026
  5. uniqueg commented on Dec 2, 2026

    @uniqueg
    MemberAuthor

    First 4-site run from the Krini portal, made before the rename and the move to four data shares: run 233e2e4e-1dbc-470d-a0f5-4be33df47381 (2 Dec 2026), job logreg-fedavg-4, sites site-1 (FI TESK), site-2 (CZ TESK), poiesis-fi and poiesis-cz.

    • Result: COMPLETE, flare_job_status FINISHED:COMPLETED.
    • Global model: /outputs/233e2e4e-1dbc-470d-a0f5-4be33df47381/global_model.npy.
    • Data: the hub had only two shares then, so poiesis-fi trained on the same share as site-1, and poiesis-cz on the same as site-2.

    The run that closes this issue repeats it with the new site names and one share per site.

  6. moved this from In progress to Backlog in ELIXIR On-Cloudon Dec 2, 2026
  7. added
    status: triage
    and removed
    status: in progress
    on Dec 2, 2026
  8. uniqueg commented on Dec 2, 2026

    @uniqueg
    MemberAuthor

    Done: the 4-site FL example ran from the Krini portal with the new site names and one data share per site.

    • Run af5882fa-8d76-429d-a5f6-e56e52c1fec4 (2 Dec 2026), started by an EOC-Compute member from https://portal.elixir-on.cloud ("Use an example" → Federated learning, unchanged).
    • Job logreg-fedavg-4 (NVFLARE 2.9) on the hub WES nvflare-wes, sites tesk-fi, tesk-cz, poiesis-fi and poiesis-cz: TESK and Poiesis at the FI and CZ Nodes, all reached through proTES.
    • State: COMPLETE.
    • Setup: hub sites and shares switched by the runbook block h5 (shares site-1..site-4 at nvflare-wes-testbed e469a8e); Krini portal Helm revision 4 with the dev image of krini#154 (88d787e).

    All sub-issues are closed (krini#153, docs#251, docs#256, uniqueg/project-context#81). This unblocks the M4.5 report #83.

  9. uniqueg commented on Dec 2, 2026

    @uniqueg
    MemberAuthor

    Accuracy of run af5882fa-8d76-429d-a5f6-e56e52c1fec4, for the M4.5 report:

    holdout accuracy: federated 1.000, site-1 alone 0.825, site-2 alone 0.875, site-3 alone 0.925, site-4 alone 0.900
    
    • How: the run's global model (global_model.npy, 152 bytes, sha256 e2614c65ce60cca557c74e1dd9ef923bb1d6ae3f5749bf5c90ae6fd0256b87c6), copied read-only from the hub pod on Rahti, evaluated with testset/evaluate.py --expect 1.000 of nvflare-wes-testbed v0.2.0 (exit 0). The holdout set and shares are the same as at e469a8e, which the hub served during the run (no testset/data changes between e469a8e and v0.2.0).
    • The federated model beats every model trained on one share alone, and matches the expected 1.000 for four sites in the testbed's testset/README.md. Sites and shares: tesk-fi = site-1, tesk-cz = site-2, poiesis-fi = site-3, poiesis-cz = site-4.
    • The portal's Outputs show only global_model and flare_job_status; the accuracy isn't one of the run's outputs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: M4.5priority: highstatus: triagetype flag: metatype: deliveryworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions