Elffuss BraidHub

kikocis/llama-stack public

main · 490 BRawPermalink
1#!/bin/bash
2
3# Copyright (c) Meta Platforms, Inc. and affiliates.
4# All rights reserved.
5#
6# This source code is licensed under the terms described in the LICENSE file in
7# the root directory of this source tree.
8
9THIS_DIR="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
10
11set -euo pipefail
12set -x
13
14stack_dir=$(dirname $(dirname $THIS_DIR))
15models_dir=$(dirname $stack_dir)/llama-models
16PYTHONPATH=$models_dir:$stack_dir pytest -p no:warnings --asyncio-mode auto --tb=short