Skip to content

Commit f329ece

Browse files
wenxin0319claude
andcommitted
Fix ruff formatting in test_torch_compile.py
Add missing blank line between test functions to satisfy PEP 8 / ruff format check. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cf2216f commit f329ece

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_torch_compile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def test_dmd2_compile_disabled(dmd2_model_not_compiled):
123123
assert not _is_compiled(dmd2_model_not_compiled.fake_score)
124124
assert not _is_compiled(dmd2_model_not_compiled.discriminator)
125125

126+
126127
def test_compile_excludes_ema(sft_model_not_compiled):
127128
# EMA networks live in model_dict but are weight-averaged copies that are not run
128129
# during training, so apply_torch_compile must not compile them.

0 commit comments

Comments
 (0)