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

enable awq ipex linear in transformers #610

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

jiqing-feng
Copy link
Contributor

@jiqing-feng jiqing-feng commented Sep 13, 2024

This refactor allows transformers integration using WOQLinear_IPEX.

@jiqing-feng
Copy link
Contributor Author

Hi @casper-hansen , do you mind merging this refactor so I can start to integrate it into transformers with this PR?

@casper-hansen
Copy link
Owner

@jiqing-feng Why remove zero points? They are crucial for accuracy

@jiqing-feng
Copy link
Contributor Author

jiqing-feng commented Sep 13, 2024

@jiqing-feng Why remove zero points? They are crucial for accuracy

The zero point here is not the qzeros value from model.safetensors. It's just a bool value to determine whether we should allocate a buffer to save qzeros. I found we always need it to be True so I disabled this parameter to align with other versions.

@casper-hansen casper-hansen merged commit 7954766 into casper-hansen:main Sep 13, 2024
vanGraan added a commit to vanGraan/AutoAWQ that referenced this pull request Oct 1, 2024
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