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

Add group quantization for whisper #429

Merged
merged 31 commits into from
Jul 24, 2023
Merged

Conversation

jimypbr
Copy link
Contributor

@jimypbr jimypbr commented Jun 22, 2023

What does this PR do?

Adds group quantization custom op to optimum. Adds the functionality to whisper's linear layers.

Still to do:

  • Automate the custom op build into setup.py
  • Add quantisation options into IPUConfig or whisper parallelize kwargs.

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@jimypbr jimypbr marked this pull request as ready for review July 24, 2023 12:18
@jimypbr jimypbr requested a review from katalinic-gc July 24, 2023 12:27
setup.py Outdated Show resolved Hide resolved
@jimypbr jimypbr merged commit e101001 into huggingface:main Jul 24, 2023
@jimypbr jimypbr deleted the group_quantize branch July 24, 2023 14:55
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.

3 participants