[CI][RFC] Replace black-jupyter with ruff-format (#37210)

Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
Alex Nails
2026-09-02 19:46:08 -07:00
committed by GitHub
co-authored by Alison Shao
parent 2641e427be
commit 28262c20df
1411 changed files with 7766 additions and 8176 deletions
+2 -2
View File
@@ -386,8 +386,8 @@ class TestPerformance(unittest.TestCase):
speedup = t_ref / t_new
dev_tag = "CUDA" if "cuda" in str(self.device) else "CPU"
print(
f" [{dev_tag}] B={batch_size:3d} S={seq_len:5d} img%={int(image_fraction*100):3d}%"
f" ref={t_ref*1e3:.2f}ms new={t_new*1e3:.2f}ms speedup={speedup:.2f}x"
f" [{dev_tag}] B={batch_size:3d} S={seq_len:5d} img%={int(image_fraction * 100):3d}%"
f" ref={t_ref * 1e3:.2f}ms new={t_new * 1e3:.2f}ms speedup={speedup:.2f}x"
)
self.assertGreaterEqual(
speedup,