fix: small fix
This commit is contained in:
parent
28e0c88327
commit
4061a7899d
|
@ -14,7 +14,7 @@ npu_id_arr=(2 3 5 6)
|
||||||
|
|
||||||
get_power_dissipation() {
|
get_power_dissipation() {
|
||||||
local npu_id="$1"
|
local npu_id="$1"
|
||||||
power_dissipation=$(npu-smi info -t power -i ${npu_id} | grep 'Power Dissipation(W)' | awk '{print $4}')
|
power_dissipation=$(npu-smi info -t power -i ${npu_id} | grep "Power Dissipation(W)" | awk '{print $4}')
|
||||||
echo "${power_dissipation}"
|
echo "${power_dissipation}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue