[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
@@ -42,9 +42,9 @@ def test_mixer2_gated_norm_multi_gpu(
if device not in ["cuda", "xpu"]:
pytest.skip("Test only supports CUDA and XPU devices")
assert (
get_device_count() >= NUM_GPUS
), f"This test requires at least {NUM_GPUS} GPUs, but only {get_device_count()} available"
assert get_device_count() >= NUM_GPUS, (
f"This test requires at least {NUM_GPUS} GPUs, but only {get_device_count()} available"
)
hidden_size, n_groups = hidden_size_n_groups
num_processes = NUM_GPUS