Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add city doc benchmark mode #129

Merged
merged 6 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor
  • Loading branch information
hnyls2002 committed Feb 1, 2024
commit 8e532fc009669ee30a596eeb3bfecd7b8082e828
2 changes: 1 addition & 1 deletion benchmark/json_fast_forward/bench_sglang.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def main(args):
print(f"Latency: {latency:.3f}")

# Write results
dump_state_text(f"tmp_output_{args.backend}.txt", states)
dump_state_text(f"tmp_output_{args.backend}_{args.mode}.txt", states)
with open(f"{args.backend}_{args.mode}.json", "w") as fout:
for state in states:
fout.write(state["json_output"] + "\n")
Expand Down