mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-06 06:29:59 +08:00
Update webui.py
lower batch size on cpu
This commit is contained in:
parent
087fd24579
commit
ed2b053904
2
webui.py
2
webui.py
@ -103,7 +103,7 @@ def set_default():
|
||||
gpu_info = ("%s\t%s" % ("0", "CPU"))
|
||||
gpu_infos.append("%s\t%s" % ("0", "CPU"))
|
||||
set_gpu_numbers.add(0)
|
||||
default_batch_size = default_batch_size_s1=int(psutil.virtual_memory().total/ 1024 / 1024 / 1024 / 2)
|
||||
default_batch_size = default_batch_size_s1 = max(1, int(psutil.virtual_memory().total / 1024 / 1024 / 1024 / 4))
|
||||
if version!="v3":
|
||||
default_sovits_epoch=8
|
||||
default_sovits_save_every_epoch=4
|
||||
|
Loading…
x
Reference in New Issue
Block a user