Team Ai
Datasetpublic

echodict/llama.cpp

version https://git-lfs.github.com/spec/v1 oid sha256:cfc44b7ba25614df70e6b65e3341cae0310163bd32fd31a6b928a542df433faf size 30786

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes479downloads
tests.sh24 linesDownload Raw Back to tests
1#!/usr/bin/env bash2 3# make sure we are in the right directory4SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )5cd $SCRIPT_DIR6 7set -eu8 9if [[ "${SLOW_TESTS:-0}" == 1 ]]; then10    # Slow tests for tool calls need quite a few models ahead of time to avoid timing out.11    python $SCRIPT_DIR/../../../scripts/fetch_server_test_models.py12fi13 14if [ $# -lt 1 ]15then16    if [[ "${SLOW_TESTS:-0}" == 1 ]]; then17        pytest -v -x18    else19        pytest -v -x -m "not slow"20    fi21else22    pytest "$@"23fi24