ColossalAI/examples/tutorial/opt/inference/script/process-opt-175b/unflat.sh

8 lines
105 B
Bash

#!/usr/bin/env sh
for i in $(seq 0 7); do
python convert_ckpt.py $1 $2 ${i} &
done
wait $(jobs -p)