Skip to content

Comments

[TTS][MagpieTTS] Add longform capability to do_tts method#15241

Merged
subhankar-ghosh merged 31 commits intomainfrom
magpietts_os_longformapi
Jan 9, 2026
Merged

[TTS][MagpieTTS] Add longform capability to do_tts method#15241
subhankar-ghosh merged 31 commits intomainfrom
magpietts_os_longformapi

Conversation

@subhankar-ghosh
Copy link
Collaborator

Important

The Update branch button must only be pressed in very rare occassions.
An outdated branch is never blocking the merge of a PR.
Please reach out to the automation team before pressing that button.

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Collection: [Note which collection this PR will affect]

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

subhankar-ghosh and others added 23 commits December 19, 2025 02:13
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
…on raised in special method

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

[🤖]: Hi @subhankar-ghosh 👋,

We wanted to let you know that a CICD pipeline for this PR just finished successfully.

So it might be time to merge this PR or get some approvals.

//cc @chtruong814 @ko3n1g @pablo-garay @thomasdhc

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

[🤖]: Hi @subhankar-ghosh 👋,

We wanted to let you know that a CICD pipeline for this PR just finished successfully.

So it might be time to merge this PR or get some approvals.

//cc @chtruong814 @ko3n1g @pablo-garay @thomasdhc

@subhankar-ghosh subhankar-ghosh requested a review from blisc January 8, 2026 15:22
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

[🤖]: Hi @subhankar-ghosh 👋,

We wanted to let you know that a CICD pipeline for this PR just finished successfully.

So it might be time to merge this PR or get some approvals.

//cc @chtruong814 @ko3n1g @pablo-garay @thomasdhc

@subhankar-ghosh subhankar-ghosh merged commit e566867 into main Jan 9, 2026
141 checks passed
@subhankar-ghosh subhankar-ghosh deleted the magpietts_os_longformapi branch January 9, 2026 16:14
AkCodes23 pushed a commit to AkCodes23/NeMo that referenced this pull request Jan 28, 2026
…o#15241)

* Longform TTS using magpietts

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

* Apply isort and black reformatting

Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>

* Using LongformDecoderState in LongForm Magpietts

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

* Apply isort and black reformatting

Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>

* Potential fix for code scanning alert no. 16815: Non-standard exception raised in special method

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Update nemo/collections/tts/data/text_to_speech_dataset.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Update nemo/collections/tts/models/magpietts.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Update nemo/collections/tts/models/magpietts.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Update nemo/collections/tts/data/text_to_speech_dataset.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Combining Inference runner, using data classes in longform

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

* Apply isort and black reformatting

Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>

* make LongFormTTSInferenceDataset a subclass of MagpieTTSDataset

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

* Apply isort and black reformatting

Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>

* Update nemo/collections/tts/models/magpietts.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Update nemo/collections/tts/models/magpietts.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>

* Remove redundant code from inference.py

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

* Adding longform test cases.

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

* Adding longform to do_tts

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>

---------

Signed-off-by: subhankar-ghosh <subhankar2321@gmail.com>
Signed-off-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
Signed-off-by: Subhankar Ghosh <subhankar2321@gmail.com>
Co-authored-by: subhankar-ghosh <subhankar-ghosh@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Akhil Varanasi <akhilvaranasi23@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants