add python3-dev to lora fine-tune dependencies

This commit is contained in:
josc146 2024-02-28 23:34:49 +08:00
parent 9bb3a90977
commit e0a6a279b3

View File

@ -22,6 +22,12 @@ else
sudo apt -y install python3-pip sudo apt -y install python3-pip
fi fi
if dpkg -s "python3-dev" >/dev/null 2>&1; then
echo "python3-dev installed"
else
sudo apt -y install python3-dev
fi
if dpkg -s "ninja-build" >/dev/null 2>&1; then if dpkg -s "ninja-build" >/dev/null 2>&1; then
echo "ninja installed" echo "ninja installed"
else else