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

switch to exllama_config instead of disable_exllamav2 #1505

Merged
merged 6 commits into from
Nov 1, 2023

Conversation

SunMarc
Copy link
Member

@SunMarc SunMarc commented Nov 1, 2023

What does this PR do ?

This PR removes the disable_exllamav2 arg in favor of exllama_config which is more flexible. See related PR in Transformers. I will have to merge this PR first before Transformers one.

Tests are green

@SunMarc SunMarc requested a review from fxmarty November 1, 2023 13:42
@SunMarc SunMarc changed the title switch to a config_dict instead of disable_exllamav2 switch to exllama_config instead of disable_exllamav2 Nov 1, 2023
optimum/gptq/quantizer.py Show resolved Hide resolved
optimum/gptq/quantizer.py Show resolved Hide resolved
optimum/gptq/quantizer.py Outdated Show resolved Hide resolved
optimum/gptq/quantizer.py Outdated Show resolved Hide resolved
optimum/gptq/quantizer.py Show resolved Hide resolved
Copy link
Contributor

@fxmarty fxmarty left a comment

Choose a reason for hiding this comment

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

LGTM, feel free to merge once the disable_exllama docstring & type annotations are fixed!

@SunMarc SunMarc merged commit 9f5ab61 into huggingface:main Nov 1, 2023
48 of 52 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