Skip to content

Commit 2eae0c3

Browse files
committed
modify para usage
1 parent bcd54ff commit 2eae0c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/demo/run_vllm_serving.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ while [[ $# -gt 0 ]]; do
4141
done
4242

4343
validate_args() {
44-
if [[ -z "$MODEL" && -z "$CONVERTED_MODEL" && -z "$TASK" ]]; then
44+
if [[ -z "$TASK" ]]; then
4545
echo "Usage: $0 --task <model_name> [--model <original_model_path> | --converted-model <converted_model_path>] [-tp-size <tensor_parallel_size>]"
4646
exit 1
4747
fi

0 commit comments

Comments
 (0)