Skip to content

Conversation

matthewdouglas
Copy link
Member

Resolves #1332

This PR enables Linear8bitLt modules to be moved between devices and retain the expected state whether forward() has been called or not. It supersedes #1765 to improve the integration with PEFT as well.

See also: huggingface/peft#2797

Copy link

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.

@matthewdouglas matthewdouglas merged commit b8d1c26 into main Sep 29, 2025
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linear8bitLt can not be moved back to cpu

1 participant