chore: test

This commit is contained in:
wql 2024-09-11 10:08:36 +08:00
parent 3eb6328ff1
commit ab82c952f1
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ loop_cnt=0
while true; do
device_mem_usage=""
for ((i=0; i<device_cnt; i++)); do
echo "get_mem_usage ${chip_id_arr_from_info[i]} ${i}"
mem_usage=$(get_mem_usage ${chip_id_arr_from_info[i]} ${i})
device_mem_usage="${device_mem_usage}{"npu_id": ${npu_id_arr_from_info[i]}, "chip_id": ${chip_id_arr_from_info[i]}, "device_id": ${i}, "mem_usage": ${mem_usage}}, "
done