Skip to content

Commit 7b48321

Browse files
authored
Merge pull request #522 from doringeman/fix-cmd-bench-msg
fix(cli): correct bench command usage to show MODEL as required
2 parents 74d69c8 + fd0c281 commit 7b48321

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/cli/commands/bench.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func newBenchCmd() *cobra.Command {
5757
)
5858

5959
cmd := &cobra.Command{
60-
Use: "bench [MODEL]",
60+
Use: "bench MODEL",
6161
Short: "Benchmark a model's performance at different concurrency levels",
6262
Long: `Benchmark a model's performance showing tokens per second at different concurrency levels.
6363

cmd/cli/docs/reference/docker_model_bench.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ long: |-
55
66
This command runs a series of benchmarks with 1, 2, 4, and 8 concurrent requests by default,
77
measuring the tokens per second (TPS) that the model can generate.
8-
usage: docker model bench [MODEL]
8+
usage: docker model bench MODEL
99
pname: docker model
1010
plink: docker_model.yaml
1111
options:

0 commit comments

Comments
 (0)