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

Bump to depend on iree 3.0.0 packages. #275

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build_tools/build_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def write_version_info(args):
info_dict["package-version"] = package_version

with open(VERSION_INFO_FILE, "wt") as f:
json.dump(info_dict, f)
json.dump(info_dict, f, indent=2)
f.write("\n")

print(f"Updated version_info.json:\n{json.dumps(info_dict, indent=2)}")

Expand Down
6 changes: 6 additions & 0 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ https://pypi.org/project/iree-base-runtime/ packages. Releases can either be
conducted independently, or they can be coordinated across projects by
initiating a release here.

## Start with a clean test directory

```bash
rm -rf wheelhouse/
```

## Building Artifacts

Build a pre-release:
Expand Down
7 changes: 4 additions & 3 deletions iree-requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
# forgiving on the exact version.

# Uncomment to select a nightly version.
# --find-links https://iree.dev/pip-release-links.html
--find-links https://iree.dev/pip-release-links.html
--pre

# Uncomment to skip versions from PyPI (so _only_ nightly versions).
# --no-index

iree-base-compiler<=2.9.0
iree-base-runtime<=2.9.0
iree-base-compiler<=3.0.0
iree-base-runtime<=3.0.0
4 changes: 2 additions & 2 deletions iree/turbine/kernel/compiler/dispatch_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def abi_type(binding: BindingDesc):
def_func_args = list(def_func_block.arguments)
if workgroup_size is not None and subgroup_size is not None:
def_func_op.attributes["translation_info"] = Attribute.parse(
f"#iree_codegen.translation_info<None "
f"workgroup_size=[{','.join(str(x) for x in workgroup_size)}]"
f"#iree_codegen.translation_info<pipeline = None "
f"workgroup_size=[{','.join(str(x) for x in workgroup_size)}] "
f"subgroup_size={subgroup_size}>"
ScottTodd marked this conversation as resolved.
Show resolved Hide resolved
)

Expand Down
2 changes: 1 addition & 1 deletion version_info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"package-version": "3.0.0"
"package-version": "3.0.0"
}
Loading