Skip to content

Commit e555db7

Browse files
committed
Update on "Reuse GELU implementation from PyTorch core"
kernels/optimized doesn't need to support embedded systems, so it can just take a header-only dep on PyTorch. Note that, because we will pick up Sleef internally and ignore it externally thanks to ATen vec, this PR gets to enable optimized GELU in OSS. Testing: CI to make sure this doesn't break mobile build modes; happy to take advice on anything not currently covered that might break. Differential Revision: [D66335522](https://our.internmc.facebook.com/intern/diff/D66335522/) [ghstack-poisoned]
2 parents f557b95 + 9d4cb48 commit e555db7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/build_android_llm_demo.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ build_android_native_library() {
4141
EXECUTORCH_BUILD_NEURON=OFF
4242
fi
4343

44+
echo "BEGIN DEBUG COMMANDS"
45+
ls "${CMAKE_PREFIX_PATH}"
46+
find "${CMAKE_PREFIX_PATH}" -name "*.cmake" || true
47+
echo "END DEBUG COMMANDS"
4448
cmake . -DCMAKE_INSTALL_PREFIX="${CMAKE_OUT}" \
4549
-DCMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH}" \
4650
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK}/build/cmake/android.toolchain.cmake" \

0 commit comments

Comments
 (0)