From d0690405ce33c11d7b214874eb1821a513e11402 Mon Sep 17 00:00:00 2001 From: SS-JIA Date: Tue, 19 Aug 2025 07:49:27 -0400 Subject: [PATCH] [ET-VK][ez] Fix erroneous manual merge Summary: It seems https://github.com/pytorch/executorch/pull/13474 was not merged correctly via the cherry pick bot. This PR manually syncs internal and fbcode. [ghstack-poisoned] --- .../vulkan/runtime/graph/ComputeGraph.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/backends/vulkan/runtime/graph/ComputeGraph.cpp b/backends/vulkan/runtime/graph/ComputeGraph.cpp index 9c24b2f8b5f..fff530d57cb 100644 --- a/backends/vulkan/runtime/graph/ComputeGraph.cpp +++ b/backends/vulkan/runtime/graph/ComputeGraph.cpp @@ -861,25 +861,6 @@ void ComputeGraph::prepare() { } execute_threshold_node_count_ = count_threshold; - - for (SharedObject& shared_object : shared_objects_) { - shared_object.allocate(this); - shared_object.bind_users(this); - } -} - -void ComputeGraph::prepare_pipelines() { - for (std::unique_ptr& node : prepack_nodes_) { - node->prepare_pipelines(this); - } - for (std::unique_ptr& node : execute_nodes_) { - node->prepare_pipelines(this); - } - context_->pipeline_cache().create_pipelines(pipeline_descriptors_); - - pipeline_descriptors_ = std::unordered_set< - vkapi::ComputePipelineCache::Key, - vkapi::ComputePipelineCache::Hasher>(); } void ComputeGraph::prepare_pipelines() {