Skip to content

Commit

Permalink
2024-12-19 nightly release (b1bd136)
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot committed Dec 19, 2024
1 parent deb7122 commit 89b0d91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions torchrec/distributed/planner/planners.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
from torchrec.distributed.utils import none_throws


def _to_sharding_plan(
def to_sharding_plan(
sharding_options: List[ShardingOption],
topology: Topology,
) -> ShardingPlan:
Expand Down Expand Up @@ -388,7 +388,7 @@ def plan(
best_plan = callback(best_plan)

self._best_plan = best_plan
sharding_plan = _to_sharding_plan(best_plan, self._topology)
sharding_plan = to_sharding_plan(best_plan, self._topology)

end_time = perf_counter()
for stats in self._stats:
Expand Down Expand Up @@ -737,7 +737,7 @@ def plan(
best_plan = callback(best_plan)

self._best_plan = best_plan
sharding_plan = _to_sharding_plan(
sharding_plan = to_sharding_plan(
best_plan, self._topology_groups[group]
)
best_plans.append(sharding_plan)
Expand Down

0 comments on commit 89b0d91

Please sign in to comment.