Gathers parameters across devices for distributed training. Must be implemented by subclasses in "TRAINING" mode.
(self, params_list)
| 459 | |
| 460 | @abstractmethod |
| 461 | def gather_params(self, params_list): |
| 462 | """ |
| 463 | Gathers parameters across devices for distributed training. Must be implemented by subclasses in "TRAINING" mode. |
| 464 | """ |
| 465 | pass |
| 466 | |
| 467 | @abstractmethod |
| 468 | def _tp_partition(self, params_list: List[torch.Tensor]): |
nothing calls this directly
no outgoing calls
no test coverage detected