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

[core] Make AutoAWQ fused modules compatible with HF transformers #244

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

younesbelkada
Copy link
Collaborator

What does this PR do?

Fixes current issues with transformers main (next release) and autoawq + fused modules. The caching mechanism has been refactored thus requiring some changes on AutoAWQ side to make things compatible.

Related PR: huggingface/transformers#26681

cc @casper-hansen

@casper-hansen
Copy link
Owner

Thanks for fixing the breakage once again @younesbelkada. Do we need to add more testing into transformers to avoid these larger updates that break AutoAWQ?

@younesbelkada
Copy link
Collaborator Author

Thanks @casper-hansen , we do have tests in transformers to test this feature - https://github.com/huggingface/transformers/blob/main/tests/quantization/autoawq/test_awq.py#L231 this is how I was able to flag there was an issue with transformers main

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.

2 participants