LoraParam Structure

Function

Carries the information about loading, unloading, and querying LoRA.

Format

struct LoraParam {
    std::string loraName;
    std::string loraPath;
    std::string masterModel;
};

Parameters

Parameter Name

Data Type

Description

loraName

std::string

Carries loraName (loraId).

loraPath

std::string

Carries the LoRA weight path.

masterModel

std::string

Carries the name of the main model corresponding to LoRA.