mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-11 10:25:58 +08:00
add an absolute path for run.sh (#18258)
Signed-off-by: calvin chen <120380290@qq.com>
This commit is contained in:
parent
ca2f6b9c30
commit
c57d577e8d
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user