Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Dec 26, 2024
1 parent 1f0668d commit ec5948b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/deploy/client/README.md

This file was deleted.

1 change: 1 addition & 0 deletions examples/deploy/client/llm/swift_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def run_client(host: str = '127.0.0.1', port: int = 8000):
DeployArguments)
from swift.plugin import InferStats
# TODO: The current 'pt' deployment does not support automatic batch.
# NOTE: In a real deployment scenario, please comment out the context of run_deploy.
with run_deploy(
DeployArguments(model='Qwen/Qwen2.5-1.5B-Instruct', verbose=False, log_interval=-1,
infer_backend='vllm')) as port:
Expand Down
1 change: 1 addition & 0 deletions examples/deploy/client/mllm/swift_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def run_client(host: str = '127.0.0.1', port: int = 8000):
DeployArguments)
from swift.plugin import InferStats
# TODO: The current 'pt' deployment does not support automatic batch.
# NOTE: In a real deployment scenario, please comment out the context of run_deploy.
with run_deploy(
DeployArguments(model='Qwen/Qwen2-VL-2B-Instruct', verbose=False, log_interval=-1,
infer_backend='vllm')) as port:
Expand Down

0 comments on commit ec5948b

Please sign in to comment.