Download scripts/run_wsl2_benchmark.sh from codewithyug/certified-safe-neural-control: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/codewithyug/certified-safe-neural-control/resolve/main/scripts/run_wsl2_benchmark.sh
- Command line
-
hf download hf://codewithyug/certified-safe-neural-control/scripts/run_wsl2_benchmark.sh
-
curl -L -o run_wsl2_benchmark.sh https://huggingface.co/codewithyug/certified-safe-neural-control/resolve/main/scripts/run_wsl2_benchmark.sh
398 Bytes
| # 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 | |