aitune.torch.module.tuned_module
aitune.torch.module.tuned_module
Tuned module.
Module Contents
Classes
API
Module that does inference using tuned backend.
BACKENDS_KEY
CHECK_GRAPH_KEY
ERROR_NO_BACKENDS
ERROR_NO_BACKEND_FOUND
ERROR_UNKNOWN_BACKEND
FORWARD_SIGNATURE_KEY
IS_ANY_JIT_KEY
MODULE_NAME_KEY
TYPE_KEY
_backend_func
_config
_unique_backend
backends
Get the backends of the module.
device
Get the device of the module.
Run the call through the tuned module.
Activates the module backends.
Calls the only backend without checking metadata.
Deactivates the module backends.
Deploys the module backends.
staticmethod
Creates a TunedModule from a state_dict.
Calls the backend according to the metadata of the sample.
Returns the state_dict of the module.