mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-09-08 20:27:02 +08:00
Merge a8a91797f77a46e5446dbf8b94566f8daa928b5b into 254f6b986720c92ddf97fbb1a6a6465da8e87e29
This commit is contained in:
commit
97dc280431
@ -3,7 +3,13 @@
|
|||||||
# This script aims to tune the best server parameter combinations to maximize throughput for given requirement.
|
# This script aims to tune the best server parameter combinations to maximize throughput for given requirement.
|
||||||
# See details in README (benchmarks/auto_tune/README.md).
|
# See details in README (benchmarks/auto_tune/README.md).
|
||||||
|
|
||||||
TAG=$(date +"%Y_%m_%d_%H_%M")
|
TAG=${TAG:-$(date +"%Y_%m_%d_%H_%M")}
|
||||||
|
|
||||||
|
# Sanitize TAG to prevent path traversal
|
||||||
|
if [[ "$TAG" == *..* || "$TAG" == /* ]]; then
|
||||||
|
echo "Error: TAG cannot contain '..' or be an absolute path." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
VLLM_LOGGING_LEVEL=${VLLM_LOGGING_LEVEL:-INFO}
|
VLLM_LOGGING_LEVEL=${VLLM_LOGGING_LEVEL:-INFO}
|
||||||
BASE=${BASE:-"$SCRIPT_DIR/../../.."}
|
BASE=${BASE:-"$SCRIPT_DIR/../../.."}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user