From b4c9964217d3be17ff1df150f39fe5d695a4261c Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 30 May 2025 15:44:03 -0700 Subject: [PATCH] gpu box test script --- scripts/usb.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/usb.sh diff --git a/scripts/usb.sh b/scripts/usb.sh new file mode 100755 index 0000000000..5796cfa028 --- /dev/null +++ b/scripts/usb.sh @@ -0,0 +1,12 @@ +#!/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