nvalchemi.training.configure_parallelism#
- nvalchemi.training.configure_parallelism(models, *, strategy='none')[source]#
Configure model parallelism, preserving input shape.
- Parameters:
models (torch.nn.Module | dict[str, torch.nn.Module] | torch.nn.ModuleDict)
strategy (str, optional)
- Return type:
torch.nn.Module | dict[str, torch.nn.Module] | torch.nn.ModuleDict
- Raises:
NotImplementedError – For any strategy other than
"none".