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

Run a sample query for a quantized model conditionally #9717

Merged
merged 6 commits into from
Jul 30, 2024

Conversation

janekl
Copy link
Collaborator

@janekl janekl commented Jul 12, 2024

What does this PR do ?

Adding a flag to run _sample_output in Quantizer on demand (defaults to True) as this step often hangs for a few minutes at (see here):

[NeMo I 2024-07-11 17:03:57 quantizer:182] Generating sample output for the model...
Loading extension modelopt_cuda_ext...

and this is to disable sample query in Github CI.

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: Jan Lasek <janek.lasek@gmail.com>
Copy link
Contributor

This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Jul 27, 2024
@janekl janekl removed the stale label Jul 29, 2024
Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
.github/workflows/cicd-main.yml Outdated Show resolved Hide resolved
.github/workflows/cicd-main.yml Show resolved Hide resolved
@pablo-garay
Copy link
Collaborator

pablo-garay commented Jul 29, 2024

CICD passed: https://github.com/NVIDIA/NeMo/actions/runs/10143611183

can merge once the review comments have been addressed (no need to re-run CI after that)

This reverts commit e671b71.

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
@pablo-garay pablo-garay merged commit ad4dbdd into main Jul 30, 2024
13 checks passed
@pablo-garay pablo-garay deleted the jlasek/sample_prompt branch July 30, 2024 15:16
BoxiangW pushed a commit to BoxiangW/NeMo that referenced this pull request Jul 30, 2024
* Run a sample query for a quantized model conditionally

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

* L2_PTQ_Llama2_INT8_SQ mandatory again

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

* Revert "L2_PTQ_Llama2_INT8_SQ mandatory again"

This reverts commit e671b71.

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

* Reindent

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

---------

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
Signed-off-by: Boxiang Wang <boxiangw@nvidia.com>
xuanzic pushed a commit to xuanzic/NeMo that referenced this pull request Aug 1, 2024
* Run a sample query for a quantized model conditionally

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

* L2_PTQ_Llama2_INT8_SQ mandatory again

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

* Revert "L2_PTQ_Llama2_INT8_SQ mandatory again"

This reverts commit e671b71.

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

* Reindent

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>

---------

Signed-off-by: Jan Lasek <janek.lasek@gmail.com>
Signed-off-by: Vivian Chen <xuanzic@example.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.

None yet

2 participants