ge_options
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
Atlas 350 Accelerator Card |
x |
|
|
√ |
|
|
√ |
|
|
x |
|
|
x |
|
|
x |
Note: For
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. |
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