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 8set -x 9 10pip install transformers accelerate sentencepiece tiktoken 11 12# Run llama2/install requirements for torchao deps 13SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) 14 15bash "$SCRIPT_DIR"/../llama/install_requirements.sh 16