This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# test env: lmdeploy 0.9.2.post1
|
||||
NPROC_PER_NODE=4 \
|
||||
CUDA_VISIBLE_DEVICES=0,1,2,3 \
|
||||
swift infer \
|
||||
--model Qwen/Qwen2.5-1.5B-Instruct \
|
||||
--infer_backend lmdeploy \
|
||||
--val_dataset AI-ModelScope/alpaca-gpt4-data-zh#1000 \
|
||||
--max_new_tokens 512
|
||||
@@ -0,0 +1,8 @@
|
||||
CUDA_VISIBLE_DEVICES=0,1 \
|
||||
swift infer \
|
||||
--model OpenGVLab/InternVL2_5-1B \
|
||||
--infer_backend lmdeploy \
|
||||
--val_dataset AI-ModelScope/captcha-images#1000 \
|
||||
--lmdeploy_tp 2 \
|
||||
--lmdeploy_vision_batch_size 8 \
|
||||
--max_new_tokens 2048
|
||||
Reference in New Issue
Block a user