Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose drop_last in MegatronDataSampler #10837

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

farhadrgh
Copy link
Contributor

@farhadrgh farhadrgh commented Oct 10, 2024

What does this PR do ?

This PR exposes the drop_last argument in MegatronDataSampler which we use in our BioNeMo datamodules to run inference for complete/partial batches of data.

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: Farhad Ramezanghorbani <[email protected]>
@farhadrgh
Copy link
Contributor Author

cc: @ericharper @jstjohn

Copy link
Collaborator

@maanug-nv maanug-nv left a comment

Choose a reason for hiding this comment

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

lgtm

@maanug-nv maanug-nv enabled auto-merge (squash) October 11, 2024 23:43
@maanug-nv maanug-nv merged commit 7ca9cce into NVIDIA:main Oct 12, 2024
165 of 169 checks passed
@farhadrgh farhadrgh deleted the farhadr/drop_last branch October 14, 2024 15:00
yashaswikarnati pushed a commit that referenced this pull request Oct 20, 2024
* expose drop_last

Signed-off-by: Farhad Ramezanghorbani <[email protected]>

* Apply isort and black reformatting

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

---------

Signed-off-by: Farhad Ramezanghorbani <[email protected]>
Signed-off-by: farhadrgh <[email protected]>
artbataev pushed a commit to artbataev/NeMo that referenced this pull request Oct 22, 2024
* expose drop_last

Signed-off-by: Farhad Ramezanghorbani <[email protected]>

* Apply isort and black reformatting

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

---------

Signed-off-by: Farhad Ramezanghorbani <[email protected]>
Signed-off-by: farhadrgh <[email protected]>
akoumpa pushed a commit that referenced this pull request Oct 24, 2024
* expose drop_last

Signed-off-by: Farhad Ramezanghorbani <[email protected]>

* Apply isort and black reformatting

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

---------

Signed-off-by: Farhad Ramezanghorbani <[email protected]>
Signed-off-by: farhadrgh <[email protected]>
Signed-off-by: Alexandros Koumparoulis <[email protected]>
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 5, 2024
* expose drop_last

Signed-off-by: Farhad Ramezanghorbani <[email protected]>

* Apply isort and black reformatting

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

---------

Signed-off-by: Farhad Ramezanghorbani <[email protected]>
Signed-off-by: farhadrgh <[email protected]>
Signed-off-by: Hainan Xu <[email protected]>
XuesongYang pushed a commit to paarthneekhara/NeMo that referenced this pull request Jan 18, 2025
* expose drop_last

Signed-off-by: Farhad Ramezanghorbani <[email protected]>

* Apply isort and black reformatting

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

---------

Signed-off-by: Farhad Ramezanghorbani <[email protected]>
Signed-off-by: farhadrgh <[email protected]>
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