#!/bin/bash
set -euo pipefail
source .env
RAYON_NUM_THREADS=24 RUST_LOG=info,ipu_codegen::mid::elementwise=debug target/release/ipu-trivial-test "$IPU_CONFIG" --sdk "$POPLAR_SDK_ENABLED" --runtime-source device/static_runtime.S --workload siglip-vit-benchmark --vit-layers 27 --vit-batch 1 --fuse-qkv --fp8-scale=-4 --optimization-steps 0 --load-search-state artifacts/producer-fp8-20260913/pv-state.json --exchange-stream-words 1024 --reference-run --reference-fp32 --reference-inferences 2 --device-lock artifacts/layout-sweep/device.lock --memory-profile-directory artifacts/producer-fp8-20260913/pv-early-full/memory --save-reference-inputs artifacts/producer-fp8-20260913/pv-early-full/resident --package artifacts/producer-fp8-20260913/pv-early-full/model.ipuexe > artifacts/producer-fp8-20260913/pv-early-full.log 2>&1
