-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Distributed inference via MPI #2099
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f85785f
MPI support, first cut
evanmiller d05ca74
fix warnings, update README
evanmiller 668ba5f
fixes
evanmiller 042c5b2
wrap includes
evanmiller 32deabf
Merge branch 'master' into mpi
evanmiller 06a2393
PR comments
evanmiller 1f0a2cf
Update CMakeLists.txt
evanmiller 55207ba
Add GH workflow, fix test
evanmiller ef61acf
Add info to README
evanmiller 3232db6
mpi : trying to move more MPI stuff into ggml-mpi (WIP) (#2099)
ggerganov e339d35
mpi : add names for layer inputs + prep ggml_mpi_graph_compute()
ggerganov 01abb3b
mpi : move all MPI logic into ggml-mpi
ggerganov c717c51
mpi : various fixes - communication now works but results are wrong
ggerganov ef37dd1
mpi : fix output tensor after MPI compute (still not working)
ggerganov beadbf3
mpi : fix inference
ggerganov 9da9d26
mpi : minor
ggerganov 0f557c2
Merge branch 'master' into mpi
evanmiller 4a9a474
Add OpenMPI to GH action
evanmiller 03cc12b
[mpi] continue-on-error: true
evanmiller 81c5ddd
Merge branch 'mpi' into refactor-mpi
ggerganov 1c3a15c
Merge pull request #1 from ggerganov/refactor-mpi
evanmiller 166db36
mpi : fix after master merge
ggerganov f085a57
[mpi] Link MPI C++ libraries to fix OpenMPI
evanmiller 00b8aa1
tests : fix new llama_backend API
ggerganov 666a15a
Merge remote-tracking branch 'refs/remotes/origin/mpi' into mpi
evanmiller b18e4ad
Merge branch 'mpi' of github.com:evanmiller/llama.cpp into mpi
evanmiller ada1a2a
[mpi] use MPI_INT32_T
evanmiller c3c3ef1
mpi : factor out recv / send in functions and reuse
ggerganov eaef2d0
mpi : extend API to allow usage with outer backends (e.g. Metal)
ggerganov 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
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
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.