From 8f2fdbf483955f924b4c87ab34919170d0b704ed Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Mon, 20 Jul 2026 23:13:44 +0800 Subject: [PATCH] Update CUDA Graph status output --- webui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 77dd06d..8dab437 100644 --- a/webui.py +++ b/webui.py @@ -143,7 +143,9 @@ print( i18n("当前设备:%s | 推理精度:%s") % (config.device, config.dtype), flush=True, ) -logger.info("RVC_CUDA_GRAPH=%s", os.environ.get("RVC_CUDA_GRAPH", "0")) +cuda_graph_status = os.environ.get("RVC_CUDA_GRAPH", "0") +print(f"RVC_CUDA_GRAPH={cuda_graph_status}", flush=True) +logger.info("RVC_CUDA_GRAPH=%s", cuda_graph_status) # GPU filtering and precision rules are shared with inference/extraction/training. gpu_infos = list(GPU_INFOS) gpu_indices = sorted(GPU_INDEX)