add an absolute path for run.sh (#18258)
Signed-off-by: calvin chen <120380290@qq.com>
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
rm -rf local_storage/
|
rm -rf local_storage/
|
||||||
rm output.txt
|
|
||||||
|
|
||||||
VLLM_ENABLE_V1_MULTIPROCESSING=0 CUDA_VISIBLE_DEVICES=0 python3 prefill_example.py
|
if [ -f "output.txt" ]; then
|
||||||
VLLM_ENABLE_V1_MULTIPROCESSING=0 CUDA_VISIBLE_DEVICES=0 python3 decode_example.py
|
rm output.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
# The directory of current script
|
||||||
|
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
||||||
|
|
||||||
|
VLLM_ENABLE_V1_MULTIPROCESSING=0 CUDA_VISIBLE_DEVICES=0 python3 "$SCRIPT_DIR/prefill_example.py"
|
||||||
|
VLLM_ENABLE_V1_MULTIPROCESSING=0 CUDA_VISIBLE_DEVICES=0 python3 "$SCRIPT_DIR/decode_example.py"
|
||||||
|
|||||||
Reference in New Issue
Block a user