8000 MNT Remove deprecated use of load_in_8bit by BenjaminBossan · Pull Request #1811 · huggingface/peft · GitHub
[go: up one dir, main page]

Skip to content

MNT Remove deprecated use of load_in_8bit #1811

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

Conversation

BenjaminBossan
Copy link
Member

Don't pass load_in_8bit to AutoModel.from_pretrained, instead use BitsAndBytesConfig.

There was already a PR to clean this up (#1552) but a slightly later PR (#1518) re-added this usage.

Don't pass load_in_8bit to AutoModel.from_pretrained, instead use
BitsAndBytesConfig.

There was already a PR to clean this up (huggingface#1552) but a slightly later
PR (huggingface#1518) re-added this usage.
@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
Contributor
@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks !

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
@BenjaminBossan BenjaminBossan merged commit cb0bf07 into huggingface:main May 30, 2024
@BenjaminBossan BenjaminBossan deleted the mnt-tst-remove-deprecated-use-of-load_in_8bit branch May 30, 2024 13:39
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
Don't pass load_in_8bit to AutoModel.from_pretrained, instead use
BitsAndBytesConfig.

There was already a PR to clean this up (huggingface#1552) but a slightly later
PR (huggingface#1518) re-added this usage.

---------

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
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.

3 participants
0