Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add fastpitch service #776

Closed
wants to merge 3 commits into from
Closed

add fastpitch service #776

wants to merge 3 commits into from

Conversation

vipyne
Copy link
Member

@vipyne vipyne commented Dec 4, 2024

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

rough draft PR adding nvidia fastpitch TTS support.

@@ -0,0 +1,143 @@
# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if this should be checked in here, but it was the fastest way to get things working. open to figuring out other ways to get this.

@vipyne vipyne force-pushed the vp-riva-fastpitch branch 3 times, most recently from cc3874f to 9b458a2 Compare December 4, 2024 18:38
@vipyne vipyne force-pushed the vp-riva-fastpitch branch from 9b458a2 to 16e47bb Compare December 4, 2024 18:39
Comment on lines +341 to +351
for resp in responses:
if self.sound_stream is not None:
self.sound_stream(resp.audio)
await self.stop_ttfb_metrics()

frame = TTSAudioRawFrame(
audio=resp.audio,
sample_rate=self.sample_rate_hz,
num_channels=self.nchannels,
)
yield frame
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to fix this to not use sound_stream

@vipyne
Copy link
Member Author

vipyne commented Dec 6, 2024

closing in favor of vp-nvidia-riva #795

@vipyne vipyne closed this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant