def METHOD_NAME(self):
    if self._shard_planner is None or self._shard_planner == "base":
        self._shard_planner = BaseTensorParallelPlanner()
    if self._shard_planner == "mip":
        self._shard_planner = MIPTensorParallelPlanner(
            memory_bound=self.memory_bound,
            fp32_flops=self.fp32_flops,
            merge_nodes=True,
            solver="glpk",
            greedy_init=True,
            timelimit=10 * 60,
        )
    return self._shard_planner