certified-safe-neural-control / scripts /run_wsl2_benchmark.sh
codewithyug's picture
Release: Certified-Safe Neural Control MODEL v1.0
0210a65 verified
Raw History Blame Contribute Delete
398 Bytes
#!/bin/bash
# Convenient runner to execute the closed-loop benchmark inside WSL2
set -e
export PATH="$HOME/miniconda3/bin:$PATH"
source "$HOME/miniconda3/etc/profile.d/conda.sh" 2>/dev/null || source ~/.bashrc
conda activate cbf-shift
echo "=== Running Closed-Loop Benchmark inside WSL2 with GPU Passthrough ==="
python -m pytest tests --rootdir . -c pytest.ini
python scripts/run_simulation.py