ge_options

Applicability

Product

Supported (√/x)

Atlas 350 Accelerator Card

x

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Note: For Atlas A2 training product / Atlas A2 inference product , only the Atlas 800I A2 inference server and A200I A2 Box heterogeneous subrack are supported.

Function Description

Configures additional GE configuration items.

Prototype

1
ge_options(ge_options)

Parameters

Parameter

Data Type

Description

ge_options

dict[str, str]

Configures GE configuration items.

Among these, ge.flowGraphMemMaxSize is a key parameter that specifies the maximum memory that can be occupied by all KV caches. Setting this value too high may reduce the memory available for the model, so it must be set based on actual requirements.

For details, see Options.

Example

1
2
3
4
5
6
from llm_datadist import LLMConfig
ge_options = {
    "ge.flowGraphMemMaxSize": "4106127360"
}
llm_config = LLMConfig()
llm_config.ge_options = ge_options

Returns

In normal cases, no value is returned.

If a parameter is incorrect, a TypeError or ValueError may be thrown.

Restrictions

None