Skip to content

Commit 58b0976

Browse files
committed
Remove benchmark command
Signed-off-by: Ben Firshman <[email protected]>
1 parent 4ab8a92 commit 58b0976

File tree

3 files changed

+2
-155
lines changed

3 files changed

+2
-155
lines changed

pkg/cli/benchmark.go

Lines changed: 0 additions & 152 deletions
This file was deleted.

pkg/cli/infer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ func cmdInfer(cmd *cobra.Command, args []string) error {
6161
return err
6262
}
6363
// TODO(bfirsh): differentiate between failed builds and in-progress builds, and probably block here if there is an in-progress build
64-
image := model.ImageForArch(version.Images, benchmarkArch)
64+
image := model.ImageForArch(version.Images, inferArch)
6565
if image == nil {
66-
return fmt.Errorf("No %s image has been built for %s:%s", benchmarkArch, mod.String(), id)
66+
return fmt.Errorf("No %s image has been built for %s:%s", inferArch, mod.String(), id)
6767
}
6868

6969
servingPlatform, err := serving.NewLocalDockerPlatform()

pkg/cli/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ func NewRootCommand() (*cobra.Command, error) {
4848
newModelCommand(),
4949
newDownloadCommand(),
5050
newListCommand(),
51-
newBenchmarkCommand(),
5251
newDeleteCommand(),
5352
newLoginCommand(),
5453
)

0 commit comments

Comments
 (0)