Fixes for QwQ training

This commit is contained in:
2025-03-20 09:41:02 +01:00
parent 92b0ff3aa0
commit 9a171ab622
3 changed files with 8 additions and 4 deletions

View File

@@ -16,7 +16,11 @@ mkdir -p "/root/venvs"
# Clone SIA repository
echo "Cloning SIA repository..."
git clone "$SIA_REPO_URL" "/root/sia"
[ ! -d "/root/sia" ] && git clone "$SIA_REPO_URL" "/root/sia"
# Fixing permissions
echo "Fixing permissions..."
chmod +x /root/sia/scripts/*.sh
# Install Node.js if needed
if ! command -v node &> /dev/null; then
@@ -35,7 +39,6 @@ npm run build
ln -s "/root/sia/web/dist" "/root/static"
# Install SIA dependencies
echo "Installing SIA dependencies..."
"/root/sia/scripts/install.sh"
# Finetune model