---
title: ge_options
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/llmdatadistdev/llmpr_42_0024.html
sourcePath: /source/zh/canncommercial/900/others/llmdatadistdev/llmpr_42_0024.html
indexId: d2523c0e8fe2b13e3d9e57abcb0f3f17338ae6f4ff75bd7d3235f2edaebe192470
---
# ge_options

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | x |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | x |
| Atlas 推理系列产品 | x |
| Atlas 训练系列产品 | x |


说明：针对 Atlas A2 训练系列产品 / Atlas A2 推理系列产品 ，仅支持Atlas 800I A2 推理服务器、A200I A2 Box 异构组件。


#### 函数功能

配置额外的GE配置项。


#### 函数原型

```
ge_options(ge_options)
```


#### 参数说明

| 参数名称 | 数据类型 | 取值说明 |
| --- | --- | --- |
| ge\_options | dict[str, str] | 配置GE配置项。 其中ge.flowGraphMemMaxSize比较重要，表示所有KV cache占用的最大内存，如果设置得过大，会压缩模型的可用内存，需根据实际情况指定。 详细信息请参考options参数说明(https://www.hiascend.comdocument/detail/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi\_07\_0150.html)。 |


#### 调用示例

```
from llm_datadist import LLMConfig
ge_options = {
    "ge.flowGraphMemMaxSize": "4106127360"
}
llm_config = LLMConfig()
llm_config.ge_options = ge_options
```


#### 返回值

正常情况下无返回值。

参数错误可能抛出TypeError或ValueError。


#### 约束说明

无
