Update tortoise/utils/devices.py vram issue #44

Merged
mrq merged 1 commits from aJoe/tortoise-tts:main into main 2023-04-12 19:58:04 +00:00
Contributor

Added line 85 to set the name variable as it was 'None' causing vram to be incorrect

Added line 85 to set the name variable as it was 'None' causing vram to be incorrect
aJoe added 1 commit 2023-04-12 05:37:02 +00:00
Added line 85 to set the name variable as it was 'None' causing vram to be incorrect
Author
Contributor

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

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
aJoe reviewed 2023-04-12 05:43:05 +00:00
@ -127,0 +82,4 @@
return available / (1024 ** 3)
def get_device_batch_size(name=None):
name = get_device_name()
Author
Contributor

here

here
aJoe closed this pull request 2023-04-12 05:49:29 +00:00
aJoe reopened this pull request 2023-04-12 05:49:33 +00:00
Owner

Modifying whitespace will cause it to do that.

Modifying whitespace will cause it to do that.
mrq merged commit f025470d60 into main 2023-04-12 19:58:04 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/tortoise-tts#44
No description provided.