Skip to content

Commit 3479405

Browse files
HectorSVCjavier-intel
authored andcommitted
Remove ep_weight_sharing_ctx_gen tool from QNN EP python wheel (microsoft#24895)
### Description Remove ep_weight_sharing_ctx_gen tool from QNN EP python wheel
1 parent 2b3c4be commit 3479405

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

cmake/onnxruntime_python.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,12 +1064,6 @@ if (onnxruntime_USE_QNN)
10641064
${QNN_LIB_FILES}
10651065
$<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/capi/
10661066
)
1067-
add_custom_command(
1068-
TARGET onnxruntime_pybind11_state POST_BUILD
1069-
COMMAND ${CMAKE_COMMAND} -E copy
1070-
$<TARGET_FILE:ep_weight_sharing_ctx_gen>
1071-
$<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/capi/
1072-
)
10731067
if (EXISTS "${onnxruntime_QNN_HOME}/Qualcomm AI Hub Proprietary License.pdf")
10741068
add_custom_command(
10751069
TARGET onnxruntime_pybind11_state POST_BUILD

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ def finalize_options(self):
373373
"libQnnSaver.so",
374374
"libQnnSystem.so",
375375
"libHtpPrepare.so",
376-
"ep_weight_sharing_ctx_gen",
377376
]
378377
dl_libs.extend(qnn_deps)
379378
if nightly_build:

0 commit comments

Comments
 (0)