aitune.torch.tune_strategy.first_wins_strategy
aitune.torch.tune_strategy.first_wins_strategy
First Wins tune strategy.
Module Contents
Classes
API
Bases: PerformanceValidationMixin, MultiBackendStrategy
Try backends in order and stop at the first that passes the configured checks.
The default order tries TensorRT export paths before Inductor. It is a fallback policy, not a measured performance ranking. AOT and JIT use the same order.
Try TensorRT before Inductor for AOT; distributed modules need Inductor backends.
Try TensorRT before Inductor for JIT; distributed modules need Inductor backends.
Returns the parts of the description.
Tune a torch module with the provided graph specification and samples.
Returns config dict for first wins strategy.