Skip to content

Uniform _distribute_buffer_sizes, and move into shampoo_utils.py #93

Closed
@namgyu-youn

Description

@namgyu-youn

There are duplicate methods for distributed_buffer_sizes at :

  • distributed_shampoo/utils/shampoo_hsdp_distributor.py : Ln 292
  • distributed_shampoo/utils/shampoo_ddp_distributor.py : Ln 187
  • distributed_shampoo/utils/shampoo_hybrid_shard_distributor.py : Ln 296

Is this intended? In my thought, that duplicate code could be uniformed, and moved into distributed_shampoo/utils/shampoo_utils.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions