Python class
LoRAStatus
LoRAStatus
class max.interfaces.LoRAStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases: Enum
Enum for LoRA operation status.
LOAD_ERROR
LOAD_ERROR = 'load_error'
An error occurred while loading the LoRA adapter.
LOAD_INVALID_ADAPTER
LOAD_INVALID_ADAPTER = 'load_invalid_adapter'
The LoRA adapter at the specified path is malformed or incompatible.
LOAD_INVALID_PATH
LOAD_INVALID_PATH = 'load_invalid_path'
The path provided for the LoRA adapter is invalid or does not exist.
LOAD_NAME_EXISTS
LOAD_NAME_EXISTS = 'load_name_exists'
A LoRA adapter with the requested name is already loaded.
SUCCESS
SUCCESS = 'success'
The LoRA operation completed successfully.
UNLOAD_ERROR
UNLOAD_ERROR = 'unload_error'
An error occurred while unloading the LoRA adapter.
UNLOAD_NAME_NONEXISTENT
UNLOAD_NAME_NONEXISTENT = 'unload_name_nonexistent'
No LoRA adapter with the requested name is currently loaded.
UNSPECIFIED_ERROR
UNSPECIFIED_ERROR = 'unspecified_error'
An unexpected error occurred during the LoRA operation.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!