Skip to content

Commit

Permalink
[shortfin] Bump IREE to 3.1.0rc20241220
Browse files Browse the repository at this point in the history
  • Loading branch information
marbre committed Jan 2, 2025
1 parent 5eb9c68 commit 2f24018
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-libshortfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
repository: iree-org/iree
path: ${{ env.IREE_REPO_DIR }}
submodules: false
ref: iree-3.1.0rc20241204
ref: iree-3.1.0rc20241220

- name: Initalize IREE submodules
working-directory: ${{ env.IREE_REPO_DIR }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_linux_x64_asan-libshortfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
repository: iree-org/iree
path: ${{ env.IREE_SOURCE_DIR }}
submodules: false
ref: iree-3.1.0rc20241204
ref: iree-3.1.0rc20241220

- name: Initalize IREE submodules
working-directory: ${{ env.IREE_SOURCE_DIR }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_linux_x64_nogil-libshortfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
repository: iree-org/iree
path: ${{ env.IREE_REPO_DIR }}
submodules: false
ref: iree-3.1.0rc20241204
ref: iree-3.1.0rc20241220

- name: Initalize IREE submodules
working-directory: ${{ env.IREE_REPO_DIR }}
Expand Down
2 changes: 1 addition & 1 deletion shortfin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")

# Pins
set(SHORTFIN_IREE_GIT_TAG "iree-3.1.0rc20241204")
set(SHORTFIN_IREE_GIT_TAG "iree-3.1.0rc20241220")

# build options
option(SHORTFIN_BUILD_PYTHON_BINDINGS "Builds Python Bindings" OFF)
Expand Down
4 changes: 2 additions & 2 deletions shortfin/requirements-iree-compiler.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Keep in sync with "ref: iree-" in .github/workflows/* and GIT_TAG in CMakeLists.txt
-f https://iree.dev/pip-release-links.html
iree-base-compiler==3.1.0rc20241204
iree-base-runtime==3.1.0rc20241204
iree-base-compiler==3.1.0rc20241220
iree-base-runtime==3.1.0rc20241220
3 changes: 2 additions & 1 deletion shortfin/src/shortfin/array/storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ storage storage::subspan(iree_device_size_t byte_offset,
iree_device_size_t byte_length) {
storage new_storage(device_, {}, timeline_resource_);
SHORTFIN_THROW_IF_ERROR(iree_hal_buffer_subspan(
buffer_, byte_offset, byte_length, new_storage.buffer_.for_output()));
buffer_, byte_offset, byte_length, iree_allocator_system(),
new_storage.buffer_.for_output()));
return new_storage;
}

Expand Down
3 changes: 2 additions & 1 deletion shortfin/src/shortfin/local/program.cc
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,8 @@ void StaticProgramParameters::Load(std::filesystem::path file_path,

// Parse.
SHORTFIN_THROW_IF_ERROR(iree_io_parse_file_index(
to_iree_string_view(options.format), file_handle.get(), index_.get()));
to_iree_string_view(options.format), file_handle.get(), index_.get(),
iree_allocator_system()));
}

// -------------------------------------------------------------------------- //
Expand Down

0 comments on commit 2f24018

Please sign in to comment.