benchmarks-mv
Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS.
Brought by drakestapleton
benchmarks-mv / native / queueflow / mkcall.sh
| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | # mkcall.sh OUT TSV:D0 [TSV:D0 ...]: write the Wolfram Language call that evaluates oracle.wl on |
| 4 | # each trace (columns 5, 6, 10, 11 are unused by the oracle and sent as 0). The call text is what |
| 5 | # is pasted into the hosted Wolfram evaluator and is kept with its result in evidence/wolfram/. |
| 6 | set -eu |
| 7 | out=${1:?out}; shift |
| 8 | here=$(cd "$(dirname "$0")" && pwd) |
| 9 | { |
| 10 | sed '1,/\*)$/d' "$here/oracle.wl" |
| 11 | printf 'StringRiffle[Join[' |
| 12 | first=1 |
| 13 | for spec in "$@"; do |
| 14 | f=${spec%:*}; d0=${spec##*:} |
| 15 | [ $first = 1 ] || printf ', {"--"}, ' |
| 16 | first=0 |
| 17 | printf 'qfLines[' |
| 18 | awk -F '\t' 'BEGIN{printf "{"} {printf "%s{%s,%s,%s,%s,0,0,%s,%s,%s,0,0}", (NR>1?",":""), $1,$2,$3,$4,$7,$8,$9} END{printf "}"}' "$f" |
| 19 | printf ', %s]' "$d0" |
| 20 | done |
| 21 | printf '], "\\n"]\n' |
| 22 | } > "$out" |
| 23 | echo "mkcall: $out $(wc -c < "$out") bytes" |