Skip to content

Conversation

qgallouedec
Copy link
Member

@qgallouedec qgallouedec commented Apr 25, 2025

The ultimate goal is to support context parallelism (CP), and for this we need padding to be able to be in a multiple of a value. This PR would implement that.

The next one will allow this value to be used in SFT.

cc @NouamaneTazi

@qgallouedec qgallouedec changed the title pad_to_multiple_of 🔢 Pad to multiple of Apr 25, 2025
@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.

@qgallouedec qgallouedec merged commit 29c5e05 into main Apr 25, 2025
10 checks passed
@qgallouedec qgallouedec deleted the pad_to_multiple_of branch April 25, 2025 16:53
shirinyamani pushed a commit that referenced this pull request Apr 28, 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