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

[Adalora] Add adalora 4bit #598

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

younesbelkada
Copy link
Contributor

What does this PR do?

Fixes #595

This PR adds the 4bit support for Adalora layers
Adds also a slow test to confirm training works for 4bit Adalora layers

cc @pacman100

@younesbelkada younesbelkada changed the title [`Adalora] Add adalora 4bit [Adalora] Add adalora 4bit Jun 19, 2023
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 19, 2023

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

Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you @younesbelkada for adding int4 quantization support to AdaLoRA! 🔥

@younesbelkada younesbelkada merged commit c476c1e into huggingface:main Jun 26, 2023
11 checks passed
@younesbelkada younesbelkada deleted the add-adalora-4bit branch June 26, 2023 13:09
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.

AdaLoRA supports the replacement of bnb 4bit quantization layer
3 participants