Files
enginex-mlu370-vllm/vllm-v0.6.2/.buildkite/nightly-benchmarks/scripts/get-lmdeploy-modelname.py
2026-02-04 17:22:39 +08:00

7 lines
167 B
Python

from lmdeploy.serve.openai.api_client import APIClient
api_client = APIClient("http://localhost:8000")
model_name = api_client.available_models[0]
print(model_name)