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

Integrate IREE at openxla/iree@5d8907e #321

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ jobs:
cd third_party/iree
git submodule update --init -- third_party/googletest
git submodule update --init -- third_party/flatcc
git submodule update --init -- third_party/libyaml

- name: Cache Toolchain
id: cache-toolchain
Expand Down
1 change: 0 additions & 1 deletion build_tools/update_iree_submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ fi
cd ${PATH_TO_IREE}
git submodule update --init -- third_party/googletest
git submodule update --init -- third_party/flatcc
git submodule update --init -- third_party/libyaml
cd ${ORIGINAL_PATH}

echo "Updated the required IREE submodules."
2 changes: 1 addition & 1 deletion iree-release-link.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/openxla/iree/releases/download/candidate-20231103.696/iree-dist-20231103.696-linux-x86_64.tar.xz
https://github.com/openxla/iree/releases/download/candidate-20240222.809/iree-dist-20240222.809-linux-x86_64.tar.xz
2 changes: 1 addition & 1 deletion requirements-compiler.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
# SPDX-License-Identifier: CC0-1.0
-f https://openxla.github.io/iree/pip-release-links.html
iree-compiler==20231103.696
iree-compiler==20240222.809
4 changes: 2 additions & 2 deletions requirements-tools.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
# SPDX-License-Identifier: CC0-1.0
-f https://openxla.github.io/iree/pip-release-links.html
iree-tools-tf==20231103.696
iree-tools-tflite==20231103.696
iree-tools-tf==20240222.809
iree-tools-tflite==20240222.809
6 changes: 3 additions & 3 deletions samples/simple_embedding/simple_embedding_float.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ iree_status_t Run() {
IREE_RETURN_IF_ERROR(create_sample_device(iree_allocator_system(), &device),
"create device");
iree_vm_module_t* hal_module = NULL;
IREE_RETURN_IF_ERROR(
iree_hal_module_create(instance, device, IREE_HAL_MODULE_FLAG_SYNCHRONOUS,
iree_allocator_system(), &hal_module));
IREE_RETURN_IF_ERROR(iree_hal_module_create(
instance, /*device_count=*/1, &device, IREE_HAL_MODULE_FLAG_SYNCHRONOUS,
iree_allocator_system(), &hal_module));

// Load bytecode module from the embedded data.
const iree_const_byte_span_t module_data = load_bytecode_module_data();
Expand Down
6 changes: 3 additions & 3 deletions samples/simple_embedding/simple_embedding_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ iree_status_t Run() {
IREE_RETURN_IF_ERROR(create_sample_device(iree_allocator_system(), &device),
"create device");
iree_vm_module_t* hal_module = NULL;
IREE_RETURN_IF_ERROR(
iree_hal_module_create(instance, device, IREE_HAL_MODULE_FLAG_SYNCHRONOUS,
iree_allocator_system(), &hal_module));
IREE_RETURN_IF_ERROR(iree_hal_module_create(
instance, /*device_count=*/1, &device, IREE_HAL_MODULE_FLAG_SYNCHRONOUS,
iree_allocator_system(), &hal_module));

// Load bytecode module from the embedded data.
const iree_const_byte_span_t module_data = load_bytecode_module_data();
Expand Down
6 changes: 3 additions & 3 deletions samples/simple_vec_mul/simple_mul_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ iree_status_t Run() {
#else
// Create hal_module
iree_vm_module_t* hal_module = NULL;
IREE_RETURN_IF_ERROR(
iree_hal_module_create(instance, device, IREE_HAL_MODULE_FLAG_SYNCHRONOUS,
iree_allocator_system(), &hal_module));
IREE_RETURN_IF_ERROR(iree_hal_module_create(
instance, /*device_count=*/1, &device, IREE_HAL_MODULE_FLAG_SYNCHRONOUS,
iree_allocator_system(), &hal_module));

iree_vm_module_t* modules[] = {hal_module, module};
#endif
Expand Down
2 changes: 1 addition & 1 deletion third_party/iree
Submodule iree updated from d35446 to 5d8907