Skip to content

Conversation

shanjiaz
Copy link
Collaborator

@shanjiaz shanjiaz commented Aug 29, 2025

SUMMARY:
Recovered skipped w8a8 compression/decompression tests now that transformer side of code is merged. Added memory collection between test instances.

TEST PLAN:
tested locally on transformers 4.56.0.dev0 they passed.

Copy link

👋 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.

@dsikka
Copy link
Collaborator

dsikka commented Aug 29, 2025

These will fail until the next transformers release?

@shanjiaz
Copy link
Collaborator Author

These will fail until the next transformers release?

Yeah they won't work till our changes are applied

@dsikka dsikka added the ready When a PR is ready for review label Aug 30, 2025
@shanjiaz shanjiaz marked this pull request as ready for review September 15, 2025 13:15
Signed-off-by: shanjiaz <[email protected]>
Copy link
Collaborator

@brian-dellabetta brian-dellabetta left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@kylesayrs kylesayrs left a comment

Choose a reason for hiding this comment

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

Is moving to the CPU required to fix the memory leak? If so, that would be vey strange.

Perhaps torch.cuda.synchronize is having an effect? I never tested with this when I last looked at the memory leak issue.

@shanjiaz
Copy link
Collaborator Author

Is moving to the CPU required to fix the memory leak? If so, that would be vey strange.

Perhaps torch.cuda.synchronize is having an effect? I never tested with this when I last looked at the memory leak issue.

yeah the same code doesn't work if I don't move the models to cpu first.

@dsikka dsikka merged commit f36b9f6 into main Sep 15, 2025
7 of 8 checks passed
@dsikka dsikka deleted the hz-recover-skipped-tests branch September 15, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready When a PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants