Skip to content

[Tests] Fix CompressedTensors tests#42935

Merged
SunMarc merged 2 commits intohuggingface:mainfrom
kylesayrs:kylesayrs/fix-ct-tests
Dec 18, 2025
Merged

[Tests] Fix CompressedTensors tests#42935
SunMarc merged 2 commits intohuggingface:mainfrom
kylesayrs:kylesayrs/fix-ct-tests

Conversation

@kylesayrs
Copy link
Copy Markdown
Contributor

@kylesayrs kylesayrs commented Dec 17, 2025

Purpose

  • Fix failing compressed tensors tests which referenced deleted models

Changes

  • Refactor compressed tensors tests to check for perplexity, rather than exact output matches
  • Update model stubs to use up-to-date models

Testing

  • Newly refactored tests pass locally

Suggested Reviewers

@SunMarc @MekkCyber I've broken out the testing changes from #42887. The main functionality of that original PR is now pending a CT release, and we can land that later.

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Copy link
Copy Markdown
Contributor

@MekkCyber MekkCyber left a comment

Choose a reason for hiding this comment

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

Okay let's do instead in the meantime, thank you

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: compressed_tensors_integration

@MekkCyber MekkCyber requested a review from SunMarc December 18, 2025 08:55
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

Thanks !

@SunMarc SunMarc merged commit 0a84654 into huggingface:main Dec 18, 2025
15 checks passed
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
refactor tests

Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
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.

4 participants