funasr/auto/auto_model.py
@@ -366,6 +366,7 @@ if pbar: # pbar.update(1) pbar.set_description(f"rtf_avg: {time_escape_total/time_speech_total:0.3f}") with torch.cuda.device(next(model.parameters()).device): torch.cuda.empty_cache() return asr_result_list