-
Notifications
You must be signed in to change notification settings - Fork 25
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
Build nightly shark-ai -package #535
base: main
Are you sure you want to change the base?
Conversation
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.
- Can you run this on your fork and share the resulting outputs so we can test?
- Is the nightly
shark-ai
whl ready to promote to pypi with just droppingrcYYYYMMDD
from its own version, or are deeper changes to the package needed for that?
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.
The generated requirements file would still be different:
requirements.txt
for nightly release
iree-base-compiler
iree-base-runtime
iree-turbine
shortfin==3.0.0rc20241115
stable.txt
for nightly release
iree-base-compiler==3.0.*
iree-base-runtime==3.0.*
iree-turbine==3.0.*
shortfin==3.0.0
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.
Running on my fork, you get the following releases (screenshot):
The METADATA
for the SHARK AI meta package is
Metadata-Version: 2.1
Name: shark-ai
Version: 2.9.2rc20241118
Summary: SHARK AI meta package
Author: SHARK Authors
License: Apache-2.0
Project-URL: Repository, https://github.com/nod-ai/shark-ai
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: iree-base-compiler
Requires-Dist: iree-base-runtime
Requires-Dist: iree-turbine
Requires-Dist: shortfin==2.9.2
Provides-Extra: apps
Requires-Dist: shortfin[apps]; extra == "apps"
Provides-Extra: onnx
Requires-Dist: iree-base-compiler[onnx]; extra == "onnx"
# SHARK AI meta package
Meta package to install `shortfin` and compatible IREE packages.
This adds `iree-base-compiler`, `iree-base-runtime` and `iree-turbine` as dependencies written to the generated `requirements.txt` for nighly builds. Note that no explicit versions get pinned as it is the case for stable releases! Rational behind is that the versions might not align as it is required for stable releases.
The sharktank package was temporarily removed from the dependencies.
880cb30
to
8de1378
Compare
Refactors the scripts so that a version suffix can be passed as an argument. This is used to generate the suffix only once in the workflow instead of computing it in multiple scripts and partly scattered across different steps (
write_requirements.py
runs in a different step). Further adds dependencies to IREE packages also for nightly shark-ai builds.Requires #519.