Skip to content

Pin optimum version (due to GPTQ deprecation#2359

Merged
regisss merged 1 commit intohuggingface:mainfrom
karol-brejna-i:dev/kbrejna/pin-optimum-version
Dec 23, 2025
Merged

Pin optimum version (due to GPTQ deprecation#2359
regisss merged 1 commit intohuggingface:mainfrom
karol-brejna-i:dev/kbrejna/pin-optimum-version

Conversation

@karol-brejna-i
Copy link
Collaborator

Current dependency definition for optimum is "optimum ~= 2.0" (which uses all version from 2.x line).

Optimum 2.1.0 deprecated GPTQ model. This break our release tests.

This fix pins the dependency so 2.1.x and later are not picked up.

We need this solution to quickly "unstuck" testing and CI process, but will keep it only until we deprecate GPTQ in optimum-habana, too.

@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.

Copy link
Collaborator

@regisss regisss left a comment

Choose a reason for hiding this comment

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

LGTM

@regisss regisss merged commit 5046990 into huggingface:main Dec 23, 2025
2 of 5 checks passed
@regisss
Copy link
Collaborator

regisss commented Dec 23, 2025

@karol-brejna-i Does it need to be cherry-picked to the 1.21 release branch too?

@karol-brejna-i
Copy link
Collaborator Author

Thanks for quick action. It needs to be applied both to 1.20 and 1.21 releases.

@regisss
Copy link
Collaborator

regisss commented Dec 23, 2025

Thanks for quick action. It needs to be applied both to 1.20 and 1.21 releases.

Done

@gplutop7
Copy link
Collaborator

LGTM

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