From f84123ddb1086cc32674883114672e78c379a545 Mon Sep 17 00:00:00 2001 From: Daniel Ellis <1346302+dellis23@users.noreply.github.com> Date: Wed, 8 Feb 2023 11:34:58 -0500 Subject: [PATCH] Disable CI. (#83) --- .github/workflows/test_examples.yml | 86 ++++++++++----------- .github/workflows/test_nightly_packages.yml | 52 ++++++------- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index e55e6b8..c3f607a 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -2,46 +2,46 @@ # 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 \ No newline at end of file +#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 \ No newline at end of file diff --git a/.github/workflows/test_nightly_packages.yml b/.github/workflows/test_nightly_packages.yml index b717e87..e232587 100644 --- a/.github/workflows/test_nightly_packages.yml +++ b/.github/workflows/test_nightly_packages.yml @@ -1,27 +1,27 @@ # Check Torch-MLIR E2E tests with nightly packages. -name: Test Nightly Packages - -on: - schedule: - - cron: '0 10,22 * * *' - workflow_dispatch: - -jobs: - run_e2e_tests: - name: Run Torch-MLIR E2E Tests - runs-on: ubuntu-20.04 - steps: - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - name: Get iree-torch - uses: actions/checkout@v2 - with: - submodules: 'true' - - name: Install Nightly packages - run: | - python -m pip install -r $GITHUB_WORKSPACE/requirements.txt - - name: Run Torch-MLIR E2E Tests - run: | - $GITHUB_WORKSPACE/tools/e2e_test.sh -v -s +#name: Test Nightly Packages +# +#on: +# schedule: +# - cron: '0 10,22 * * *' +# workflow_dispatch: +# +#jobs: +# run_e2e_tests: +# name: Run Torch-MLIR E2E Tests +# runs-on: ubuntu-20.04 +# steps: +# - name: Set up Python +# uses: actions/setup-python@v2 +# with: +# python-version: '3.10' +# - name: Get iree-torch +# uses: actions/checkout@v2 +# with: +# submodules: 'true' +# - name: Install Nightly packages +# run: | +# python -m pip install -r $GITHUB_WORKSPACE/requirements.txt +# - name: Run Torch-MLIR E2E Tests +# run: | +# $GITHUB_WORKSPACE/tools/e2e_test.sh -v -s \ No newline at end of file