This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $1 -> input file: each line is a prompt to model. | |
# $2 -> no. of threads to use | |
# usage: time ./script.sh data/test_data.ldjson 128 > result.ldjson | |
# File containing payloads | |
FILE=$1 #"data/test_data.ldjson" | |
# Number of parallel requests |