Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Querying and Setting the NPU Chip Working Mode (npuworkmode)
Function
The npuworkmode command is used to query and set the working mode of the NPU chip.
Format
ipmcget -d npuworkmode
ipmcset -d npuworkmode -v <option>
Parameters
Parameter |
Description |
Value |
---|---|---|
option |
Specifies the working mode of the NPU chip. |
|
Usage Guidelines
This command can be executed only when the server OS is shut down.
Example
# Set the NPU chip working mode to AMP.
iBMC:/->ipmcset -d npuworkmode -v 0 ------------------ NPU BOARD WORK MODE ------------------ NPU BOARD ID : 1 WORK MODE : AMP ------------------ NPU BOARD WORK MODE ------------------ NPU BOARD ID : 2 WORK MODE : AMP
# Query the the NPU chip working mode.
iBMC:/->ipmcget -d npuworkmode ------------------ NPU BOARD WORK MODE ------------------ NPU BOARD ID : 1 WORK MODE : AMP ------------------ NPU BOARD WORK MODE ------------------ NPU BOARD ID : 2 WORK MODE : AMP