Files
foxhunt/scripts/DEPLOY_DQN_NOW.sh
jgrusewski 8d89fe80ff chore: Second cleanup wave - organize root directory
- Archive: 85 agent .txt files → docs/archive/agents/legacy_txt/
- Scripts: Move 110 shell scripts → scripts/ (keep deploy.sh in root)
- Models: Move 18 .safetensors → ml/models/checkpoints/training_artifacts/
- Delete: 34 directories (~33GB freed) - target/, coverage_*, test artifacts
- Build: Clean 14 build artifacts (.rlib, .o, .pid, binaries)
- Tests: Move 14 .rs files → tests/standalone/
- SQL: Move 5 files → sql/ (keep init-db*.sql for Docker)
- Wave 153: Archive to docs/archive/historical/wave153/
- Docs: Archive 9 markdown files to wave_d/reports/ and historical/

Total impact: ~34GB freed (both waves), root directory cleaned from 583 to ~40 essential files
Directory count reduced from 65 to 31 (52% reduction)
All historical data preserved in organized archive structure
2025-10-30 01:26:02 +01:00

42 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
# Quick DQN Deployment Script
# Date: 2025-10-24
# Purpose: Deploy DQN training to RunPod with correct binary selection
set -euo pipefail
echo "=========================================="
echo "RunPod DQN Training Deployment"
echo "=========================================="
echo ""
echo "Using: deploy_runpod_graphql.py (CORRECT script)"
echo "Binary: train_dqn"
echo "Dataset: ES_FUT_small.parquet (~13K bars)"
echo "GPU: RTX A4000 (16GB, $0.25/hr)"
echo "Expected time: ~1 minute"
echo "Expected cost: ~$0.004"
echo ""
# Deploy DQN training
python3 scripts/deploy_runpod_graphql.py \
--binary train_dqn \
--parquet-file /runpod-volume/test_data/ES_FUT_small.parquet \
--epochs 100 \
--gpu-type "NVIDIA RTX A4000" \
--pod-name foxhunt-dqn-training
echo ""
echo "=========================================="
echo "Deployment Complete"
echo "=========================================="
echo ""
echo "Next steps:"
echo "1. Copy the Pod ID from output above"
echo "2. Monitor training:"
echo " ssh root@POD_ID.ssh.runpod.io"
echo " nvidia-smi -l 1"
echo "3. Check models after training:"
echo " ls -lh /runpod-volume/models/"
echo "4. Terminate pod to stop billing"
echo ""