Update tortoise/utils/devices.py vram issue #44
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "aJoe/tortoise-tts:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added line 85 to set the name variable as it was 'None' causing vram to be incorrect
I think i did something wrong as the diff shows everything removed and added
Was just to add name = get_device_name() to line 85
@ -127,0 +82,4 @@
return available / (1024 ** 3)
def get_device_batch_size(name=None):
name = get_device_name()
here
Modifying whitespace will cause it to do that.