Skip to content

Proposal: Add Split Learning Example to Flower #5732

@Raunak-Singh-Inventor

Description

@Raunak-Singh-Inventor

Type

Documentation Improvement

Description

Proposed Contribution

I’d like to contribute a minimal working example of split learning under examples/split_learning/.

The example would:

  • Use PyTorch for model definition.
  • Split the model into client-side and server-side parts.
  • Demonstrate training on a simple dataset (e.g., CIFAR-10 or MNIST).
  • Show how Flower’s Strategy + Client APIs can orchestrate split learning.

Planned Implementation

Implementation Plan

  1. Implement a SplitLearningStrategy extending Flower’s Strategy.
  2. Implement a SplitClient that handles cut-forward / cut-backward operations.
  3. Add a runnable demo in examples/split_learning/ with a README.
  4. Add tests (basic correctness + CI integration).
  5. Provide a Colab/Jupyter notebook tutorial for users.

Additional Context

If maintainers agree with this proposal, I’d like to begin implementing it and open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions