ge_options

Applicability

Product

Supported

Atlas A3 training products / Atlas A3 inference products

√

Atlas A2 training products / Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Note: For the Atlas A2 training products / Atlas A2 inference products , only the Atlas 800I A2 inference server, Atlas 300I A2 inference card, and A200I A2 Box heterogeneous components 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 the GE configuration items.

Among these, ge.flowGraphMemMaxSize is a key option 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 Command-Line 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