-
Notifications
You must be signed in to change notification settings - Fork 12k
common: llama_load_model_from_url using --model-url #6098
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 2 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
3221ab0
common: introduce llama_load_model_from_url to download model from hf…
phymbert a0ebdfc
common: llama_load_model_from_url witch to libcurl dependency
phymbert 42b25da
common: PR feedback, rename the definition to LLAMA_USE_CURL
phymbert 7e78285
common: LLAMA_USE_CURL in make toolchain
phymbert df0d822
ci: compile the server with curl, add make option curl example in def…
phymbert 80bec98
llama_load_model_from_url: try to make the windows build passing
phymbert 2c3a00e
Update Makefile
phymbert 4135d4a
llama_load_model_from_url: typo
phymbert 5d99f32
llama_load_model_from_url: download the file only if modified based o…
phymbert 921e4af
ci: build, fix the default build to use LLAMA_CURL
phymbert 6633689
llama_load_model_from_url: cleanup code
phymbert 1430e89
Merge branch 'master' into hp/download-model-from-hf
phymbert e84206d
Update examples/server/README.md
phymbert 4bc47b7
Update common/common.cpp
phymbert 8751bd0
Update common/common.cpp
phymbert f53bfd5
Update common/common.cpp
phymbert b088122
Update common/common.cpp
phymbert f22456d
Update common/common.cpp
phymbert 9565ae3
Update common/common.cpp
phymbert 330e28d
Update common/common.cpp
phymbert 89ab37a
Update common/common.cpp
phymbert be561a7
Update common/common.cpp
phymbert eb9e52a
Update common/common.cpp
phymbert b0b49e0
Update examples/main/README.md
phymbert 545fef6
llama_load_model_from_url: fix compilation warning, clearer logging
phymbert 4fadb07
server: tests: add `--model-url` tests
phymbert 124c474
llama_load_model_from_url: coherent clearer logging
phymbert 064dc07
common: CMakeLists.txt fix typo in logging when lib curl is not found
phymbert 838178a
ci: tests: windows tests add libcurl
phymbert 176f039
ci: tests: windows tests add libcurl
phymbert 5df5605
ci: build: add libcurl in default make toolchain step
phymbert 78812c6
llama_load_model_from_url: PR feedback, use snprintf instead of strnc…
phymbert 1ad5a45
ci: build: add libcurl in default make toolchain step for tests
phymbert 22b3bb3
common: fix windows build caused by double windows.h import
phymbert e6848ab
build: move the make build with env LLAMA_CURL to a dedicated place
phymbert d81acb6
build: introduce cmake option LLAMA_CURL to trigger libcurl linking t…
phymbert dbd9691
build: move the make build with env LLAMA_CURL to a dedicated place
phymbert 9da4eec
llama_load_model_from_url: minor spacing and log message changes
phymbert 89d3483
ci: build: fix ubuntu-focal-make-curl
phymbert 13d8817
ci: build: try to fix the windows build
phymbert 1ddaf71
common: remove old dependency to openssl
phymbert 73b4b44
common: fix build
phymbert a3ed3d4
common: fix windows build
phymbert 5e66ec8
common: fix windows tests
phymbert 9ca4acc
common: fix windows tests
phymbert c1b002e
common: llama_load_model_from_url windows set CURLOPT_SSL_OPTIONS, CU…
phymbert cff7faa
ci: tests: print server logs in case of scenario failure
phymbert 4fe431d
common: llama_load_model_from_url: make it working on windows: disabl…
phymbert 47a9e5d
ci: tests: increase timeout for windows
phymbert 31272c6
common: fix typo
phymbert f902ab6
common: llama_load_model_from_url use a temporary file for downloading
phymbert b24f30f
common: llama_load_model_from_url delete previous file before downloa…
phymbert fcf327f
ci: tests: fix behavior on windows
phymbert 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
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.