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

Expose default int4 config getter function #843

Merged

Conversation

nikita-savelyevv
Copy link
Collaborator

What does this PR do?

Expose a quite useful function for getting default int4 config which also tries to read model_id from config.json. Moved it from exporters.openvino to configuration.py.

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?

@nikita-savelyevv
Copy link
Collaborator Author

@eaidova, please tale a look

@eaidova eaidova requested a review from echarlaix July 26, 2024 09:55
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@echarlaix echarlaix merged commit a863f4d into huggingface:main Jul 26, 2024
13 of 17 checks passed
eaidova added a commit to openvinotoolkit/openvino.genai that referenced this pull request Jul 31, 2024
Compression currently fails with the latest `optimum-intel` version

Changes:
- Update usage of `_check_default_4bit_configs ` after
huggingface/optimum-intel#843
- Update optimum-intel version

---------

Co-authored-by: Ekaterina Aidova <[email protected]>
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.

4 participants