@@ -785,8 +785,8 @@ rac_result_t rac_vlm_llamacpp_process(rac_handle_t handle, const rac_vlm_image_t
785785 if (logits[v] > 1e30f || logits[v] < -1e30f) inf_count++;
786786 if (logits[v] > max_logit) { max_logit = logits[v]; max_idx = v; }
787787 }
788- RAC_LOG_INFO (LOG_CAT, " [v3-diag] Logits: n_vocab=%d, max_logit=%.4f at token %d, NaN=%d, Inf=%d" ,
789- n_vocab, max_logit, max_idx, nan_count, inf_count);
788+ RAC_LOG_DEBUG (LOG_CAT, " [v3-diag] Logits: n_vocab=%d, max_logit=%.4f at token %d, NaN=%d, Inf=%d" ,
789+ n_vocab, max_logit, max_idx, nan_count, inf_count);
790790 // Log top 5 logits
791791 float top5_val[5 ] = {-1e30f, -1e30f, -1e30f, -1e30f, -1e30f};
792792 int top5_idx[5 ] = {0 , 0 , 0 , 0 , 0 };
@@ -800,10 +800,10 @@ rac_result_t rac_vlm_llamacpp_process(rac_handle_t handle, const rac_vlm_image_t
800800 }
801801 }
802802 }
803- RAC_LOG_INFO (LOG_CAT, " [v3-diag] Top5: [%d]=%.2f [%d]=%.2f [%d]=%.2f [%d]=%.2f [%d]=%.2f" ,
804- top5_idx[0 ], top5_val[0 ], top5_idx[1 ], top5_val[1 ],
805- top5_idx[2 ], top5_val[2 ], top5_idx[3 ], top5_val[3 ],
806- top5_idx[4 ], top5_val[4 ]);
803+ RAC_LOG_DEBUG (LOG_CAT, " [v3-diag] Top5: [%d]=%.2f [%d]=%.2f [%d]=%.2f [%d]=%.2f [%d]=%.2f" ,
804+ top5_idx[0 ], top5_val[0 ], top5_idx[1 ], top5_val[1 ],
805+ top5_idx[2 ], top5_val[2 ], top5_idx[3 ], top5_val[3 ],
806+ top5_idx[4 ], top5_val[4 ]);
807807 }
808808 }
809809
0 commit comments