-
Notifications
You must be signed in to change notification settings - Fork 35
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
Convert ci-shark-ai.yml
to use pkgci_shark_ai.yml
so that we only build packages once
#780
Conversation
ci-shark-ai.yml
to pkgci_shark_ai.yml
02abe82
to
b7af624
Compare
TODO: add tracing related script changes from #625 |
TODO: add venv creation script improvements scott made in iree |
6eb4757
to
9e0df9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few rough edges here that we can probably ignore for a bit, since the workflow latency savings are well worth it.
73a9184
to
a970f52
Compare
UV issue solved! Weirdly, even after adding a cleaning step, checkout still takes a long time at There's an option here to turn it off but i'm not sure it's a good idea to do that. What do you think @ScottTodd ? Merge as is or keep trying to make checkout faster? Incidentally, I tried running it on the standard Ubuntu runners and checkout is blazing fast : / |
We'd need to debug those runner machines themselves to see why the cleanup step part of the checkout action is taking so long. We can keep investigation separate from this PR. Could also use mi300 instead of mi250 machines... |
.github/workflows/pkgci_shark_ai.yml
Outdated
- name: Clean up repo to make next checkout faster | ||
run: | | ||
git clean -ffdx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be part of the runner configuration, not the job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha. Going to remove this and collect this into a new issue and ask Sai for help.
Co-authored-by: Scott Todd <scott.todd0@gmail.com>
ci-shark-ai.yml
to pkgci_shark_ai.yml
ci-shark-ai.yml
to use pkgci_shark_ai.yml
so that we only build packages once
This builds on #625, #589 to make progress on issue #584.
This adds a pkgci.yml to run multiple package-based CI tasks after building package using Scott's changes in #667. This gives us the following benefits:
This also switches to using uv to create venvs, which is faster.
This PR brings shortfin CPU LLM CI time to roughly half an hour on the mi250 runner to a few seconds of package build (fast due to caching) and around 5 minutes of testing.