Files
foxhunt/scripts/bypass_cache.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

30 lines
842 B
Bash
Executable File

#!/bin/bash
# Bypass volume cache - download binary directly from S3
set -e
echo "================================================"
echo "Bypassing Volume Cache - Downloading from S3"
echo "================================================"
# Download fresh binary from S3
aws s3 cp s3://se3zdnb5o4/binaries/current/hyperopt_mamba2_demo /tmp/demo \
--endpoint-url https://s3api-eur-is-1.runpod.io
# Make executable
chmod +x /tmp/demo
# Verify it has correct arguments
echo "Verifying binary..."
/tmp/demo --help | grep -q "base-dir" && echo "✅ Binary verified" || (echo "❌ Wrong binary!" && exit 1)
# Execute training
echo "Starting training..."
/tmp/demo \
--parquet-file /runpod-volume/test_data/ES_FUT_180d.parquet \
--base-dir /runpod-volume/ml_training \
--trials 2 \
--epochs 1 \
--batch-size-max 256 \
--seed 42