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 +07:00

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 +07:00
eea4c68edc Update tortoise/utils/devices.py vram issue
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

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 +07:00
@ -127,0 +82,4 @@
return available / (1024 ** 3)
def get_device_batch_size(name=None):
name = get_device_name()

here

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

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 +07:00

Pull request successfully merged and closed

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
There is no content yet.