Benchmark Updates (#382)

This commit is contained in:
Liangsheng Yin
2024-04-24 02:23:01 +08:00
committed by GitHub
parent 150d7020ed
commit da19434c2f
18 changed files with 72 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ wget https://raw.githubusercontent.com/openai/grade-school-math/master/grade_sch
### Benchmark sglang
```
python -m sglang.launch_server --model-path meta-llama/Llama-2-7b-chat-hf --port 30000
python -m sglang.launch_server --model-path meta-llama/Llama-2-7b-chat-hf --port 30000 --schedule-conservativeness 1.3
```
```

View File

@@ -86,7 +86,7 @@ def main(args):
# Run requests
tic = time.time()
states = multi_chain_gsm8k.run_batch(
arguments, temperature=0, backend=backend, num_threads=args.parallel)
arguments, temperature=0, backend=backend, num_threads=args.parallel, progress_bar=True)
latency = time.time() - tic
preds = []