Files
agenx-lora-training/deploy-agenx-lora.sh
2026-06-30 15:51:28 -04:00

24 lines
523 B
Bash
Executable File

#!/bin/bash
# Deploy agenx-lora-training
# Run this on the GPU server after scp'ing it there
set -e
REPO_DIR="${LORA_REPO_DIR:-$HOME/loras/agenx-lora-training}"
REPO_URL="https://gitea.cyaren.com/cmedina/agenx-lora-training.git"
echo "=== Deploying agenx-lora-training ==="
echo "Cloning to: ${REPO_DIR}"
echo ""
# Clone repo
git clone "${REPO_URL}" "${REPO_DIR}"
echo ""
echo "=== Done ==="
echo "Repository is at: ${REPO_DIR}"
echo ""
echo "Next steps:"
echo " cd ${REPO_DIR}"
echo " bash train-on-this-server.sh"