BREAKING CHANGES: - Removed orphaned dqn.rs monolithic trainer (4,975 lines) - Removed orphaned dqn_ensemble.rs module (816 lines) - Removed orphaned tft.rs and tft_complete_int8_integration_test.rs - TFT trainer split into modular directory structure DQN Module Refactoring: - Split trainers/dqn.rs into modular structure (config.rs, statistics.rs, trainer.rs) - Fixed hyperopt 39D search space (continuous params only) - Boolean flags (use_dueling, use_double_dqn, use_per, use_noisy_nets) are now FIXED architectural decisions - use_distributional defaults to false (Candle BUG #36 - scatter_add gradient issues) Clean Module Structure: - ml/src/trainers/dqn/ directory with proper mod.rs exports - ml/src/trainers/tft/ directory with config.rs, types.rs, model.rs, trainer.rs, tests.rs - All P0 features validated: TD-error clamping, batch diversity, LR scheduler, priority staleness Documentation: - Added comprehensive docs in docs/codebase-cleanup/ - ADR-001 for DQN refactoring decisions - Rainbow DQN component matrix and quick reference guides Build Status: Compiles with zero errors 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
508 B
Bash
Executable File
23 lines
508 B
Bash
Executable File
#!/bin/bash
|
|
# Monitor PPO Hyperopt Pod Logs
|
|
# Usage: ./monitor_ppo_hyperopt_pod.sh <pod_id>
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "ERROR: Missing pod_id argument"
|
|
echo "Usage: ./monitor_ppo_hyperopt_pod.sh <pod_id>"
|
|
exit 1
|
|
fi
|
|
|
|
POD_ID=$1
|
|
source .env.runpod
|
|
|
|
echo "Monitoring PPO Hyperopt Pod: $POD_ID"
|
|
echo "Press Ctrl+C to stop"
|
|
echo ""
|
|
|
|
while true; do
|
|
curl -s -X GET "https://rest.runpod.io/v1/pods/${POD_ID}" \
|
|
-H "Authorization: Bearer ${RUNPOD_API_KEY}" | jq -r '.logs // "No logs yet"'
|
|
sleep 10
|
|
done
|