Skip to content

[ML] Refactor assignment planning code #101612

@valeriy42

Description

@valeriy42

Description

There are a couple of refactoring that fall out of #98874. This issue captures what still has to be done:

  • Computing the amount of required memory externally and passing it to AssignmentPlan.accountMemory() is cumbersome. It can be done internally in the class.
  • This would simplify the functions
    • ZoneAwareAssignmentPlanner.swapOriginalModelsInPlan
    • AbstractPreserveAllocations.mergePreservedAllocations
    • TrainedModelAssignmentRebalancer.copyAssignments

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions