We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329184a commit 7ceebe7Copy full SHA for 7ceebe7
CMakeLists.txt
@@ -559,6 +559,7 @@ if(EXECUTORCH_BUILD_PYBIND)
559
endif()
560
561
if(EXECUTORCH_BUILD_CUSTOM)
562
+ target_link_options_shared_lib(custom_ops)
563
list(APPEND _dep_libs custom_ops)
564
565
setup.py
@@ -389,6 +389,7 @@ def run(self):
389
390
if ShouldBuild.llama_custom_ops:
391
cmake_args += [
392
+ "-DEXECUTORCH_BUILD_CUSTOM=ON", # add llama sdpa ops to pybindings.
393
"-DEXECUTORCH_BUILD_CUSTOM_OPS_AOT=ON",
394
]
395
build_args += ["--target", "custom_ops_aot_lib"]
0 commit comments