okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
6e1085c1d
main
1#!/bin/bash 2# Our own A/A decode script (ab/ab.py, not the community harness), run right after run-harness.sh on the same running 3# engine. Two identical arms ('{}' and '{}') are the in-engine A/A control: the engine sees the same request settings 4# for both, so any difference between the arms is the method's noise. Round r visits the arms starting at arm r mod 2. 5# c2 = two concurrent 300-token decodes per arm and round, the number is their summed tok/s 6# solo = one 300-token decode per arm and round 7# Every request has its own prompt (a salt and the round are in it). ab.py reads the API key from a file, never prints it. 8cd /root/prbench 9date -u +"ab start %F %T UTC" > ab.log 10python3 -u /opt/strata-bmtp-tools/ab.py c2 12'{}' '{}' > ab-c2.txt2 >&1 11echo "c2 exit $ ?" >> ab.log 12python3 -u /opt/strata-bmtp-tools/ab.py solo 12'{}' '{}' > ab-solo.txt2 >&1 13echo "solo exit $ ?" >> ab.log 14date -u +"ab end %F %T UTC" >> ab.log