mem_utilization
Applicability
Product |
Supported (Yes/No) |
|---|---|
Atlas 350 Accelerator Card |
No |
Yes |
|
Yes |
|
No |
|
No |
|
No |
Note: For the
Function Description
Configures the utilization ratio of the memory specified by ge.flowGraphMemMaxSize. Default value: 0.95
Prototype
1 | mem_utilization(mem_utilization) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
mem_utilization |
float |
Memory utilization. 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