Files
sunnypilot/scripts/usb.sh
2025-05-30 15:44:17 -07:00

13 lines
233 B
Bash
Executable File

#!/usr/bin/env bash
# testing the GPU box
export XDG_CACHE_HOME=/data/tinycache
mkdir -p $XDG_CACHE_HOME
cd /data/openpilot/tinygrad_repo/examples
while true; do
AMD=1 AMD_IFACE=usb python ./beautiful_cartpole.py
sleep 1
done