Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com>
This commit is contained in:
Tyler Michael Smith 2025-07-10 18:20:25 -04:00
parent 7b86860ff5
commit 29596317b0

View File

@ -782,6 +782,7 @@ class GroupCoordinator:
def prepare_communication_buffer_for_model(self, model: torch.nn.Module):
if self.device_communicator is not None:
torch.distributed.barrier(self.device_communicator)
self.device_communicator.prepare_communication_buffer_for_model(
model)