Skip to content

[Tests] Weekly lm eval tests - #3022

Open
kylesayrs wants to merge 6 commits into
mainfrom
kylesayrs/weekly-lm-eval
Open

[Tests] Weekly lm eval tests#3022
kylesayrs wants to merge 6 commits into
mainfrom
kylesayrs/weekly-lm-eval

Conversation

@kylesayrs

Copy link
Copy Markdown
Collaborator

No description provided.

kylesayrs and others added 6 commits August 6, 2026 20:31
…stale configs

- Change w4a4_nvfp4 and w4a16_actorder_weight cadence from weekly to nightly
- Add FP8 block quantization config with nightly cadence (calibrated thresholds)
- Disable fp8_static_per_tensor and w4a16_actorder_group by moving to disabled_configs/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
@github-actions

Copy link
Copy Markdown

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c7860cfe-9f13-4b9c-b131-9620634218a7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces new quantization recipes and evaluation configurations, updates several test cadences from weekly to nightly, and adds support for skipping expensive base model evaluations by providing pre-defined base_metrics in test_lmeval.py. The review feedback suggests improving type safety in test_lmeval.py by using Union[dict, None] for the optional base_metrics field, and explicitly checking is not None to prevent empty dictionaries from triggering the base model evaluation. Additionally, there are minor typos ('cpabilities') to correct in the comments of several configuration files.

Comment on lines +39 to +40
# Optional base model metrics to skip base model evaluation
base_metrics: dict = None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Using dict = None as a type annotation for an optional field can cause type checking or Pydantic validation issues. It is more robust and standard to use Union[dict, None] = None (or Optional[dict] = None) to explicitly declare that the field can be None.

Suggested change
# Optional base model metrics to skip base model evaluation
base_metrics: dict = None
# Optional base model metrics to skip base model evaluation
base_metrics: Union[dict, None] = None

torch.accelerator.synchronize()
# Give GPU time to fully release memory
time.sleep(2)
if self.config.lmeval.base_metrics:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Checking if self.config.lmeval.base_metrics: will evaluate to False if base_metrics is an empty dictionary {}. This would cause the code to silently fall back to the else block and run the expensive base model evaluation, which defeats the purpose of skipping it. Using is not None ensures that any explicitly provided dictionary (even if empty) is handled correctly and fails fast during validation.

Suggested change
if self.config.lmeval.base_metrics:
if self.config.lmeval.base_metrics is not None:

Comment on lines +10 to +13
# Note: recovery will be dependent on
# the hardware cpabilities. For blackwell
# machines, we expect lower results as
# activation quantization is also enabled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Fix typo 'cpabilities' to 'capabilities' in the comment.

    # Note: recovery will be dependent on 
    # the hardware capabilities. For blackwell
    # machines, we expect lower results as 
    # activation quantization is also enabled.

Comment on lines +13 to +16
# Note: recovery will be dependent on
# the hardware cpabilities. For blackwell
# machines, we expect lower results as
# activation quantization is also enabled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Fix typo 'cpabilities' to 'capabilities' in the comment.

    # Note: recovery will be dependent on
    # the hardware capabilities. For blackwell
    # machines, we expect lower results as
    # activation quantization is also enabled.

Comment on lines +10 to +13
# Note: recovery will be dependent on
# the hardware cpabilities. For blackwell
# machines, we expect lower results as
# activation quantization is also enabled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Fix typo 'cpabilities' to 'capabilities' in the comment.

    # Note: recovery will be dependent on 
    # the hardware capabilities. For blackwell
    # machines, we expect lower results as 
    # activation quantization is also enabled.

@mergify

mergify Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 1 of 1 protections blocking · waiting on 👀 reviews

Protection Waiting on
🔴 Require one maintainer review 👀 reviews

🔴 Require one maintainer review

Waiting for any of

  • approved-reviews-by=HDCharles
  • approved-reviews-by=brian-dellabetta
  • approved-reviews-by=dsikka
  • approved-reviews-by=kylesayrs
  • approved-reviews-by=yiliu30
This rule is failing.

All PRs must have at least one approving review from a maintainer before merging.

  • any of:
    • approved-reviews-by=HDCharles
    • approved-reviews-by=brian-dellabetta
    • approved-reviews-by=dsikka
    • approved-reviews-by=kylesayrs
    • approved-reviews-by=yiliu30
  • #changes-requested-reviews-by = 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant