Skip to content

Updated estimate_token_bins.py script; remove deprecated speechlm1 scripts#15655

Merged
pzelasko merged 3 commits into
mainfrom
estimate-token-bins-speechlm2
May 4, 2026
Merged

Updated estimate_token_bins.py script; remove deprecated speechlm1 scripts#15655
pzelasko merged 3 commits into
mainfrom
estimate-token-bins-speechlm2

Conversation

@pzelasko
Copy link
Copy Markdown
Collaborator

@pzelasko pzelasko commented May 1, 2026

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 ?

Updated estimate_token_bins.py script + functional test coverage. Removes deprecated speechlm1 scripts.

Collection: speechlm2

Changelog

  • Updated estimate_token_bins.py script + functional test coverage. Removes deprecated speechlm1 scripts.

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)

…ripts

Signed-off-by: Piotr Żelasko <pzelasko@nvidia.com>
@github-actions github-actions Bot added the CI label May 1, 2026
Signed-off-by: pzelasko <pzelasko@users.noreply.github.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 1, 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.

@pzelasko
Copy link
Copy Markdown
Collaborator Author

pzelasko commented May 1, 2026

/ok to test 6cca552

from lhotse.cut import Cut
from omegaconf import OmegaConf

import nemo.collections.speechlm2.data.salm_dataset # noqa: F401 (registers lhotse_as_conversation)
@pzelasko pzelasko added the Has Babysitter Claude autonomously takes over the quest to get to a green CI. label May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

I'll monitor this PR until CI is green. I'll post a plan for any fix and wait for your approval before pushing anything. Ping me by removing 'Has Babysitter' to cancel.

@pzelasko pzelasko removed the Has Babysitter Claude autonomously takes over the quest to get to a green CI. label May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Babysitter deactivated for this PR.

Conversation-style inputs (lhotse_as_conversation -> NeMoMultimodalConversation)
need a prompt formatter to populate context_ids/answer_ids; without one, the
script's tokenize() path raises 'Unsupported type of example'.

Signed-off-by: Piotr Żelasko <petezor@gmail.com>
@pzelasko
Copy link
Copy Markdown
Collaborator Author

pzelasko commented May 1, 2026

/ok to test abcbaea

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

[🤖]: Hi @pzelasko 👋,

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.

Copy link
Copy Markdown
Member

@nithinraok nithinraok left a comment

Choose a reason for hiding this comment

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

LGTM

@pzelasko pzelasko merged commit 557814e into main May 4, 2026
151 checks passed
@pzelasko pzelasko deleted the estimate-token-bins-speechlm2 branch May 4, 2026 14:23
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