LLM inference in C/C++
C++ ggml
tests : disable backend sampler hip multi output (#26878)
Jim Wu4801e3c567d5
diff --git a/ci/run.sh b/ci/run.shindex f6c7eb0d5c..8046df2551 100755--- a/ci/run.sh+++ b/ci/run.sh@@ -49,6 +49,14 @@ mkdir -p "$2"OUT=$(realpath "$1")MNT=$(realpath "$2")+# gpu-rocm self-hosted runner can't upload logs to blob; keep each run's logs in+# their own dir keyed by the GitHub run id so an Actions run URL maps to its logs.+if [ -n "${GG_BUILD_ROCM}" ] && [ -n "${GITHUB_RUN_ID}" ]; then+ OUT="$OUT/run-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT:-1}"+ mkdir -p "$OUT"+ echo "ci results dir: $OUT"+fi+rm -f $OUT/*.logrm -f $OUT/*.exitrm -f $OUT/*.mddiff --git a/tests/test-backend-sampler.cpp b/tests/test-backend-sampler.cppindex 4b3d12635a..c23e7248d5 100644--- a/tests/test-backend-sampler.cpp+++ b/tests/test-backend-sampler.cpp@@ -2105,7 +2105,9 @@ static std::vector<const backend_test_case *> collect_tests_to_run(const std::st#ifdef GGML_USE_HIP// TODO: remove this when https://github.com/ggml-org/llama.cpp/pull/26592 is mergedif (test.name == "penalties" || test.name == "set_sampler" ||- test.name == "mixed" || test.name == "top_p") {+ test.name == "mixed" || test.name == "top_p" ||+ test.name == "multi_output_sampling_chain" ||+ test.name == "multi_output_cpu") {fprintf(stderr, "Skipping test '%s' on HIP backend (no backend TOP_K support)\n", test.name.c_str());continue;}