From e0a6a279b3221a636cc0578c237d0313ed9df199 Mon Sep 17 00:00:00 2001 From: josc146 Date: Wed, 28 Feb 2024 23:34:49 +0800 Subject: [PATCH] add python3-dev to lora fine-tune dependencies --- finetune/install-wsl-dep-and-train.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/finetune/install-wsl-dep-and-train.sh b/finetune/install-wsl-dep-and-train.sh index 4a2d25f..f1d0d0a 100644 --- a/finetune/install-wsl-dep-and-train.sh +++ b/finetune/install-wsl-dep-and-train.sh @@ -22,6 +22,12 @@ else sudo apt -y install python3-pip 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 echo "ninja installed" else