Commit 5fefaa5d authored by Michael Yang's avatar Michael Yang
Browse files

fix typo

parent 77dc1a6d
...@@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() { ...@@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() {
} }
if r.EvalDuration > 0 { if r.EvalDuration > 0 {
fmt.Fprintf(os.Stderr, "eval duraiton: %s\n", r.EvalDuration) fmt.Fprintf(os.Stderr, "eval duration: %s\n", r.EvalDuration)
fmt.Fprintf(os.Stderr, "eval rate: %.2f tokens/s\n", float64(r.EvalCount)/r.EvalDuration.Seconds()) fmt.Fprintf(os.Stderr, "eval rate: %.2f tokens/s\n", float64(r.EvalCount)/r.EvalDuration.Seconds())
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment