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

Initial CI [WIP] #104

Open
wants to merge 100 commits into
base: main
Choose a base branch
from
Open

Initial CI [WIP] #104

wants to merge 100 commits into from

Conversation

saienduri
Copy link
Contributor

No description provided.

- name: "Setup Python venv"
run: python -m venv ${IREE_VENV_DIR}

- name: Build iree
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and all the other build steps) should be replaced with a pip install. No need to checkout a repo with all the submodules, configure toolchains (CMake, ninja, etc.), and spent CI time rebuilding from source.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it was a mess getting the whole source build into CI. Should be able to just use the pip install.

Comment on lines 168 to 174
pip install -r ../torch-mlir/requirements.txt
pip install -r ../torch-mlir/torchvision-requirements.txt
pip install ../torch-mlir/torch-mlir-wheel/torch_mlir-0.0.1-cp311-cp311-linux_x86_64.whl
pip install -r ./e2eshark/requirements.txt
pip install -f https://openxla.github.io/iree/pip-release-links.html --upgrade -r ../turbine/core/iree-requirements.txt
pip install -e ../turbine/core[testing]
pip install -e ../turbine/models
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes that's a lot of pip installs. We should be able to get that down to a much shorter list... (turbine, iree, local requirements for this repo)

Comment on lines 129 to 130
matrix:
os: [nodai-amdgpu-w7900-x86-64]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this is a machine type, not an OS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah for space reasons to run all the models, I was thinking we use this machine

Comment on lines 8 to 9
on:
pull_request:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set up the iree_tests CI to only run on PRs affecting that directory. Could do the same here for e2eshark

name: IREE Test Suite
on:
# TODO(scotttodd): run on schedule (nightly), and/or on pushes to `main`
pull_request:
paths:
- "iree_tests/**"
workflow_dispatch:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Will do that

saienduri and others added 3 commits April 12, 2024 02:01
Signed-off-by: Gaurav Shukla<gashukla@amd.com>
Co-authored-by: zjgarvey <zjgarvey@gmail.com>
Co-authored-by: kumardeepakamd <123522031+kumardeepakamd@users.noreply.github.com>
Co-authored-by: Scott Todd <scott.todd0@gmail.com>
Co-authored-by: zjgarvey <47986913+zjgarvey@users.noreply.github.com>
Co-authored-by: Andreas Falkenberg <149819731+afalkenberg1@users.noreply.github.com>
Co-authored-by: Xida Ren <xida.ren.dev@gmail.com>
Co-authored-by: Xida Ren (Cedar) <cedar.ren@gmail.com>
Co-authored-by: Gaurav Shukla <gaurav@nod-labs.com>
Co-authored-by: Kumar Deepak <kumar@xilinx.com>
Co-authored-by: afalkenberg1 <afalkenb@amd.com>
Co-authored-by: Phaneesh Barwaria <b.phaneesh@gmail.com>
Co-authored-by: Chi_Liu <22491986+AmosLewis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants