---
title: LoraParam结构体
description: "用于承载加载、卸载和查询LoRA的信息。"
url: https://www.hiascend.com/document/detail/zh/mindie/latest/mindiellm/llmdev/mindie_llm0154.html
sourcePath: /source/zh/mindie/310/mindiellm/llmdev/mindie_llm0154.html
indexId: cab2100ea19e99e6011eb0573deef643fd6393fc7c68d396d624275750564c0558
---
# LoraParam结构体

#### 结构体功能

用于承载加载、卸载和查询LoRA的信息。


#### 结构体格式

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


#### 结构体参数

| 结构体参数名 | 数据类型 | 说明 |
| --- | --- | --- |
| loraName | std::string | 承载loraName(loraId)。 |
| loraPath | std::string | 承载LoRA权重路径。 |
| masterModel | std::string | 承载LoRA对应的主模型名称。 |
