Add files required for hifigan from neonbjb repo, including autoregressive.py modification #50

Open
Jarod wants to merge 1 commits from Jarod/tortoise-tts:main into main
First-time contributor

Added files and made modifications to get hifigan working. Is required by this PR: mrq/ai-voice-cloning#455

Added files and made modifications to get hifigan working. Is required by this PR: https://git.ecker.tech/mrq/ai-voice-cloning/pulls/455
Jarod added 1 commit 2023-11-27 07:07:30 +00:00
terminator approved these changes 2023-11-28 02:16:36 +00:00
terminator left a comment
First-time contributor

I believe it looks good. All the changes seem to be in order, and I don't see any issues.

I believe it looks good. All the changes seem to be in order, and I don't see any issues.
terminator reviewed 2023-11-30 01:20:51 +00:00
@ -0,0 +261,4 @@
return t
if not hasattr(t, 'device'):
t.device = device
First-time contributor

this line throw an error related to:

ai-voice-cloning\modules\tortoise-tts\tortoise\api_fast.py", line 697, in tts
    auto_conditioning = migrate_to_device(auto_conditioning, self.device)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "ai-voice-cloning\modules\tortoise-tts\tortoise\api_fast.py", line 264, in migrate_to_device
    t.device = device
    ^^^^^^^^
AttributeError: 'tuple' object has no attribute 'device'

I watched your video and saw, to use hifigan needs to click in (Re)Compute Voice Latents.

Now complete tested. Works fine.

this line throw an error related to: ``` ai-voice-cloning\modules\tortoise-tts\tortoise\api_fast.py", line 697, in tts auto_conditioning = migrate_to_device(auto_conditioning, self.device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "ai-voice-cloning\modules\tortoise-tts\tortoise\api_fast.py", line 264, in migrate_to_device t.device = device ^^^^^^^^ AttributeError: 'tuple' object has no attribute 'device' ``` I watched your video and saw, to use hifigan needs to click in (Re)Compute Voice Latents. Now complete tested. Works fine.
terminator approved these changes 2023-12-01 04:39:34 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:Jarod-main
git checkout Jarod-main

Merge

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff Jarod-main
git checkout main
git merge --ff-only Jarod-main
git checkout Jarod-main
git rebase main
git checkout main
git merge --no-ff Jarod-main
git checkout main
git merge --squash Jarod-main
git checkout main
git merge --ff-only Jarod-main
git checkout main
git merge Jarod-main
git push origin main
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#50
No description provided.