timeout(1) cannot execute shell functions directly; it needs a standalone command. Export run_bench_serving via export -f and wrap both warmup and scenario runs in bash -c so the function is visible in the subshell.
timeout(1) cannot execute shell functions directly; it needs a standalone command. Export run_bench_serving via export -f and wrap both warmup and scenario runs in bash -c so the function is visible in the subshell.