- Fixed PSO budget calculation bug in ml/src/hyperopt/optimizer.rs - Root cause: Division by n_particles in sequential execution - Now correctly calculates max_iters = remaining_trials (no division) - Result: 50 trials complete instead of 23 (100% vs 46%) - Added comprehensive DQN hyperopt results analysis - 39/50 trials analyzed across 2 RunPod deployments - Best hyperparameters identified: LR 4.89e-5 (ultra-low) - Created DQN_HYPEROPT_RESULTS_SUMMARY.md with expert validation - GitLab CI/CD pipeline operational (48 lines fixed) - Fixed YAML syntax errors (unquoted colons) - All 7 jobs validated and working - Warning cleanup complete (136 → 0 warnings) - Removed 143 lines dead code - Fixed visibility, unused imports, Debug traits - Archived Wave D reports to docs/archive/ - 8 early stopping reports moved - Root directory cleaned up 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
1.2 KiB
Bash
Executable File
48 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
# Terminate both hyperopt pods
|
|
source .env.runpod
|
|
|
|
DQN_POD_ID="dy2bn5ninzaxma"
|
|
PPO_POD_ID="dytpb1mcqwj54t"
|
|
|
|
echo "========================================="
|
|
echo "TERMINATING HYPEROPT PODS"
|
|
echo "========================================="
|
|
echo ""
|
|
echo "WARNING: This will terminate both hyperopt pods"
|
|
echo " DQN: ${DQN_POD_ID}"
|
|
echo " PPO: ${PPO_POD_ID}"
|
|
echo ""
|
|
read -p "Continue? (y/N) " -n 1 -r
|
|
echo
|
|
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
|
echo "Cancelled."
|
|
exit 1
|
|
fi
|
|
|
|
# GraphQL mutation to terminate pods
|
|
MUTATION=$(cat <<EOF
|
|
mutation {
|
|
podTerminate(input: {podId: "${DQN_POD_ID}"})
|
|
podTerminate(input: {podId: "${PPO_POD_ID}"})
|
|
}
|
|
EOF
|
|
)
|
|
|
|
echo "Terminating DQN pod..."
|
|
curl -s -X POST https://api.runpod.io/graphql \
|
|
-H "Content-Type: application/json" \
|
|
-H "Authorization: Bearer ${RUNPOD_API_KEY}" \
|
|
-d "{\"query\": $(echo "mutation { podTerminate(input: {podId: \"${DQN_POD_ID}\"}) }" | jq -Rs .)}" | jq
|
|
|
|
echo ""
|
|
echo "Terminating PPO pod..."
|
|
curl -s -X POST https://api.runpod.io/graphql \
|
|
-H "Content-Type: application/json" \
|
|
-H "Authorization: Bearer ${RUNPOD_API_KEY}" \
|
|
-d "{\"query\": $(echo "mutation { podTerminate(input: {podId: \"${PPO_POD_ID}\"}) }" | jq -Rs .)}" | jq
|
|
|
|
echo ""
|
|
echo "✅ Termination requests sent"
|
|
echo ""
|