Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shink committed Nov 29, 2024
1 parent 5194c8c commit 3ea0f9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions userbenchmark/test_bench/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def install_test_bench_requirements():

model_paths = _filter_model_paths(args.models, args.skip, args.canary)
for path in model_paths:
print(f"Installing {os.path.basename(path)}...")
print(f"Installing {os.path.basename(path)}...", end="", flush=True)
install_py_path = os.path.join(path, "install.py")
requirements_txt_path = os.path.join(path, "requirements.txt")

Expand All @@ -64,13 +64,13 @@ def install_test_bench_requirements():
elif os.path.exists(requirements_txt_path):
success, error_msg = pip_install_requirements(path, continue_on_fail)
else:
print(f"SKipped: {os.path.basename(path)}")
print("SKipped")
continue

if success:
print("OK")
else:
print("Failed to install test_bench requirements:")
print("Failed")
print(error_msg)
if not continue_on_fail:
sys.exit(-1)
Expand Down

0 comments on commit 3ea0f9b

Please sign in to comment.