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

Release tracker - 3.2.0 #19641

Open
5 of 6 tasks
ScottTodd opened this issue Jan 8, 2025 · 10 comments · May be fixed by #19965
Open
5 of 6 tasks

Release tracker - 3.2.0 #19641

ScottTodd opened this issue Jan 8, 2025 · 10 comments · May be fixed by #19965

Comments

@ScottTodd
Copy link
Member

ScottTodd commented Jan 8, 2025

Overview

Our previous stable release was cut on 2025-01-07: https://github.com/iree-org/iree/releases/tag/v3.1.0. We aim for roughly one stable release every 6 weeks, which will be around 2025-02-17 2025-02-10. This issue tracks the release process for the next release.

Release process docs:

Release checklist:

  • Watch for major/breaking changes and decide to either batch them with this release or defer them until the next release
  • Choose a release candidate from nightly releases to promote. The candidate should contain no major regressions and should include all packages, even those marked experimental in .github/workflows/build_package.yml like macOS and Windows packages.
  • Compile release notes
  • Promote to stable (on GitHub) and push packages to PyPI
  • Roll forward downstream packages like iree-turbine and push similar package updates to PyPI
  • Update release process docs for next time

Release notes

Candidate: https://github.com/iree-org/iree/releases/tag/iree-3.2.0rc20250206

Commit range

(Contributors can edit this section as they land patches)


Notable changes

Framework support

Compiler

Runtime

Development tools

Full changelog

v3.1.0...v3.2.0


@ScottTodd ScottTodd pinned this issue Jan 9, 2025
@ScottTodd
Copy link
Member Author

New release date target: Feb 10, instead of Feb 17.

@ScottTodd
Copy link
Member Author

We've updated the downstream shark-ai packages to use 3.2.0rc20250206 (the most recent, from last night) in nod-ai/shark-ai#928 and I'm not aware of any particularly risky or breaking changes recently, so I'll vote for that to be our release candidate this release cycle.

@ScottTodd
Copy link
Member Author

ScottTodd commented Feb 7, 2025

Release candidate install instructions, including the downstream shark-ai packages:

pip install \
  --find-links https://github.com/nod-ai/shark-ai/releases/expanded_assets/dev-wheels \
  shortfin[apps]==3.2.0rc20250207 \
  sharktank==3.2.0rc20250207

pip install \
  --find-links https://iree.dev/pip-release-links.html \
  iree-base-compiler==3.2.0rc20250206 \
  iree-base-runtime==3.2.0rc20250206 \
  iree-turbine==3.2.0rc20250205

Then check what was installed:

pip freeze | grep -E 'iree|shark|shortfin'

iree-base-compiler==3.2.0rc20250206
iree-base-runtime==3.2.0rc20250206
iree-turbine==3.2.0rc20250205
sharktank==3.2.0rc20250207
shortfin==3.2.0rc20250207

Note: we could also use iree-turbine==3.2.0rc20250207 to pick up a few more changes there.

@ScottTodd
Copy link
Member Author

For future releases, I hope to reduce those instructions to a single pip install shark-ai -f [nightly asset urls] command, see nod-ai/shark-ai#929

@aviator19941
Copy link
Contributor

Seems like to use shortfin with the above commands, more dependencies need to be installed:

Traceback (most recent call last):
  File "/home/nod/avsharma/SHARK-Platform/3.11.venv/lib/python3.11/site-packages/shortfin_apps/llm/_deps.py", line 17, in <module>
    __import__(dep)
ModuleNotFoundError: No module named 'dataclasses_json'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/home/nod/avsharma/SHARK-Platform/3.11.venv/lib/python3.11/site-packages/shortfin_apps/llm/__init__.py", line 7, in <module>
    from . import _deps
  File "/home/nod/avsharma/SHARK-Platform/3.11.venv/lib/python3.11/site-packages/shortfin_apps/llm/_deps.py", line 27, in <module>
    raise ShortfinDepNotFoundError(__name__, dep) from e
shortfin.support.deps.ShortfinDepNotFoundError: Shortfin is missing a dependency to use shortfin_apps.llm. This is typically available via `pip install dataclasses_json`

@ScottTodd
Copy link
Member Author

Seems like to use shortfin with the above commands, more dependencies need to be installed:

Ah, let me amend the instructions then: install shortfin[apps]==3.2.0rc20250207. That should get dataclasses-json from https://github.com/nod-ai/shark-ai/blob/2c61420ff5b54de8990a7f2f8941f987023cd690/shortfin/pyproject.toml#L37-L45.

@ScottTodd
Copy link
Member Author

Possible release blocking regression reported downstream: nod-ai/shark-ai#934. Waiting for more information to determine the impact. We could release IREE + iree-turbine 3.2.0 and then follow with a 3.2.1 patch release for downstream shark-ai to use in its own 3.2.0.

Should know more by Monday.

(Then for future releases we can also establish more of a process for branching, vetting release candidates, and incorporating feedback from downstream users/projects)

@ScottTodd
Copy link
Member Author

New plan this morning is to not block the release on that issue (matching IREE issue: #19948). Might add to a list of known issues in one or both projects. I'll start the release rollout.

@ScottTodd
Copy link
Member Author

https://github.com/iree-org/iree/releases/tag/v3.2.0 is now published and pushed to pypi.

Next up:

  • iree-turbine
  • shark-ai
  • Update release docs

@ScottTodd
Copy link
Member Author

All packages are pushed to pypi and all releases are published:

Working on process documentation updates next.

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 a pull request may close this issue.

2 participants