Function GenieNode_saveLora¶
Defined in File GenieNode.h
Function Documentation¶
-
Genie_Status_t GenieNode_saveLora(const GenieNode_Handle_t nodeHandle, const char *engine, const char *loraAdapterName)¶
A function to save LoRA Adapter.
- Parameters
nodeHandle – [in] A node handle.
loraAdapterName – [in] Name of the LoRA adapter.
- Returns
Status code:
GENIE_STATUS_SUCCESS: API call was successful.
GENIE_STATUS_ERROR_INVALID_HANDLE: Node handle is invalid.
GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.
GENIE_STATUS_ERROR_GENERAL: The LoRA adapter could not be applied.