Commit graph

2500 commits

Author SHA1 Message Date
Pierrick HYMBERT
fcf327f0e6 ci: tests: fix behavior on windows 2024-03-17 17:45:09 +01:00
Pierrick HYMBERT
b24f30fdad common: llama_load_model_from_url delete previous file before downloading 2024-03-17 16:52:38 +01:00
Pierrick HYMBERT
f902ab6de2 common: llama_load_model_from_url use a temporary file for downloading 2024-03-17 16:37:02 +01:00
Pierrick HYMBERT
31272c635a common: fix typo 2024-03-17 16:46:53 +01:00
Pierrick HYMBERT
47a9e5d76c ci: tests: increase timeout for windows 2024-03-17 16:37:40 +01:00
Pierrick HYMBERT
4fe431d429 common: llama_load_model_from_url: make it working on windows: disable global curl function, use a write callback. 2024-03-17 16:31:34 +01:00
Pierrick HYMBERT
cff7faaccb ci: tests: print server logs in case of scenario failure 2024-03-17 16:28:01 +01:00
Pierrick HYMBERT
c1b002e067 common: llama_load_model_from_url windows set CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA 2024-03-17 09:35:19 +01:00
Pierrick HYMBERT
9ca4acc5fb common: fix windows tests 2024-03-17 02:30:20 +01:00
Pierrick HYMBERT
5e66ec80b3 common: fix windows tests 2024-03-17 02:07:06 +01:00
Pierrick HYMBERT
a3ed3d48d3 common: fix windows build 2024-03-17 01:17:58 +01:00
Pierrick HYMBERT
73b4b44785 common: fix build 2024-03-17 00:44:31 +01:00
Pierrick HYMBERT
1ddaf7109a common: remove old dependency to openssl 2024-03-16 22:43:05 +01:00
Pierrick HYMBERT
13d8817ce2 ci: build: try to fix the windows build 2024-03-16 22:34:01 +01:00
Pierrick HYMBERT
89d3483860 ci: build: fix ubuntu-focal-make-curl 2024-03-16 22:27:02 +01:00
Pierrick HYMBERT
9da4eec082 llama_load_model_from_url: minor spacing and log message changes 2024-03-16 22:13:46 +01:00
Pierrick HYMBERT
dbd969142e build: move the make build with env LLAMA_CURL to a dedicated place 2024-03-16 22:01:19 +01:00
Pierrick HYMBERT
d81acb6847 build: introduce cmake option LLAMA_CURL to trigger libcurl linking to be coherent with the make toolchain 2024-03-16 21:59:53 +01:00
Pierrick HYMBERT
e6848ab0e6 build: move the make build with env LLAMA_CURL to a dedicated place 2024-03-16 21:53:07 +01:00
Pierrick HYMBERT
22b3bb3ceb common: fix windows build caused by double windows.h import 2024-03-16 21:50:37 +01:00
Pierrick HYMBERT
1ad5a45210 ci: build: add libcurl in default make toolchain step for tests 2024-03-16 20:06:18 +01:00
Pierrick HYMBERT
78812c6d63 llama_load_model_from_url: PR feedback, use snprintf instead of strncp and strncat 2024-03-16 20:02:34 +01:00
Pierrick HYMBERT
5df5605b02 ci: build: add libcurl in default make toolchain step 2024-03-16 19:52:11 +01:00
Pierrick HYMBERT
176f039a91 ci: tests: windows tests add libcurl 2024-03-16 19:51:44 +01:00
Pierrick HYMBERT
838178a196 ci: tests: windows tests add libcurl 2024-03-16 18:34:53 +01:00
Pierrick HYMBERT
064dc076bb common: CMakeLists.txt fix typo in logging when lib curl is not found 2024-03-16 18:34:36 +01:00
Pierrick HYMBERT
124c474bba llama_load_model_from_url: coherent clearer logging 2024-03-16 18:24:21 +01:00
Pierrick HYMBERT
4fadb072e9 server: tests: add --model-url tests 2024-03-16 18:15:41 +01:00
Pierrick HYMBERT
545fef6e0e llama_load_model_from_url: fix compilation warning, clearer logging 2024-03-16 18:01:55 +01:00
Pierrick Hymbert
b0b49e0bb8
Update examples/main/README.md
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:48 +01:00
Pierrick Hymbert
eb9e52a218
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:38 +01:00
Pierrick Hymbert
be561a7ffd
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:32 +01:00
Pierrick Hymbert
89ab37a261
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:27 +01:00
Pierrick Hymbert
330e28df08
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:20 +01:00
Pierrick Hymbert
9565ae3187
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:10 +01:00
Pierrick Hymbert
f22456d8c3
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:48:02 +01:00
Pierrick Hymbert
b088122719
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:47:04 +01:00
Pierrick Hymbert
f53bfd56af
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:46:53 +01:00
Pierrick Hymbert
8751bd0c82
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:46:46 +01:00
Pierrick Hymbert
4bc47b75ca
Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:46:34 +01:00
Pierrick Hymbert
e84206d132
Update examples/server/README.md
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 17:46:18 +01:00
Pierrick HYMBERT
1430e895fc Merge branch 'master' into hp/download-model-from-hf
# Conflicts:
#	common/common.cpp
2024-03-16 16:57:24 +01:00
AmirAli Mirian
c47cf414ef
ggml : add AVX512F SIMD (#6088) 2024-03-16 17:52:02 +02:00
Pierrick HYMBERT
6633689fa5 llama_load_model_from_url: cleanup code 2024-03-16 16:49:44 +01:00
Daniel Bevenius
b5f4ae09c3
gritlm : add initial README.md (#6086)
* gritlm: add initial README.md to examples/gritlm

This commit adds a suggestion for an initial README.md for the gritlm
example.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>

* squash! gritlm: add initial README.md to examples/gritlm

Use the `scripts/hf.sh` script to download the model file.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>

* squash! gritlm: add initial README.md to examples/gritlm

Fix editorconfig-checker error in examples/gritlm/README.md.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>

---------

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
2024-03-16 17:46:29 +02:00
Xuan Son Nguyen
dfbfdd60f9
readme : add wllama as a wasm binding (#6100) 2024-03-16 17:42:08 +02:00
DAN™
15961ec04d
common : refactor nested if causing error C1061 on MSVC (#6101)
* Refactor nested if causing error C1061 on MSVC.

* Revert back and remove else's.

* Add flag to track found arguments.
2024-03-16 17:39:15 +02:00
Pierrick HYMBERT
921e4af930 ci: build, fix the default build to use LLAMA_CURL 2024-03-16 16:29:08 +01:00
Pierrick HYMBERT
5d99f3224f llama_load_model_from_url: download the file only if modified based on etag and last-modified http headers 2024-03-16 16:27:48 +01:00
Pierrick HYMBERT
4135d4a505 llama_load_model_from_url: typo 2024-03-16 16:27:48 +01:00