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

[USABILITY] Warn users if quantization using insufficient nsamples #656

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Qubitium
Copy link
Contributor

@Qubitium Qubitium commented Apr 28, 2024

Reason for PR:

Too many users are wrongly using tiny n-samples and expect it to magically work. Partially resolve this top reoccurring usability issue by warning users. Suspect new users to autogptq are just copying sample code from examples or tests which are not production ready.
 

  • Simple warn for users trying to quant with < 128 samples
  • Refractor _prepare_examples_for_quantization method from _base to data_utils. Debloat _base.

@Qubitium Qubitium changed the title [Usability] Warn users if quantization using insufficient nsamples [USABILITY] Warn users if quantization using insufficient nsamples Apr 28, 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.

None yet

1 participant