Update demo_vllm.py
This commit is contained in:
+3
-2
@@ -29,10 +29,11 @@ def main():
|
|||||||
response = inference_with_vllm(
|
response = inference_with_vllm(
|
||||||
image,
|
image,
|
||||||
prompt,
|
prompt,
|
||||||
ip="localhost",
|
ip=args.ip,
|
||||||
port=8000,
|
port=args.port,
|
||||||
temperature=0.1,
|
temperature=0.1,
|
||||||
top_p=0.9,
|
top_p=0.9,
|
||||||
|
model_name=args.model_name,
|
||||||
)
|
)
|
||||||
print(f"response: {response}")
|
print(f"response: {response}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user