-
Notifications
You must be signed in to change notification settings - Fork 13.6k
llama : initial ggml-backend integration #4520
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 12 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
8e6735e
llama : initial ggml-backend integration
slaren 0808aa5
add ggml-metal
slaren 9450791
Merge remote-tracking branch 'origin/master' into sl/ggml-backend-int
slaren 0c5ee7c
cuda backend can be used though ggml-backend with LLAMA_GGML_BACKEND_…
slaren 1ac01fb
add ggml_backend_buffer_clear
slaren c8bd5d8
add ggml_backend_buffer_is_hos, used to avoid copies if possible when…
slaren 72a0c96
disable gpu backends with ngl 0
slaren d3e7242
more accurate mlock
slaren c3678ca
unmap offloaded part of the model
slaren 5241045
use posix_fadvise64(.., POSIX_FADV_SEQUENTIAL) to improve performance…
slaren bcd87ca
update quantize and lora
slaren 24cc321
update session copy/set to use ggml-backend
slaren f70f94d
use posix_fadvise instead of posix_fadvise64
slaren 6c045a8
ggml_backend_alloc_ctx_tensors_from_buft : remove old print
slaren 5834a25
llama_mmap::align_offset : use pointers instead of references for out…
slaren ecb23d4
restore progress_callback behavior
slaren 8ed2a8e
move final progress_callback call to load_all_data
slaren a4e191f
cuda : fix fprintf format string (minor)
ggerganov a74b1a8
do not offload scales
slaren 6a72c7f
Merge remote-tracking branch 'origin/master' into sl/ggml-backend-int
slaren cd4167b
llama_mmap : avoid unmapping the same fragments again in the destructor
slaren 16582cd
Merge remote-tracking branch 'origin/master' into sl/ggml-backend-int
slaren 323881e
remove unnecessary unmap
slaren f4d884f
metal : add default log function that prints to stderr, cleanup code
slaren 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.