Skip to content

Conversation

@Narsil
Copy link
Contributor

@Narsil Narsil commented Mar 17, 2025

What does this PR do?

Revert the PyBuffer<u8> modifications for zero-copy saves. It enables insecurity and writing invalid weights.
Keeping ownership of the buffers essentially would mean copying so the previous code is just simpler.

Fixes # (issue) or description of the problem this PR solves.

@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.

@Narsil Narsil merged commit a14d35f into main Mar 17, 2025
60 checks passed
@Narsil Narsil deleted the fix_test branch March 17, 2025 13:59
@Narsil Narsil mentioned this pull request Oct 14, 2025
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