Skip to content

Commit fe386ca

Browse files
aliafzalfacebook-github-bot
authored andcommitted
Using EmbeddingPlannerBase for lp planner
Summary: As title Differential Revision: D78887917
1 parent 145441b commit fe386ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

torchrec/distributed/planner/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
- automatically building and selecting an optimized sharding plan.
2222
"""
2323

24-
from torchrec.distributed.planner.planners import EmbeddingShardingPlanner # noqa
24+
from torchrec.distributed.planner.planners import ( # noqa # noqa
25+
EmbeddingPlannerBase,
26+
EmbeddingShardingPlanner,
27+
)
2528
from torchrec.distributed.planner.types import ParameterConstraints, Topology # noqa
2629
from torchrec.distributed.planner.utils import bytes_to_gb, sharder_name # noqa

0 commit comments

Comments
 (0)