AI-Hypercomputer / AI-Hypercomputer/JetStream

float division by zero in benchmark

未关闭
#61 2 条评论 0 个 reaction 已指派 1 人 已被 @JoeZijunZhou 认领 在 GitHub 查看
主要语言
Python
星标
457
派生
67
PR 合并指标
30 天内没有已合并 PR

描述

Command:

` python benchmarks/benchmark_serving.py --tokenizer /home//data/tokenizer.model --num-prompts 300 --dataset-path /home//data/ShareGPT_V3_unfiltered_cleaned_split.json --dataset sharegpt --save-request-outputs`

Logs:

> File "/home//JetStream/benchmarks/benchmark_serving.py", line 778, in
> main(parsed_args)
> File "/home//JetStream/benchmarks/benchmark_serving.py", line 574, in main
> benchmark_result, request_outputs = asyncio.run(
> File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
> return loop.run_until_complete(main)
> File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
> return future.result()
> File "/home//JetStream/benchmarks/benchmark_serving.py", line 453, in benchmark
> metrics = calculate_metrics(
> File "/home//JetStream/benchmarks/benchmark_serving.py", line 343, in calculate_metrics
> per_token_latencies.append(outputs[i].latency / output_len)
> ZeroDivisionError: float division by zero

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。