fix(llama.cpp)

closes #6273
This commit is contained in:
Jacob Heider 2024-05-30 12:08:21 -04:00 committed by Jacob Heider
parent b76604183d
commit 97009a2d8e

View file

@ -54,7 +54,15 @@ build:
mkdir -p {{prefix}}/share mkdir -p {{prefix}}/share
mv prompts {{prefix}}/share mv prompts {{prefix}}/share
- install -D convert.py $VIRTUAL_ENV/bin/convert.py - |
if test -f convert.py; then
install -D convert.py $VIRTUAL_ENV/bin/convert.py
elif test -f examples/convert-legacy-llama.py; then
install -D examples/convert-legacy-llama.py $VIRTUAL_ENV/bin/convert.py
else
echo "No convert.py found"
false
fi
- | - |
bkpyvenv stage {{prefix}} {{version}} bkpyvenv stage {{prefix}} {{version}}