From 5c6ae07276287a16480bff3a7f674e568dfd178a Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Mon, 24 Nov 2025 19:55:22 +0100 Subject: [PATCH] scripts --- scripts/bench-lmstudio.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/bench-lmstudio.py diff --git a/scripts/bench-lmstudio.py b/scripts/bench-lmstudio.py new file mode 100644 index 0000000..b8b4b67 --- /dev/null +++ b/scripts/bench-lmstudio.py @@ -0,0 +1,8 @@ +import requests +import time + +# Benchmark LLM inference +response = requests.post("http://localhost:1234/v1/completions", json={ + "prompt": "Hello, how are you?", + "max_tokens": 100 +}) \ No newline at end of file