Commit graph

2491 commits

Author SHA1 Message Date
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
Pierrick Hymbert
2c3a00e270
Update Makefile
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-03-16 15:40:29 +01:00
Pierrick HYMBERT
80bec9890a llama_load_model_from_url: try to make the windows build passing 2024-03-16 14:08:21 +01:00
Pierrick HYMBERT
df0d82289c ci: compile the server with curl, add make option curl example in default cmake 2024-03-16 13:52:45 +01:00
Pierrick HYMBERT
7e782856bd common: LLAMA_USE_CURL in make toolchain 2024-03-16 13:45:09 +01:00
Pierrick HYMBERT
42b25dacab common: PR feedback, rename the definition to LLAMA_USE_CURL 2024-03-16 13:27:05 +01:00
Pierrick Hymbert
a56d09a440
ci : close inactive issue with workflow (#6053)
* issues: ci - close inactive issue with workflow

* ci: close issue, change workflow schedule time
2024-03-16 14:20:53 +02:00
Pierrick HYMBERT
a0ebdfcc5d common: llama_load_model_from_url witch to libcurl dependency 2024-03-16 12:27:08 +01:00
Pierrick HYMBERT
3221ab01ad common: introduce llama_load_model_from_url to download model from hf url using libopenssl only 2024-03-16 09:59:14 +01:00
slaren
d84c48505f
llama : fix Baichuan2 13B (#6092) 2024-03-15 23:14:16 +02:00