[CI][RFC] Replace black-jupyter with ruff-format (#37210)
Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
co-authored by
Alison Shao
parent
2641e427be
commit
28262c20df
@@ -335,7 +335,7 @@ def report(manifest: TraceManifest) -> None:
|
||||
print(f" decode tokens : {manifest.num_decode_tokens}")
|
||||
print(f" total tokens : {total}")
|
||||
print(f" decode share : {decode_share:.1%}")
|
||||
print(f" wall clock : {manifest.elapsed_seconds/60:.1f} min")
|
||||
print(f" wall clock : {manifest.elapsed_seconds / 60:.1f} min")
|
||||
if manifest.calibration_mode == "rac":
|
||||
print(
|
||||
"\nThe decode share is the activation mass that prompt-only "
|
||||
|
||||
@@ -209,7 +209,7 @@ def report(results: List[EvalResult]) -> None:
|
||||
f"{result.model_path:<{width}} "
|
||||
f"{result.accuracy:>7.3f} "
|
||||
f"{result.mean_completion_tokens:>16.0f} "
|
||||
f"{result.elapsed_seconds/60:>10.1f}m"
|
||||
f"{result.elapsed_seconds / 60:>10.1f}m"
|
||||
)
|
||||
|
||||
if len(results) > 1:
|
||||
|
||||
Reference in New Issue
Block a user