-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GPU] Fix issue for skipping gather (#21887)
* [GPU] Fix issue for skipping gather - checkout input layout is zero count before calling dep_memory() - add the case for input layout count is zero - in gather_inst, run build_deps before checking is_the_same_buffer(output_memory(), input_memory()) * Follow-up code review * check can_skip_execution before running do_runtime_skip_reorder do_runtime_skip_gather do_runtime_in_place_kv_cache * Set output memory using input memory if output memory is nullptr when current node is skpped for empty output tensor * fix ci failures * [do_runtime_skip_gather] set can_be_optimized as false when input is empty and indices is empty * Fix func KVCache test failure - move do_runtime_in_place_kv_cache in front of chekcing skip execution
- Loading branch information
1 parent
1646625
commit f0cffc4
Showing
2 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters