This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
Add exploratory work for quantizing falcon to int4 #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Licensed under the Apache License v2.0 with LLVM Exceptions. | |
# See https://llvm.org/LICENSE.txt for license information. | |
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
#name: Test iree-torch examples | |
# | |
#on: | |
# schedule: | |
# - cron: '0 23 * * *' | |
# | |
#jobs: | |
# build: | |
# name: Build and Test | |
# runs-on: ubuntu-20.04 | |
# steps: | |
# - name: Set up Python | |
# uses: actions/setup-python@v2 | |
# with: | |
# python-version: '3.10' | |
# - name: Install dependencies | |
# run: | | |
# sudo apt update | |
# sudo apt install cmake clang ninja-build | |
# - name: Install IREE compiler | |
# run: | | |
# python -m pip install iree-compiler | |
# pip install -f https://iree-org.github.io/iree/pip-release-links.html iree-compiler | |
# pip install -f https://llvm.github.io/torch-mlir/package-index/ torch-mlir | |
# pip install git+https://github.com/iree-org/iree-torch.git | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# - name: Initialize submodules | |
# run : | | |
# git submodule update --init --recursive | |
# - name: Build example | |
# run: | | |
# cd $GITHUB_WORKSPACE/examples/native_training | |
# cmake -B build/ -DCMAKE_BUILD_TYPE=MinSizeRel -GNinja . | |
# cmake --build build/ --target native_training | |
# - name: Compile example | |
# run: | | |
# cd $GITHUB_WORKSPACE/examples/native_training | |
# python native_training.py /tmp/native_training.vmfb | |
# - name: Test execution | |
# run: | | |
# cd $GITHUB_WORKSPACE/examples/native_training | |
# ./build/native_training /tmp/native_training.vmfb |