Skip to content

Microbatching Support #655

Open
Open
@shs037

Description

🚀 Feature

Support microbatch size > 1, i.e., clipping multiple (instead of one) gradients.

Motivation

We want to experiment with microbatch size > 1 for some training tasks.

(I understand that microbatch size > 1 may not improve memory / computation efficiency. This ask is more about algorithm / utility.)

Pitch

A num_microbatches parameter in make_private, similar to tf privacy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions