#!/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