Replace openxla/iree with iree-org/iree across the project. (#17110)
As part of [moving IREE out of
OpenXLA](https://groups.google.com/g/iree-discuss/c/kdFr4CQwEyY/m/PWJIpZlRBQAJ),
we moved the repository from the [openxla GitHub
organization](https://github.com/openxla) to the [iree-org GitHub
organzation](https://github.com/iree-org).
This updates all occurances of `openxla/iree` to `iree-org/iree` in the
project. Most of these should be handled by redirects.
diff --git a/build_tools/bazel/iree.bazelrc b/build_tools/bazel/iree.bazelrc
index 7e28734..7fd44ff 100644
--- a/build_tools/bazel/iree.bazelrc
+++ b/build_tools/bazel/iree.bazelrc
@@ -34,7 +34,7 @@
# build --incompatible_default_to_explicit_init_py
# Disable split PIC/non-PIC build graphs and disable heuristic to link binaries
-# dynamically by default. See: https://github.com/openxla/iree/issues/13470
+# dynamically by default. See: https://github.com/iree-org/iree/issues/13470
build --dynamic_mode=off
build --force_pic
diff --git a/build_tools/benchmarks/comparisons/setup_desktop.sh b/build_tools/benchmarks/comparisons/setup_desktop.sh
index d82996b..7657680 100644
--- a/build_tools/benchmarks/comparisons/setup_desktop.sh
+++ b/build_tools/benchmarks/comparisons/setup_desktop.sh
@@ -46,7 +46,7 @@
mkdir "${SOURCE_DIR}"
cd "${SOURCE_DIR}"
-git clone https://github.com/openxla/iree.git
+git clone https://github.com/iree-org/iree.git
cd iree
git submodule update --init
diff --git a/build_tools/benchmarks/comparisons/setup_mobile.sh b/build_tools/benchmarks/comparisons/setup_mobile.sh
index 0419f3c..a5a1998 100644
--- a/build_tools/benchmarks/comparisons/setup_mobile.sh
+++ b/build_tools/benchmarks/comparisons/setup_mobile.sh
@@ -54,7 +54,7 @@
mkdir "${SOURCE_DIR}"
cd "${SOURCE_DIR}"
-git clone https://github.com/openxla/iree.git
+git clone https://github.com/iree-org/iree.git
cd iree
cp "${SOURCE_DIR}/iree/build_tools/benchmarks/set_adreno_gpu_scaling_policy.sh" "${ROOT_DIR}/setup/"
diff --git a/build_tools/benchmarks/generate_benchmark_comment.py b/build_tools/benchmarks/generate_benchmark_comment.py
index e7efc9e..2dcce35 100755
--- a/build_tools/benchmarks/generate_benchmark_comment.py
+++ b/build_tools/benchmarks/generate_benchmark_comment.py
@@ -27,7 +27,7 @@
from common import benchmark_definition, benchmark_presentation, common_arguments
from reporting import benchmark_comment
-GITHUB_IREE_REPO_PREFIX = "https://github.com/openxla/iree"
+GITHUB_IREE_REPO_PREFIX = "https://github.com/iree-org/iree"
IREE_DASHBOARD_URL = "https://perf.iree.dev/apis/v2"
IREE_PROJECT_ID = "IREE"
# The maximal numbers of trials when querying base commit benchmark results.
diff --git a/build_tools/benchmarks/post_benchmark_comment.py b/build_tools/benchmarks/post_benchmark_comment.py
index 1affbf0..a6e880b 100755
--- a/build_tools/benchmarks/post_benchmark_comment.py
+++ b/build_tools/benchmarks/post_benchmark_comment.py
@@ -33,7 +33,7 @@
from reporting import benchmark_comment
-GITHUB_IREE_API_PREFIX = "https://api.github.com/repos/openxla/iree"
+GITHUB_IREE_API_PREFIX = "https://api.github.com/repos/iree-org/iree"
GITHUB_GIST_API = "https://api.github.com/gists"
GITHUB_API_VERSION = "2022-11-28"
diff --git a/build_tools/benchmarks/upload_benchmarks_to_dashboard.py b/build_tools/benchmarks/upload_benchmarks_to_dashboard.py
index 71636b6..70ab3ff 100755
--- a/build_tools/benchmarks/upload_benchmarks_to_dashboard.py
+++ b/build_tools/benchmarks/upload_benchmarks_to_dashboard.py
@@ -32,7 +32,7 @@
from common import benchmark_definition, benchmark_presentation, benchmark_thresholds
IREE_DASHBOARD_URL = "https://perf.iree.dev"
-IREE_GITHUB_COMMIT_URL_PREFIX = "https://github.com/openxla/iree/commit"
+IREE_GITHUB_COMMIT_URL_PREFIX = "https://github.com/iree-org/iree/commit"
IREE_PROJECT_ID = "IREE"
THIS_DIRECTORY = pathlib.Path(__file__).resolve().parent
diff --git a/build_tools/cmake/build_and_test_tsan.sh b/build_tools/cmake/build_and_test_tsan.sh
index 029ec7c..b711adf 100755
--- a/build_tools/cmake/build_and_test_tsan.sh
+++ b/build_tools/cmake/build_and_test_tsan.sh
@@ -55,7 +55,7 @@
# Disable actually running GPU tests. This tends to yield TSan reports that are
# specific to one's particular GPU driver and therefore hard to reproduce across
# machines and often un-actionable anyway.
-# See e.g. https://github.com/openxla/iree/issues/9393
+# See e.g. https://github.com/iree-org/iree/issues/9393
export IREE_VULKAN_DISABLE=1
export IREE_METAL_DISABLE=1
export IREE_CUDA_DISABLE=1
diff --git a/build_tools/cmake/build_tracing.sh b/build_tools/cmake/build_tracing.sh
index 99b7829..2d39092 100755
--- a/build_tools/cmake/build_tracing.sh
+++ b/build_tools/cmake/build_tracing.sh
@@ -17,7 +17,7 @@
source build_tools/cmake/setup_build.sh
source build_tools/cmake/setup_ccache.sh
-# Note: https://github.com/openxla/iree/issues/6404 prevents us from building
+# Note: https://github.com/iree-org/iree/issues/6404 prevents us from building
# tests with these other settings. Many tests invoke the compiler tools with
# MLIR threading enabled, which crashes with compiler tracing enabled.
"${CMAKE_BIN?}" -B "${BUILD_DIR}" \
diff --git a/build_tools/cmake/iree_copts.cmake b/build_tools/cmake/iree_copts.cmake
index e6e858d..46ba5a9 100644
--- a/build_tools/cmake/iree_copts.cmake
+++ b/build_tools/cmake/iree_copts.cmake
@@ -223,7 +223,7 @@
"$<$<BOOL:${IREE_ENABLE_WERROR_FLAG}>:-Werror>"
"-Wno-error=deprecated-declarations" # Want to see them but defaults to error.
- "-Wno-address" # https://github.com/openxla/iree/issues/16016
+ "-Wno-address" # https://github.com/iree-org/iree/issues/16016
"-Wno-address-of-packed-member"
"-Wno-comment"
"-Wno-format-zero-length"
@@ -352,7 +352,7 @@
# compatible solution.
#
# See also:
-# https://github.com/openxla/iree/issues/4665.
+# https://github.com/iree-org/iree/issues/4665.
# https://discourse.cmake.org/t/how-to-fix-build-warning-d9025-overriding-gr-with-gr/878
# https://gitlab.kitware.com/cmake/cmake/-/issues/20610
if(CMAKE_CXX_FLAGS AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
@@ -503,7 +503,7 @@
-Wno-unused-but-set-variable
)
set(_ADDL_INTERFACE_COPTS "${_RULE_SIZE_INTERFACE_COPTS}")
- set(_ADDL_LINKOPTS
+ set(_ADDL_LINKOPTS
${IREE_LTO_LINKOPTS}
${IREE_SIZE_OPTIMIZED_DEFAULT_LINKOPTS}
)
diff --git a/build_tools/cmake/iree_python.cmake b/build_tools/cmake/iree_python.cmake
index 34875e6..39648a3 100644
--- a/build_tools/cmake/iree_python.cmake
+++ b/build_tools/cmake/iree_python.cmake
@@ -43,7 +43,7 @@
foreach(_SRC_FILE ${_RULE_SRCS})
# _SRC_FILE could have other path components in it, so we need to make a
# directory for it. Ninja does this automatically, but make doesn't. See
- # https://github.com/openxla/iree/issues/6801
+ # https://github.com/iree-org/iree/issues/6801
set(_SRC_BIN_PATH "${CMAKE_CURRENT_BINARY_DIR}/${_SRC_FILE}")
get_filename_component(_SRC_BIN_DIR "${_SRC_BIN_PATH}" DIRECTORY)
add_custom_command(
diff --git a/build_tools/github_actions/configure_ci.py b/build_tools/github_actions/configure_ci.py
index 1b0ff48..9a29572 100755
--- a/build_tools/github_actions/configure_ci.py
+++ b/build_tools/github_actions/configure_ci.py
@@ -8,9 +8,9 @@
"""Determines whether CI should run on a given PR.
The following environment variables are required:
-- GITHUB_REPOSITORY: GitHub org and repository, e.g. openxla/iree.
+- GITHUB_REPOSITORY: GitHub org and repository, e.g. iree-org/iree.
- GITHUB_WORKFLOW_REF: GitHub workflow ref, e.g.
- openxla/iree/.github/workflows/ci.yml@refs/pull/1/merge.
+ iree-org/iree/.github/workflows/ci.yml@refs/pull/1/merge.
- GITHUB_EVENT_NAME: GitHub event name, e.g. pull_request.
- GITHUB_OUTPUT: path to write workflow output variables.
- GITHUB_STEP_SUMMARY: path to write workflow summary output.
@@ -165,7 +165,7 @@
# third_party/llvm-project submodule. This should only include PRs
# intended to be merged and should exclude test/draft PRs as well as
# PRs that include temporary patches to the submodule during review.
-# See also: https://github.com/openxla/iree/issues/12268
+# See also: https://github.com/iree-org/iree/issues/12268
LLVM_INTEGRATE_TITLE_PATTERN = re.compile("^integrate.+llvm", re.IGNORECASE)
LLVM_INTEGRATE_BRANCH_PATTERN = re.compile(
"bump-llvm|llvm-bump|integrate-llvm", re.IGNORECASE
diff --git a/build_tools/github_actions/runner/README.md b/build_tools/github_actions/runner/README.md
index 3bb6868..ba36cf6 100644
--- a/build_tools/github_actions/runner/README.md
+++ b/build_tools/github_actions/runner/README.md
@@ -57,7 +57,7 @@
runners themselves. Therefore, we mediate the token acquisition through a proxy
hosted on [Google Cloud Run](https://cloud.google.com/run). The proxy has the
app token for a GitHub App with permission to manage self-hosted runners for the
-"openxla" GitHub organization. It receives requests from the runners when they
+"iree-org" GitHub organization. It receives requests from the runners when they
are trying to register or deregister and returns them the much more narrowly
scoped [de]registration token. We use
https://github.com/google-github-actions/github-runner-token-proxy for the
@@ -75,7 +75,7 @@
Using GitHub's [artifact actions](https://github.com/actions/upload-artifact)
with runners on GCE turns out to be prohibitively slow (see discussion in
-https://github.com/openxla/iree/issues/9881). Instead we use our own
+https://github.com/iree-org/iree/issues/9881). Instead we use our own
[Google Cloud Storage](https://cloud.google.com/storage) (GCS) buckets to save
artifacts from jobs and fetch them in subsequent jobs:
`iree-github-actions-presubmit-artifacts` and
@@ -107,8 +107,8 @@
## Examining Runners
-The runners for openxla can be viewed in the
-[GitHub UI](https://github.com/organizations/openxla/settings/actions/runners).
+The runners for iree-org can be viewed in the
+[GitHub UI](https://github.com/organizations/iree-org/settings/actions/runners).
Unfortunately, only organization admins have access to this page. Organization
admin gives very broad privileges, so this set is necessarily kept very small by
Google security policy.
@@ -258,7 +258,7 @@
runners are still running the old version
```shell
-gh api --paginate '/orgs/openxla/actions/runners?per_page=100' \
+gh api --paginate '/orgs/iree-org/actions/runners?per_page=100' \
| jq --raw-output \
".runners[] | select(.labels | map(.name == \"runner-version=${OLD_RUNNER_VERSION?}\") | any) | .name"
```
diff --git a/build_tools/pkgci/setup_venv.py b/build_tools/pkgci/setup_venv.py
index 023cfef..362627a 100755
--- a/build_tools/pkgci/setup_venv.py
+++ b/build_tools/pkgci/setup_venv.py
@@ -39,7 +39,7 @@
@functools.lru_cache
def list_gh_artifacts(run_id: str) -> Dict[str, str]:
print(f"Fetching artifacts for workflow run {run_id}")
- base_path = f"/repos/openxla/iree"
+ base_path = f"/repos/iree-org/iree"
output = subprocess.check_output(
[
"gh",
diff --git a/build_tools/python/benchmark_suites/iree/README.md b/build_tools/python/benchmark_suites/iree/README.md
index 414939a..3754b1a 100644
--- a/build_tools/python/benchmark_suites/iree/README.md
+++ b/build_tools/python/benchmark_suites/iree/README.md
@@ -9,7 +9,7 @@
1. Modify the Python scripts of benchmark generators under
[build_tools/python/benchmark_suites/iree](/build_tools/python/benchmark_suites/iree).
2. Follow
- [tests/e2e/test_artifacts](https://github.com/openxla/iree/tree/main/tests/e2e/test_artifacts)
+ [tests/e2e/test_artifacts](https://github.com/iree-org/iree/tree/main/tests/e2e/test_artifacts)
to regenerate the cmake files that will build the benchmarks.
To add a new source model, see
diff --git a/build_tools/python/benchmark_suites/iree/riscv_benchmarks.py b/build_tools/python/benchmark_suites/iree/riscv_benchmarks.py
index 5158e87..16d3f98 100644
--- a/build_tools/python/benchmark_suites/iree/riscv_benchmarks.py
+++ b/build_tools/python/benchmark_suites/iree/riscv_benchmarks.py
@@ -36,7 +36,7 @@
tflite_models.MOBILENET_V1,
tflite_models.MOBILENET_V2_INT8,
tflite_models.PERSON_DETECT_INT8,
- # PyTorch model are disabled due to https://github.com/openxla/iree/issues/14993.
+ # PyTorch model are disabled due to https://github.com/iree-org/iree/issues/14993.
# torch_models.MODEL_CLIP_TEXT_SEQLEN64_FP32_TORCH,
]
diff --git a/build_tools/python/e2e_test_framework/models/model_groups.py b/build_tools/python/e2e_test_framework/models/model_groups.py
index c01f2ff..879e3e2 100644
--- a/build_tools/python/e2e_test_framework/models/model_groups.py
+++ b/build_tools/python/e2e_test_framework/models/model_groups.py
@@ -162,13 +162,13 @@
tf_models.MINILM_L12_H384_UNCASED_INT32_SEQLEN128,
tf_models.BERT_FOR_MASKED_LM_FP32_SEQLEN512,
tf_models.BERT_LARGE_TF_FP32_SEQLEN384,
- # PyTorch model are disabled due to https://github.com/openxla/iree/issues/14993.
+ # PyTorch model are disabled due to https://github.com/iree-org/iree/issues/14993.
# torch_models.MODEL_CLIP_TEXT_SEQLEN64_FP32_TORCH,
# torch_models.MODEL_UNET_2D_FP32_TORCH,
]
VULKAN_MODELS = [
- # PyTorch model are disabled due to https://github.com/openxla/iree/issues/14993.
+ # PyTorch model are disabled due to https://github.com/iree-org/iree/issues/14993.
# torch_models.MODEL_CLIP_TEXT_SEQLEN64_FP32_TORCH,
# torch_models.MODEL_UNET_2D_FP32_TORCH,
]
diff --git a/build_tools/python_deploy/pypi_deploy.sh b/build_tools/python_deploy/pypi_deploy.sh
index fa0b7f4..811b638 100755
--- a/build_tools/python_deploy/pypi_deploy.sh
+++ b/build_tools/python_deploy/pypi_deploy.sh
@@ -59,7 +59,7 @@
function download_wheels() {
echo ""
echo "Downloading wheels from '${RELEASE}'"
- gh release download "${RELEASE}" --repo openxla/iree --pattern "*.whl"
+ gh release download "${RELEASE}" --repo iree-org/iree --pattern "*.whl"
}
function upload_wheels() {
diff --git a/build_tools/scripts/generate_release_index.py b/build_tools/scripts/generate_release_index.py
index 9db8cb5..6723a91 100755
--- a/build_tools/scripts/generate_release_index.py
+++ b/build_tools/scripts/generate_release_index.py
@@ -23,7 +23,7 @@
parser.add_argument(
"--repo",
"--repository",
- default="openxla/iree",
+ default="iree-org/iree",
help="The GitHub repository to fetch releases from.",
)
parser.add_argument(
diff --git a/build_tools/scripts/get_latest_green.sh b/build_tools/scripts/get_latest_green.sh
index 979acb2..6238a00 100755
--- a/build_tools/scripts/get_latest_green.sh
+++ b/build_tools/scripts/get_latest_green.sh
@@ -39,7 +39,7 @@
for workflow in "${REQUIRED_WORKFLOWS[@]}"; do
local successful_run_count="$(\
gh api --jq '.total_count' \
- "/repos/openxla/iree/actions/workflows/${workflow}/runs?${query_string}" \
+ "/repos/iree-org/iree/actions/workflows/${workflow}/runs?${query_string}" \
)"
# Any successful run of the workflow (including reruns) is OK.
if (( successful_run_count==0 )); then