diff --git a/.github/workflows/ci-tk.yaml b/.github/workflows/ci-tk.yaml index b6a9ea7f8..f0b8fbec1 100644 --- a/.github/workflows/ci-tk.yaml +++ b/.github/workflows/ci-tk.yaml @@ -49,7 +49,7 @@ jobs: # from non default locations first. Installing the PyTorch CPU # wheels saves multiple minutes and a lot of bandwidth on runner setup. pip install --no-compile -r pytorch-cpu-requirements.txt - pip install --no-cache-dir -r iree-requirements-ci.txt + pip install --no-cache-dir -r iree-requirements-ci.txt --upgrade pip install -r requirements.txt -e . - name: Run unit tests diff --git a/.github/workflows/perf.yaml b/.github/workflows/perf.yaml index ecd166ae9..c574d542b 100644 --- a/.github/workflows/perf.yaml +++ b/.github/workflows/perf.yaml @@ -52,7 +52,7 @@ jobs: # from non default locations first. Installing the PyTorch CPU # wheels saves multiple minutes and a lot of bandwidth on runner setup. pip install --no-compile -r pytorch-rocm-requirements.txt - pip install --no-cache-dir -r iree-requirements-ci.txt + pip install --no-cache-dir -r iree-requirements-ci.txt --upgrade pip install -r requirements.txt -e . - name: Run e2e tests on MI300 diff --git a/build_tools/build_release.py b/build_tools/build_release.py index fac65f82f..408fcdd91 100755 --- a/build_tools/build_release.py +++ b/build_tools/build_release.py @@ -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)}") diff --git a/docs/releasing.md b/docs/releasing.md index 69cfa2a9e..f56b04fdd 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -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: diff --git a/iree-requirements-ci.txt b/iree-requirements-ci.txt index 056bb8b5c..84369669a 100644 --- a/iree-requirements-ci.txt +++ b/iree-requirements-ci.txt @@ -5,9 +5,10 @@ # Uncomment to select a nightly version. # --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 diff --git a/iree/turbine/kernel/compiler/dispatch_codegen.py b/iree/turbine/kernel/compiler/dispatch_codegen.py index 9ba6d165c..c36b0c8a0 100644 --- a/iree/turbine/kernel/compiler/dispatch_codegen.py +++ b/iree/turbine/kernel/compiler/dispatch_codegen.py @@ -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" ) diff --git a/version_info.json b/version_info.json index 4821aa042..4934c2d2d 100644 --- a/version_info.json +++ b/version_info.json @@ -1,3 +1,3 @@ { - "package-version": "3.0.0" + "package-version": "3.0.0" }