Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions scripts/usbgpu/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ cd $DIR/../../tinygrad_repo
GREEN='\033[0;32m'
NC='\033[0m'

if [ -f /AGNOS ]; then
echo "tici setup"

taskset -pc 7 $$ >/dev/null
sudo chrt -f -p 60 $$ >/dev/null
echo 2649600 | sudo tee /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq

echo 7 | sudo tee /proc/irq/1069/smp_affinity_list
fi


#export DEBUG=2
export PYTHONPATH=.
Expand Down
Loading