aitune.torch.jit.config
Configuration for JIT module.
Module Contents
Classes
Data
API
Dataclass
Configuration for JIT module.
batch_axis_required
cache_dir
detect_graph_breaks
device
dry_run
dry_run_failure_probability
max_depth_level
min_parameters
min_samples
mode
patch_exclude
skip_modules
strategy
Post init.
Reset all options to their default values (e.g. for test isolation).
Return the tune strategy to use for JIT tuning.
When strategy is set explicitly it is returned as-is. Otherwise the default is a
MaxThroughputStrategy. Ordinary modules profile TensorRT (with and without dynamo)
and TorchInductor JIT. Distributed modules profile TorchInductor AOT and TorchInductor JIT.
Candidates are resolved when the module is available.
Strategy and backend modules are imported lazily to keep the JIT config a thin data layer that doesn’t pull runtime modules at import time.
Bases: enum.Enum
Mode for JIT execution.
INSPECT
TUNE_DEFERRED
TUNE_EAGER