Files
onepilot/scripts/usb.sh

13 lines
233 B
Bash
Raw Normal View History

2025-11-07 04:21:57 +00:00
#!/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