]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : add thread safety test (#14035)
authorDiego Devesa <redacted>
Mon, 16 Jun 2025 15:11:43 +0000 (08:11 -0700)
committerGitHub <redacted>
Mon, 16 Jun 2025 15:11:43 +0000 (08:11 -0700)
commit6adc3c3ebc029af058ac950a8e2a825fdf18ecc6
tree9640673c4751564564992758c499d3e69167c286
parent0dbcabde8c006d5cf781ca0fe071c41559572a72
llama : add thread safety test (#14035)

* llama : add thread safety test

* llamafile : remove global state

* llama : better LLAMA_SPLIT_MODE_NONE logic

when main_gpu < 0 GPU devices are not used

---------

Co-authored-by: Georgi Gerganov <redacted>
.github/workflows/build.yml
ci/run.sh
common/common.cpp
ggml/src/ggml-cpu/ggml-cpu-impl.h
ggml/src/ggml-cpu/ggml-cpu.c
ggml/src/ggml-cpu/llamafile/sgemm.cpp
src/llama.cpp
tests/CMakeLists.txt
tests/test-thread-safety.cpp [new file with mode: 0644]