mem_utilization
Applicable Products
Product |
Supported (Yes/No) |
|---|---|
No |
|
Yes |
|
Yes |
|
No |
|
No |
|
No |
Note: For the
Function Description
Configures the memory usage of ge.flowGraphMemMaxSize. Default value: 0.95
Prototype
1 | mem_utilization(mem_utilization) |
Parameters
Parameter |
Data Type |
Value Description |
|---|---|---|
mem_utilization |
float |
Memory usage. The value ranges from 0.0 to 1.0 and defaults to 0.95. |
Example
1 2 3 | from llm_datadist import LLMConfig llm_config = LLMConfig() llm_config.mem_utilization = 0.95 |
Returns
In normal cases, no value is returned.
If a parameter is incorrect, a TypeError or ValueError may be thrown.
Constraints
None
Parent topic: LLMConfig