-
Notifications
You must be signed in to change notification settings - Fork 33
WIP: multimodal support #227
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
Draft
sohamparikh
wants to merge
83
commits into
main
Choose a base branch
from
soham/pixtral-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
7709e65
WIP: multimodal support
sohamparikh 0db2bd2
rough idea for memmap
sohamparikh 0d89f68
faster image size reading
sohamparikh 3866a53
solidify prepare
sohamparikh 8413983
wip
sohamparikh 6521e41
vision model
sohamparikh daf586f
wip
sohamparikh ef4488d
wip
sohamparikh 6d9d595
missing files
sohamparikh 6cb8f5d
make it work, barely
sohamparikh 5761a2d
fix
sohamparikh d45d600
fixes
sohamparikh 74a99b8
changes
sohamparikh 99ad5d9
patches and fixes
sohamparikh bcb557a
fix dependency
sohamparikh a6f5364
remove for testing
sohamparikh 73b431b
mising
sohamparikh 6d65676
fix
sohamparikh 46aefc1
Merge branch 'main' into soham/pixtral-support
sohamparikh 66e7081
fixes
sohamparikh 7f86a7f
fix
sohamparikh 3a8a99d
more fixes after merge
sohamparikh d16284e
conv cleanup
sohamparikh b3134aa
more conv cleanup
sohamparikh c8aa66e
images + loss-masks
sohamparikh 0baae59
minor fixes
sohamparikh 48855be
cleanup
sohamparikh f35e003
cleanup
sohamparikh 4eb34cb
cleanup
sohamparikh ebb9e27
cleanup
sohamparikh 51098ef
fix
sohamparikh 60b87fa
prepare cleanup
sohamparikh f8a5532
slightly better conversion
sohamparikh 490651e
cleanup, sequence parallelism
sohamparikh 24e1b83
fix conv
sohamparikh 0f1612a
wip fixes
sohamparikh 2e48c5f
fix
sohamparikh d529d37
fix image position
sohamparikh 3c22dda
cleanup
sohamparikh f0c8d83
cleanup
sohamparikh ca33ee8
cleaner, extensible multimodal config
sohamparikh f3a4a74
cleanup
sohamparikh 3b955b1
fixes for pixtral
sohamparikh 49daf58
model fixes
sohamparikh b5ed9f4
more cleanup
sohamparikh dc888c8
image break token in sampling
sohamparikh af3e2db
minor fixes
sohamparikh 6d56be0
fix img break
sohamparikh ce91646
fixes
sohamparikh 204b3e9
fix image embeddings offset
sohamparikh fd08eac
heterogeneous data fixes
sohamparikh 1e3652a
convert to rgb
sohamparikh 2aabf35
fix sequence parallel image patches
sohamparikh b6d4858
fixes
sohamparikh 25a650b
no compile for embeddings
sohamparikh c904da5
fix sampling
sohamparikh 7a4701c
sampling and preprocessing bugs
sohamparikh 067f901
speed up sampling
sohamparikh f24325e
cap image size reduction
sohamparikh 0f37664
fix span offset with images
sohamparikh ff8fecc
fix span offset with images
sohamparikh c663cbb
move image logic to sampled
sohamparikh f52f02b
cleanup
sohamparikh 5436357
merge main
sohamparikh 02f6d8f
cleanup
sohamparikh 6843129
jpeg dependency
sohamparikh b94b1ee
install libjpeg-dev in gh actions
sohamparikh 9e4f14f
fix sampling test
sohamparikh d1c804f
fix
sohamparikh 75d64a6
fix data cache reloading
sohamparikh cba6986
fix tokenization
sohamparikh 275fefa
pixtral SFT (#296)
shruthan 605cc7f
review comments
sohamparikh 06aa740
simplified tokenization with spans
sohamparikh 30e3d34
Update fast_llm/data/preparator/gpt_memmap/prepare.py
sohamparikh c1aa709
rename
sohamparikh 0ada42b
Merge branch 'soham/pixtral-support' of github.com:ServiceNow/Fast-LLβ¦
sohamparikh 4e7afd8
merge main
sohamparikh 8e106f7
fix conversion
sohamparikh 080dcb5
fix sequence lengths, parallel conv
sohamparikh f186868
minor
sohamparikh 6b9ea2e
fix image at beginning
sohamparikh ad18ea1
pixtral fix conversion (#315)
RaymondLi0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.