Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Format tests/test_triton_fp_fusion.py back to the hook's fixed point (#13887)

Daniel Han23f58256b974
diff --git a/tests/test_triton_fp_fusion.py b/tests/test_triton_fp_fusion.py
index 80d2e7fd802..171005d150f 100644
--- a/tests/test_triton_fp_fusion.py
+++ b/tests/test_triton_fp_fusion.py
@@ -65,7 +65,10 @@ def test_nf4_options_and_warmup_carry_fp_fusion():
if isinstance(node, ast.Call) and getattr(node.func, "attr", None) == "warmup"
]
assert warmups and all(
- any(k.arg == "enable_fp_fusion" and getattr(k.value, "value", None) is True for k in node.keywords)
+ any(
+ k.arg == "enable_fp_fusion" and getattr(k.value, "value", None) is True
+ for k in node.keywords
+ )
for node in warmups
)