NVFlare icon indicating copy to clipboard operation
NVFlare copied to clipboard

[BUG] Preserve FedMA MIT notice in the new data-partitioning module

Open holgerroth opened this issue 1 month ago • 1 comments

Describe the issue

The new nvflare/algos/data/partition.py in #5503 adapts the FedMA-derived Dirichlet splitter but does not carry over the IBM copyright and MIT permission notice present in the existing CIFAR-10 implementation. The new file contains the NVIDIA Apache-2.0 header and a FedMA URL in the function docstring.

This concerns the unmerged implementation in PR #5503 at commit 0a126c144177aa2466fe4ef416804b478eff4d4c. Related work: #5265.

Evidence

Expected behavior / requested change

Carry the existing IBM copyright and MIT license block into the new module alongside the NVIDIA header, preserving the attribution when the adapted code is distributed in the NVFlare package. A source URL alone does not preserve that notice.

Validation

Compare the new module's attribution block with the existing splitter and upstream license. This change should not alter partitioning behavior.

holgerroth avatar Nov 04 '26 13:11 holgerroth

Taking this together with #5686 — same PR will carry the IBM FedMA MIT notice into nvflare/algos/data/partition.py alongside the NVIDIA Apache-2.0 header.

cc @holgerroth @akshat-lakhera

Sanilas-ai avatar Nov 05 '26 04:11 Sanilas-ai