Skip to content

Commit

Permalink
remove pybind
Browse files Browse the repository at this point in the history
  • Loading branch information
metascroy committed Apr 9, 2024
1 parent 1e49784 commit ac4af0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/runner_et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
pip install ninja
pip install zstd
pip install -r requirements.txt
softwareupdate --install xcode--select
export LLAMA_FAST_ROOT=${PWD}
export ET_NO_PYBIND=1
./scripts/install_et.sh
cmake -S ./runner-et -B build/cmake-out -G Ninja
cmake --build ./build/cmake-out
Expand Down
8 changes: 7 additions & 1 deletion scripts/install_et.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ cp ${LLAMA_FAST_ROOT}/scripts/fixes_et/module.cpp ${LLAMA_FAST_ROOT}/build/src/e
cp ${LLAMA_FAST_ROOT}/scripts/fixes_et/managed_tensor.h ${LLAMA_FAST_ROOT}/build/src/executorch/extension/runner_util/managed_tensor.h # ET is missing headers for vector/memory. This causes downstream issues when building runner-et.

echo "Building and installing python libraries"
./install_requirements.sh --pybind xnnpack
if [ z "${ET_NO_PYBIND}" ]; then
echo "Installing pybind"
./install_requirements.sh --pybind xnnpack
else
echo "Not installing pybind"
./install_requirements.sh
fi

echo "Building and installing C++ libraries"
echo "Inside: ${PWD}"
Expand Down

0 comments on commit ac4af0b

Please sign in to comment.