From 76ece3b7cfc8fd23ddd64e1380a323006512409a Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 24 Sep 2026 13:39:56 +0300 Subject: [PATCH] ci : disable pytest workers in server sanitize workflow Assisted-by: pi:llama.cpp/Qwen3.8-27B --- .github/workflows/server-sanitize.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/server-sanitize.yml b/.github/workflows/server-sanitize.yml index 8ff285a42a..655c7218e3 100644 --- a/.github/workflows/server-sanitize.yml +++ b/.github/workflows/server-sanitize.yml @@ -110,13 +110,15 @@ jobs: python3 -m venv .venv .venv/bin/pip install -r tools/server/tests/requirements.txt + # note: use a single process for the tests to avoid resource starvation on the runner + # ref: https://github.com/ggml-org/llama.cpp/pull/29297#issuecomment-5812505330 - name: Tests id: server_integration_tests if: ${{ (!matrix.disabled_on_pr || !github.event.pull_request) }} run: | source .venv/bin/activate cd tools/server/tests - PYTEST_WORKERS=1 ./tests.sh + PYTEST_WORKERS=0 ./tests.sh - name: Slow tests id: server_integration_tests_slow @@ -124,4 +126,4 @@ jobs: run: | source .venv/bin/activate cd tools/server/tests - PYTEST_WORKERS=1 SLOW_TESTS=1 ./tests.sh + PYTEST_WORKERS=0 SLOW_TESTS=1 ./tests.sh