From 65cb3d7d743bd9e0a7268e90a9454f83606b8bab Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 28 May 2023 19:12:21 -0700 Subject: [PATCH] switch to logger --- voice_conversion/so-vits-svc-paul-v2/src/fakeyou_infer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/voice_conversion/so-vits-svc-paul-v2/src/fakeyou_infer.py b/voice_conversion/so-vits-svc-paul-v2/src/fakeyou_infer.py index 95bea73..bf3b755 100644 --- a/voice_conversion/so-vits-svc-paul-v2/src/fakeyou_infer.py +++ b/voice_conversion/so-vits-svc-paul-v2/src/fakeyou_infer.py @@ -222,11 +222,11 @@ def infer( if hacky_fix: # NB(bt,2023-05-23): Not sure why so-vits-svc is taking minutes to run. # Maybe this helps? - print('torch.cuda.empty_cache() ...') + LOG.debug('torch.cuda.empty_cache() ...') torch.cuda.empty_cache() - print('torch._C._jit_set_profiling_mode(False) ...') + LOG.debug('torch._C._jit_set_profiling_mode(False) ...') torch._C._jit_set_profiling_mode(False) - print('continuing ...') + LOG.debug('continuing ...') from so_vits_svc_fork.inference.main import infer