Skip to content

Bump to pytorch 25.11#15247

Merged
chtruong814 merged 13 commits intomainfrom
chtruong/bump-pytorch-25.11
Jan 13, 2026
Merged

Bump to pytorch 25.11#15247
chtruong814 merged 13 commits intomainfrom
chtruong/bump-pytorch-25.11

Conversation

@chtruong814
Copy link
Collaborator

What does this PR do ?

Bump to pytorch 25.11

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)

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: chtruong814 <chtruong814@users.noreply.github.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
@github-actions github-actions bot added the ASR label Jan 6, 2026
Signed-off-by: chtruong814 <chtruong814@users.noreply.github.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

[🤖]: Hi @chtruong814 👋,

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

This reverts commit 8acdc2b.

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
This reverts commit bb3412e.

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

[🤖]: Hi @chtruong814 👋,

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

ko3n1g
ko3n1g previously approved these changes Jan 9, 2026
Comment on lines +34 to +42
# Newer versions of torch.utils.data.Sampler do not have the data_source parameter.
# lhotse's CutSampler expects to pass data_source to Sampler, so we need to patch
# Sampler.__init__ to accept it.
if "data_source" not in inspect.signature(Sampler.__init__).parameters:

def patched_sampler_init(self, data_source=None):
pass

Sampler.__init__ = patched_sampler_init
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

@chtruong814 How urgent is it to merge this PR? I can release a new lhotse version tested against latest pytorch so that this patch is not needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We're going to build a container release candidate at end of Monday. Do you think we can do that before then? If not, we can merge this and then remove when the updated lhotse is ready?

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK if it passes all tests, let's do it and remove later.

This reverts commit 73b79f3.

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
This reverts commit 8710db3.

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: chtruong814 <chtruong814@users.noreply.github.com>
@github-actions github-actions bot removed the Run CICD label Jan 12, 2026
@github-actions
Copy link
Contributor

[🤖]: Hi @chtruong814 👋,

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

@chtruong814 chtruong814 merged commit 77199b5 into main Jan 13, 2026
283 of 285 checks passed
@chtruong814 chtruong814 deleted the chtruong/bump-pytorch-25.11 branch January 13, 2026 20:42
AkCodes23 pushed a commit to AkCodes23/NeMo that referenced this pull request Jan 28, 2026
* Bump to pytorch 25.11

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

* Patch torch Sampler to expect data_source param for lhotse

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

* Apply isort and black reformatting

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

* Skip broken asr onnx tests due to pytorch 25.11 update

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

* Apply isort and black reformatting

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

* Only run speech tests for now

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

* Fix speech CI

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

* Revert "Fix speech CI"

This reverts commit 8acdc2b.

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

* Revert "Only run speech tests for now"

This reverts commit bb3412e.

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

* Revert "Apply isort and black reformatting"

This reverts commit 73b79f3.

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

* Revert "Skip broken asr onnx tests due to pytorch 25.11 update"

This reverts commit 8710db3.

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

* Apply isort and black reformatting

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

---------

Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: chtruong814 <chtruong814@users.noreply.github.com>
Co-authored-by: chtruong814 <chtruong814@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants