Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Raise exception in nemo.export instead of allowing pickle.loads#15266

Merged
chtruong814 merged 2 commits into
mainfrom
chtruong/export-pickle
Jan 8, 2026
Merged

fix: Raise exception in nemo.export instead of allowing pickle.loads#15266
chtruong814 merged 2 commits into
mainfrom
chtruong/export-pickle

Conversation

@chtruong814
Copy link
Copy Markdown
Collaborator

@chtruong814 chtruong814 commented Jan 7, 2026

What does this PR do ?

fix: Raise exception in nemo.export instead of allowing pickle.loads.

Export-Deploy has been deprecated in this repo because it has its own repo now, but we need to remove the pickle.loads call here. So we raise an exception for now until we fully remove it.

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)

@github-actions
Copy link
Copy Markdown
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

@chtruong814 chtruong814 added the r2.6.0 Cherry-pick label for the r2.6.0 release branch label Jan 8, 2026
Copy link
Copy Markdown
Collaborator

@oyilmaz-nvidia oyilmaz-nvidia left a comment

Choose a reason for hiding this comment

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

LGTM.

@chtruong814 chtruong814 merged commit 58e5689 into main Jan 8, 2026
353 of 357 checks passed
@chtruong814 chtruong814 deleted the chtruong/export-pickle branch January 8, 2026 17:29
chtruong814 added a commit that referenced this pull request Jan 8, 2026
…15266)

* Raise exception in nemo.export instead of allowing pickle.loads

Signed-off-by: Charlie Truong <[email protected]>

* Apply isort and black reformatting

Signed-off-by: chtruong814 <[email protected]>

---------

Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: chtruong814 <[email protected]>
Co-authored-by: chtruong814 <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
chtruong814 added a commit that referenced this pull request Jan 9, 2026
…15266) (#15275)

* Raise exception in nemo.export instead of allowing pickle.loads



* Apply isort and black reformatting



---------

Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: chtruong814 <[email protected]>
Co-authored-by: chtruong814 <[email protected]>
AkCodes23 pushed a commit to AkCodes23/NeMo that referenced this pull request Jan 28, 2026
…VIDIA-NeMo#15266)

* Raise exception in nemo.export instead of allowing pickle.loads

Signed-off-by: Charlie Truong <[email protected]>

* Apply isort and black reformatting

Signed-off-by: chtruong814 <[email protected]>

---------

Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: chtruong814 <[email protected]>
Co-authored-by: chtruong814 <[email protected]>
Signed-off-by: Akhil Varanasi <[email protected]>
nune-tadevosyan pushed a commit to nune-tadevosyan/NeMo that referenced this pull request Mar 13, 2026
…VIDIA-NeMo#15266)

* Raise exception in nemo.export instead of allowing pickle.loads

Signed-off-by: Charlie Truong <[email protected]>

* Apply isort and black reformatting

Signed-off-by: chtruong814 <[email protected]>

---------

Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: chtruong814 <[email protected]>
Co-authored-by: chtruong814 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants