Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nightly binaries testing workflow #97

Merged
merged 12 commits into from
Jul 8, 2024
52 changes: 52 additions & 0 deletions .github/workflows/test-nightly-binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: test-nightly-binaries
on:
workflow_dispatch:
push:

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
module: [
alexnet_demo_cpu,
# bert_demo, # tests disabled until the OOM issue is resolved
#image_segmentation_with_ivy_unet_cpu, # tests disabled until we get cuda installation working in the docker image
# mmpretrain_to_jax, # tests disabled until we get cuda installation working in the docker image
resnet_demo_cpu,
#torch_to_jax_cpu, # tests disabled until we get cuda installation working in the docker image
lstm_tensorflow_to_torch_cpu,
lstm_torch_to_tensorflow_cpu,
# dinov2_to_paddle, # tests disabled until we get cuda installation working in the docker image
#convnext_to_torch_cpu, # tests disabled until we get cuda installation working in the docker image
# xgboost_demo, # tests disabled until we get the csv files uploaded to drive for being used in the tests
]

steps:
- name: Clean repository
run:
sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE

- name: Checkout Demos🛎
uses: actions/checkout@v4
with:
repository: ivy-llc/demos
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 1

- name: Checkout Ivy🛎
uses: actions/checkout@v4
with:
repository: ivy-llc/ivy
path: ivy
persist-credentials: false
submodules: "recursive"
fetch-depth: 1

- name: Run Integration Tests for Enterprise Demos
run: |
docker pull transpileai/ivy:latest
docker run --rm -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy transpileai/ivy:latest demos/tests/test_demos.sh examples_and_demos/${{ matrix.module }}.ipynb true true
6 changes: 3 additions & 3 deletions .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
uses: actions/checkout@v4
with:
repository: unifyai/ivy
token: ${{ secrets.IVY_BRANCH_TOKEN }}
token: ${{ secrets.DEV_BOT_GENERAL_PAT }}
submodules: recursive

- name: Update submodules
run: |
git config --global user.email "[email protected]"
git config --global user.name "ivy-branch"
git config --global user.email "[email protected]"
git config --global user.name "ivy-dev-bot"
git submodule update --remote docs/demos
git add .
git commit -m "Update demos 🤖"
Expand Down
893 changes: 893 additions & 0 deletions examples_and_demos/alexnet_demo_cpu.ipynb

Large diffs are not rendered by default.

Loading