Skip to content

Conversation

@MekkCyber
Copy link
Contributor

What does this PR do?

Disallow offload to disk for gguf files. It was introduced in this pr #35628.
We can't have offload to disk in the case of gguf files because we need to modify the state_dict to be compatible with transformers.

@github-actions github-actions bot marked this pull request as draft March 24, 2025 15:40
@github-actions
Copy link
Contributor

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. When it is ready for review, please click the Ready for review button (at the bottom of the PR page).

@MekkCyber MekkCyber marked this pull request as ready for review March 24, 2025 15:41
@MekkCyber MekkCyber requested review from SunMarc and removed request for ArthurZucker and Rocketknight1 March 24, 2025 15:41
@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.

@MekkCyber MekkCyber merged commit 2b8a15c into main Mar 24, 2025
24 checks passed
@MekkCyber MekkCyber deleted the fix_offload_disk branch March 24, 2025 18:30
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request May 14, 2025
update

Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
soghomon-b pushed a commit to soghomon-b/transformers that referenced this pull request Aug 24, 2025
update

Co-authored-by: Marc Sun <57196510+SunMarc@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.

4 participants