Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add Seq Packing in NeMo / Neva2 #11633
base: main
Are you sure you want to change the base?
Add Seq Packing in NeMo / Neva2 #11633
Changes from 15 commits
15439bf
6bfd873
773b4c9
3a1a017
e3e87b7
4ee633c
ecc813d
c10157c
84eb7cc
3bf6442
c8a26af
48b5261
365c051
7da82ed
4127c40
c5d26c3
ecd461f
5e0a168
9240a79
4808999
c4d92f9
ad44132
7db8e52
e705afe
f0a9cb5
7415036
af1f32a
568f9aa
01fd6cf
094ef9a
626bbc3
18aa644
b4f7e8b
2ccea79
a2a4000
0599b5a
90778e1
38a6c49
f0ec5f1
ff45f7e
38e42a2
eadc665
846252f
d70e432
a2290de
3fdfe3e
d24cd3b
a68e41f
c04f1ed
41ab130
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you explain a bit more when this is the case? is this only valid for neva?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not only for neva, also for SFT. If the system and user prompt is very long, and predict answer only. After truncation from right, there might not be any answer/valid tokens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually we truncate the input/context and keep answer intact, so that wouldn't happen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep the logic is a bit different for vlm. We don't want to truncate from left.