Merge branch 'main' of https://osredm.com/p04798526/LLaMA-Factory-310P3
This commit is contained in:
commit
28e0c88327
|
@ -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<device_cnt; i++)); do
|
||||
mem_usage=$(get_mem_usage ${chip_id_arr_from_info[i]} ${i})
|
||||
|
@ -52,10 +53,4 @@ while true; do
|
|||
if [ "$print_to_screen" -eq "1" ]; then
|
||||
echo "$json"
|
||||
fi
|
||||
|
||||
loop_cnt+=1
|
||||
if [ "$loop_cnt" -eq "1500" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue