Files
modelscope--ms-swift/examples/deploy/seq_cls/server.sh
T
wehub-resource-sync a203934033
Lint test / lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:34:58 +08:00

10 lines
287 B
Bash

# GME/GTE models or your checkpoints are also supported
# transformers/vllm/sglang supported
CUDA_VISIBLE_DEVICES=0 swift deploy \
--host 0.0.0.0 \
--port 8000 \
--model /your/seq_cls/checkpoint-xxx \
--infer_backend vllm \
--task_type seq_cls \
--num_labels 2 \