Skip to content

Commit

Permalink
Fix python lint #2
Browse files Browse the repository at this point in the history
  • Loading branch information
natke committed Apr 8, 2024
1 parent a8d0c3f commit 1d9274a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/model-qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def main(args):

if args.verbose:
run_time = time.time() - started_timestamp
print(f"Prompt tokens: {len(input_tokens)}, New tokens: {len(new_tokens)}, Time to first: {(first_token_timestamp - started_timestamp):.2f}s, New tokens per second: {len(new_tokens)/run_time:.2f} tps")
print(f"Prompt length: {prompt_length}, New tokens: {len(new_tokens)}, Time to first: {(first_token_timestamp - started_timestamp):.2f}s, New tokens per second: {len(new_tokens)/run_time:.2f} tps")


if __name__ == "__main__":
Expand Down

0 comments on commit 1d9274a

Please sign in to comment.