Unverified Commit 5d1c6b74 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #79 from jmorganca/fix-typo

fix typo
parents 77dc1a6d 5fefaa5d
...@@ -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