mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-03-12 12:25:32 +08:00
refactor(ui): replace tqdm with rich for enhanced console output
This commit is contained in:
@@ -21,13 +21,6 @@ def benchmark(
|
||||
config = cfg_manager.get()
|
||||
benchmark_cfg = config.benchmark
|
||||
|
||||
if not benchmark_cfg.enabled:
|
||||
typer.echo(
|
||||
"Benchmark is not enabled. Set benchmark.enabled=true in config.yaml",
|
||||
err=True,
|
||||
)
|
||||
raise typer.Exit(code=1)
|
||||
|
||||
device = get_device()
|
||||
|
||||
model_cfg = config.model
|
||||
|
||||
Reference in New Issue
Block a user