Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
give this a try
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-neuma committed Jun 12, 2024
1 parent c9d8a5d commit c99202d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/actions/nm-build-vllm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@ runs:
# TODO: adjust when we need a proper release. use nightly now.
pip3 install -r requirements-cuda.txt -r requirements-build.txt
# build
SUCCESS=0
pip3 install -e . || SUCCESS=$?
echo "build_status=${SUCCESS}" >> "$GITHUB_OUTPUT"
if [ ${SUCCESS} -ne 0 ]; then
exit 1
fi
# SUCCESS=0
# pip3 install -e . || SUCCESS=$?
# echo "build_status=${SUCCESS}" >> "$GITHUB_OUTPUT"
# if [ ${SUCCESS} -ne 0 ]; then
# exit 1
# fi
# strip binaries
if [ ! $(command -v strip) ]; then
sudo apt install -y binutils
fi
if [ ! $(command -v file) ]; then
sudo apt install -y file
fi
for eachso in $(find . -type f -name '*.so')
do
strip $eachso
file $eachso
done
# if [ ! $(command -v strip) ]; then
# sudo apt install -y binutils
# fi
# if [ ! $(command -v file) ]; then
# sudo apt install -y file
# fi
# for eachso in $(find . -type f -name '*.so')
# do
# strip $eachso
# file $eachso
# done
# whl
SUCCESS=0
pip3 wheel --no-deps -w dist . || SUCCESS=$?
Expand Down

0 comments on commit c99202d

Please sign in to comment.