1#!/bin/bash 2# Copyright (c) Meta Platforms, Inc. and affiliates. 3# All rights reserved. 4# 5# This source code is licensed under the BSD-style license found in the 6# LICENSE file in the root directory of this source tree. 7 8# Test Llama runner in examples/models/llama/main.cpp 9# 1. Export a llama-like model 10# 2. Build llama runner binary 11# 3. Run model with the llama runner binary with prompt 12set -e 13bash "$(dirname "${BASH_SOURCE[0]}")/../../../.ci/scripts/test_llama.sh" "$@" 14