Skip to content

[FR] make torch.nn.utils.convert_sync_batchnorm a classmethod of SyncBatchNorm #18382

@ssnl

Description

@ssnl

The function really goes together with SyncBatchNorm, so I think it makes more sense for them to live together. Users would have easier time finding/discovering it too.

def convert_sync_batchnorm(module, process_group=None):

cc @jjsjann123

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehigh prioritymodule: bc-breakingRelated to a BC-breaking changemodule: nnRelated to torch.nntodoNot as important as medium or high priority tasks, but we will work on these.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions