The following objects can be passed to the main Accelerator to customize how some PyTorch objects
Kwargs handlers
The following objects can be passed to the main Accelerator to customize how some PyTorch objects
related to distributed training or mixed precision are created.
AutocastKwargs
[[autodoc]] AutocastKwargs
DistributedDataParallelKwargs
[[autodoc]] DistributedDataParallelKwargs
ProfileKwargs
[[autodoc]] utils.ProfileKwargs
GradScalerKwargs
[[autodoc]] GradScalerKwargs
InitProcessGroupKwargs
[[autodoc]] InitProcessGroupKwargs
KwargsHandler
[[autodoc]] utils.KwargsHandler
Source and license
Source: Accelerate documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.