Skip to content

Conversation

@nithinraok
Copy link
Member

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 ?

ctc_segmentation is causing numpy to <2.0 as its compiled version https://pypi.org/project/ctc-segmentation/ requires <2.0

removing it as requirement for asr and adding it seperately for tools/ctc_segmentation

Collection: ASR

Changelog

  • remove ctc_segmentation pacakage from requirements_asr.txt

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)

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
erastorgueva-nv
erastorgueva-nv previously approved these changes Dec 9, 2025
Copy link
Collaborator

@erastorgueva-nv erastorgueva-nv left a comment

Choose a reason for hiding this comment

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

Thanks, this looks good to me.
Ideally we should double-check with @ko3n1g who originally removed ctc_segmentation from tools/ctc_segmentation/requirements.txt in this PR #12467

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
@nithinraok
Copy link
Member Author

#12467 @ko3n1g looks like you made those changes in this PR.

This ctc_segmentation installation making the downgrade of numpy to 2.0

@@ -1,2 +1 @@
include requirements/*
include tools/ctc_segmentation/requirements.txt
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we remove this, the file wont be part of the shipped wheel. Is this change intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that is fine. Users can install it separately with tools/ctc_segmentation/requirements.txt

ko3n1g
ko3n1g previously approved these changes Dec 10, 2025
@nithinraok nithinraok enabled auto-merge (squash) December 10, 2025 02:38
@nithinraok nithinraok added the r2.6.0 Cherry-pick label for the r2.6.0 release branch label Dec 10, 2025
@ko3n1g ko3n1g added Run CICD and removed Run CICD labels Dec 10, 2025
Signed-off-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
@github-actions
Copy link
Contributor

[🤖]: Hi @nithinraok 👋,

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

Copy link
Collaborator

@ko3n1g ko3n1g left a comment

Choose a reason for hiding this comment

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

We will need to find out why we recently bumped cuda-bindings for cu13, and now downgrading again: #15018

Let's merge this now and see how it goes

@nithinraok nithinraok merged commit a599d89 into main Dec 12, 2025
269 of 270 checks passed
@nithinraok nithinraok deleted the asr_numpy_2_fix branch December 12, 2025 18:14
@nithinraok nithinraok mentioned this pull request Jan 1, 2026
8 tasks
chtruong814 pushed a commit that referenced this pull request Jan 4, 2026
* remove ctc_segmenation as part of asr

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* seperate out ctc_segmentation installation

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* remove from container installation

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

---------

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
chtruong814 pushed a commit that referenced this pull request Jan 6, 2026
* remove ctc_segmenation as part of asr

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* seperate out ctc_segmentation installation

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* remove from container installation

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

---------

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
@chtruong814 chtruong814 mentioned this pull request Jan 6, 2026
8 tasks
chtruong814 added a commit that referenced this pull request Jan 6, 2026
* Asr numpy 2 fix (#15166)

* remove ctc_segmenation as part of asr

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* seperate out ctc_segmentation installation

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* remove from container installation

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

---------

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>

* remove pinning cuda bindings (#15183)

* remove pinning cuda bindings

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

* no pin

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>

---------

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>

* Pin lhotse==1.31.1

Signed-off-by: Charlie Truong <chtruong@nvidia.com>

---------

Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Co-authored-by: Nithin Rao <nithinrao.koluguri@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ASR CI r2.6.0 Cherry-pick label for the r2.6.0 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants