#!/bin/bash # This script build the CPU docker image and run the offline inference inside the container. # It serves a sanity check for compilation and basic model usage. set -exuo pipefail # Try building the docker image cat <&2 fi # The trap will handle the container removal and final exit.