aitune.torch.config
Inplace configuration.
Module Contents
Classes
Functions
Data
DEFAULT_MAX_NUM_SAMPLES_STORED
DEFAULT_TUNING_DATA_OUTPUT_PATH
API
AITune configuration.
_cache_dir
_min_num_samples
_tuning_data_output_path
cache_dir
Get the cache directory.
device_after_tuning
enable_diffusers_integration
enable_transformers_integration
max_num_samples_stored
min_num_samples
Get the minimum number of samples to collect before optimizing.
strict_mode
tuning_data_output_path
Get the output path for tuning data.
Return all configuration attributes keyed by their public name.
Bases: enum.Enum
AITune execution mode used for tuning.
DECLARATIVE
JIT
Configure cache dir location based on environment variable.
Returns: Path
Cache dir from AITUNE_CACHE_DIR environment variable, or default.