Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipack simplify for Mixtral #1142

Merged
merged 8 commits into from
Jan 18, 2024
Merged

Multipack simplify for Mixtral #1142

merged 8 commits into from
Jan 18, 2024

Conversation

winglian
Copy link
Collaborator

Description

resurrect our somewhat less compute efficient multipack as a tradeoff for patch simplicity, inspired by https://github.com/MeetKai/functionary/blob/main/functionary/train/packing/monkey_patch_packing.py#L43-L44 I realized we can simply modify our collator and this becomes a lot simpler.

@winglian winglian changed the title Multipack simplify Multipack simplify for Mixtral Jan 18, 2024
Copy link
Collaborator

@casper-hansen casper-hansen left a comment

Choose a reason for hiding this comment

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

LGTM! This simplification is incredibly nice. Should be extendable to other models.

@winglian winglian merged commit 6910e6a into main Jan 18, 2024
7 checks passed
@winglian winglian deleted the multipack-simplify branch January 18, 2024 21:23
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
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.

2 participants