Skip to content

Easymagpie ZeroShot disabling option using speaker encoder#15639

Open
paarthneekhara wants to merge 12 commits into
NVIDIA-NeMo:mainfrom
paarthneekhara:easymagpie_zeroshotdisable
Open

Easymagpie ZeroShot disabling option using speaker encoder#15639
paarthneekhara wants to merge 12 commits into
NVIDIA-NeMo:mainfrom
paarthneekhara:easymagpie_zeroshotdisable

Conversation

@paarthneekhara
Copy link
Copy Markdown
Collaborator

No description provided.

@paarthneekhara paarthneekhara requested a review from blisc April 22, 2026 23:26
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Apr 22, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the TTS label Apr 22, 2026
Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
@paarthneekhara paarthneekhara force-pushed the easymagpie_zeroshotdisable branch from 6cb30a9 to e1c1943 Compare April 22, 2026 23:36
paarthneekhara and others added 4 commits April 22, 2026 23:37
Signed-off-by: paarthneekhara <paarthneekhara@users.noreply.github.com>
Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
Comment on lines +374 to +376
speaker_encoder_cfg = dict(speaker_encoder_cfg)
speaker_encoder_cfg.pop('router_load_balancing_loss_coeff', None)
speaker_encoder_cfg.pop('router_z_loss_coeff', None)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do you expect the context_encoder to have these parameters related to MoE?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's raise an Exception if use_moe is true. And let's log a warning if we detect these parameters intead of popping them from the dictionary. Something like we do not recommend using moe for the context encoder

Copy link
Copy Markdown
Collaborator

@blisc blisc May 11, 2026

Choose a reason for hiding this comment

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

Let's raise NeMoBaseException instead of Exception or create another more appropriate one

paarthneekhara and others added 3 commits May 6, 2026 14:21
Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
Copy link
Copy Markdown
Collaborator

@blisc blisc left a comment

Choose a reason for hiding this comment

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

Can you make sure tests run and pass?

Comment on lines +374 to +376
speaker_encoder_cfg = dict(speaker_encoder_cfg)
speaker_encoder_cfg.pop('router_load_balancing_loss_coeff', None)
speaker_encoder_cfg.pop('router_z_loss_coeff', None)
Copy link
Copy Markdown
Collaborator

@blisc blisc May 11, 2026

Choose a reason for hiding this comment

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

Let's raise NeMoBaseException instead of Exception or create another more appropriate one

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Comment @coderabbitai help to get the list of available commands and usage tips.

Signed-off-by: Paarth Neekhara <paarth.n@gmail.com>
@paarthneekhara
Copy link
Copy Markdown
Collaborator Author

/ok to test 1090a8f

Signed-off-by: Paarth Neekhara <paarth.n@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.

2 participants