From d3848be6790b6844e583524f0f610d17da72ffca Mon Sep 17 00:00:00 2001 From: wql Date: Fri, 13 Sep 2024 14:46:38 +0800 Subject: [PATCH] fix: fix small problem --- npu_status.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/npu_status.sh b/npu_status.sh index e869450a..60782643 100644 --- a/npu_status.sh +++ b/npu_status.sh @@ -26,9 +26,10 @@ get_mem_usage() { } -loop_cnt=0 -while true; do + +for i in {1..1500} +do device_mem_usage="" for ((i=0; i