Skip to content

feat: add quantize exclude layer flag #194

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

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

tengomucho
Copy link
Contributor

Instead of internal_quantize_embedding_layer, add a flag that will allow to specify a list of layers. This can be a flexible solution to avoid quantizing a given list of layers, the Embedding layer but even few more if required.

Instead of internal_quantize_embedding_layer, add a flag that will allow
to specify a list of layers. This can be a flexible solution to avoid
quantizing a given list of layers, the Embedding layer but even few more
if required.
@tengomucho
Copy link
Contributor Author

Note this can be an alternative to #191.

@qihqi
Copy link
Collaborator

qihqi commented Oct 16, 2024

lgtm, please run pyink --pyink-indentation 2 --line-length 80 --verbose --extend-exclude=deps . to format the files

@qihqi qihqi merged commit 664c124 into AI-Hypercomputer:main Oct 17, 2024
3 of 4 checks passed
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