Skip to content

Commit

Permalink
Add back autoplanner tests
Browse files Browse the repository at this point in the history
Summary: As titled

Differential Revision: D57866623
  • Loading branch information
gnahzg authored and facebook-github-bot committed May 28, 2024
1 parent 9a50de2 commit bbc3a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrec/distributed/planner/planners.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def plan(
if not lowest_storage.fits_in(global_storage_constraints):
raise PlannerError(
error_type=PlannerErrorType.INSUFFICIENT_STORAGE,
message="Unable to find a plan for this model in device_group {group} because of insufficient storage. \n"
message=f"Unable to find a plan for this model in device_group {group} because of insufficient storage. \n"
+ no_plan_solution
+ last_planner_error_info,
)
Expand Down

0 comments on commit bbc3a69

Please sign in to comment.