24 lines
538 B
Bash
Executable File
24 lines
538 B
Bash
Executable File
#!/bin/bash
|
|
# Deploy agenx-lora-training to /opt/loras/agenx-lora-training
|
|
# Run this on the GPU server after scp'ing it there
|
|
|
|
set -e
|
|
|
|
REPO_DIR="/opt/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"
|