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 8NIGHTLY_VERSION="dev20241112" 9 10# Install torchtune nightly for model definitions. 11pip install --pre torchtune==0.4.0.${NIGHTLY_VERSION} --extra-index-url https://download.pytorch.org/whl/nightly/cpu --no-cache-dir 12 13# Install torchao. 14pip install "$(dirname "$0")/../../../third-party/ao" 15