mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-01-19 18:41:52 +00:00
fix: logger wrong call (#1159)
* fix: logger wrong call * fix: log error in rvc_for_realtime.py
This commit is contained in:
@@ -114,11 +114,11 @@ class Config:
|
||||
or "1070" in self.gpu_name
|
||||
or "1080" in self.gpu_name
|
||||
):
|
||||
logger.info("Found GPU", self.gpu_name, ", force to fp32")
|
||||
logger.info("Found GPU %s, force to fp32", self.gpu_name)
|
||||
self.is_half = False
|
||||
use_fp32_config()
|
||||
else:
|
||||
logger.info("Found GPU", self.gpu_name)
|
||||
logger.info("Found GPU %s", self.gpu_name)
|
||||
self.gpu_mem = int(
|
||||
torch.cuda.get_device_properties(i_device).total_memory
|
||||
/ 1024
|
||||
|
||||
Reference in New Issue
Block a user