TensorRT-LLMs/examples/layer_wise_benchmarks/mpi_launch.sh
Tailing Yuan f9c7786dc8
[None][feat] Add layer wise benchmarks (#8777)
Signed-off-by: Tailing Yuan <yuantailing@gmail.com>
2025-10-30 20:29:34 +08:00

11 lines
205 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# Clear slurm envs
unset $(env | grep -i slurm | awk -F'=' '{print $1}')
unset $(env | grep MPI | awk -F'=' '{print $1}')
set -x
mpirun --allow-run-as-root --np ${NP} "$@"