Skip to content

Move prepare_model_for_kbit_training, enable_gradient_checkpointing, prepare_peft_model to experimental.utils#4686

Merged
qgallouedec merged 2 commits into
align-rloofrom
move-utils-to-exp
Dec 16, 2025
Merged

Move prepare_model_for_kbit_training, enable_gradient_checkpointing, prepare_peft_model to experimental.utils#4686
qgallouedec merged 2 commits into
align-rloofrom
move-utils-to-exp

Conversation

@qgallouedec

Copy link
Copy Markdown
Member

They are only used in experimental, so let's move them to experimental.utils.

…`, `prepare_peft_mode` to `experimental.utils`
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@albertvillanova albertvillanova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks.

@qgallouedec qgallouedec merged commit 8be5fc0 into align-rloo Dec 16, 2025
11 of 13 checks passed
@qgallouedec qgallouedec deleted the move-utils-to-exp branch December 16, 2025 15:43
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