]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : add support for external server for tests (#16243)
authorDaniel Bevenius <redacted>
Thu, 25 Sep 2025 09:36:47 +0000 (11:36 +0200)
committerGitHub <redacted>
Thu, 25 Sep 2025 09:36:47 +0000 (11:36 +0200)
commitd0991da39d3c39b3980c24cdfccb9a4c95a46870
tree7f6821df605c9bc437d58236be53e320b4dc1768
parentaa719c2f886c445b78113bf1e5849f1fce4124a7
server : add support for external server for tests (#16243)

This commit adds support for using an externally started llama-server
instance for the server tests. This can be enabled by setting the
DEBUG_EXTERNAL environment variable.

The motivation for this is to allow debugging of the server itself
when investigating a test failure. Instructions for how to do this are
added to the README.md file in the tests directory.
tools/server/tests/README.md
tools/server/tests/utils.py