瀏覽代碼

Merge pull request #93 from gc-fu/patch-1

Fix not used arguments in demo_vllm.py
Qing Yan 3 月之前
父節點
當前提交
2a5977c597
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      demo/demo_vllm.py

+ 3 - 2
demo/demo_vllm.py

@@ -29,10 +29,11 @@ def main():
     response = inference_with_vllm(
         image,
         prompt, 
-        ip="localhost",
-        port=8000,
+        ip=args.ip,
+        port=args.port,
         temperature=0.1,
         top_p=0.9,
+        model_name=args.model_name,
     )
     print(f"response: {response}")