aitune.torch.tune_strategy.mixin.find_max_batch_size_mixin
aitune.torch.tune_strategy.mixin.find_max_batch_size_mixin
Find max batch size mixin for tune strategy.
Looks for best batch size for the module using Torch Eager backend.
Module Contents
Classes
API
Bases: TuneStrategy
TuneStrategy mixin that finds max batch size.
_find_max_batch_size_backend_class
Extends tune method to find max batch size.
Enables or disables find max batch size.
Finds max batch size for the module.
Sets default backend class for find max batch size.