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

Add initial CI #4

Merged
merged 9 commits into from
Apr 27, 2024
Merged

Add initial CI #4

merged 9 commits into from
Apr 27, 2024

Conversation

saienduri
Copy link
Contributor

@saienduri saienduri commented Apr 25, 2024

This commit brings over all the CI from SHARK-Turbine and configures it properly for iree-turbine. I also add parallelization to the model testing, so that the cpu model tests run on ubuntu 64 core and gpu tests run on mi250. This way we only hog the mi250 for 4 mins compared to the ~30 mins in SHARK Turbine (we use mi250 for gpu model regression testing on iree PRs so wanted to reduce time being used to only necessity). I didn't see anywhere in iree-org that solely depends on ubuntu 64 core so I don't think we would be blocking anywhere by hogging for while. But, let me know if we want further parallelization due to github runner cost of using 64 core (I can try and see if we can get some of the sd tests running on 32 or 16 core even)

@saienduri saienduri marked this pull request as draft April 25, 2024 10:06
@saienduri saienduri marked this pull request as ready for review April 26, 2024 10:51

jobs:
test-turbine-models-cpu:
runs-on: ubuntu-22.04-64core
Copy link
Collaborator

Choose a reason for hiding this comment

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

As noted in your comment, let's not do this. This costs $$ to GitHub and would be better to use one of our self managed instances.

strategy:
matrix:
version: [3.11]
os: [ubuntu-22.04-64core]
Copy link
Collaborator

Choose a reason for hiding this comment

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

And here.

Copy link
Collaborator

@stellaraccident stellaraccident left a comment

Choose a reason for hiding this comment

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

Thanks!

@saienduri saienduri enabled auto-merge (squash) April 27, 2024 01:24
@saienduri saienduri merged commit 70cbf04 into main Apr 27, 2024
6 checks passed
@saienduri saienduri deleted the ci-bringup branch April 27, 2024 01:24
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