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

move gptq patching to export stage #465

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

eaidova
Copy link
Collaborator

@eaidova eaidova commented Oct 30, 2023

move GPTQ patching to export inside export_main to allow convert models using optimum-cli
changed default factory class in OVModelForCausalLM to be able override it (in case if used model class inherited from OVModelForCausalLM, returns instance of this class in backward compatible way, current changes leads to getting always OVModelForCausalLM that may be unexpected from user side)

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 30, 2023

The documentation is not available anymore as the PR was closed or merged.

@eaidova eaidova force-pushed the ea/move_gptq_export branch from 1780d90 to d0df7c9 Compare October 30, 2023 17:46
@eaidova
Copy link
Collaborator Author

eaidova commented Oct 31, 2023

@AlexKoff88 @helena-intel @echarlaix could you please take a look?

Copy link
Collaborator

@echarlaix echarlaix left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @eaidova

@echarlaix echarlaix merged commit ae36dda into huggingface:main Nov 2, 2023
10 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.

4 participants