feat: add deploy-agenx-lora.sh to repo
This commit is contained in:
23
deploy-agenx-lora.sh
Executable file
23
deploy-agenx-lora.sh
Executable file
@@ -0,0 +1,23 @@
|
|||||||
|
#!/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"
|
||||||
Reference in New Issue
Block a user