Merge pull request 'Update tortoise/utils/devices.py vram issue' (#44) from aJoe/tortoise-tts:main into main
Reviewed-on: #44
This commit is contained in:
commit
f025470d60
|
@ -82,6 +82,7 @@ def get_device_vram( name=get_device_name() ):
|
||||||
return available / (1024 ** 3)
|
return available / (1024 ** 3)
|
||||||
|
|
||||||
def get_device_batch_size(name=None):
|
def get_device_batch_size(name=None):
|
||||||
|
name = get_device_name()
|
||||||
vram = get_device_vram(name)
|
vram = get_device_vram(name)
|
||||||
|
|
||||||
if vram > 14:
|
if vram > 14:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user