Skip to content

Commit b390464

Browse files
authored
fix
1 parent 82058f5 commit b390464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightllm/common/basemodel/basemodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ def autotune_layers(self):
732732
@torch.no_grad()
733733
@post_empty_cache
734734
def _autotune_warmup(self):
735-
if get_triton_autotune_level() in [AutotuneLevel.ADAPTIVE_AUTOTUNE, AutotuneLevel.FORCE_AUTOTUNE]:
735+
if get_triton_autotune_level() not in [AutotuneLevel.ADAPTIVE_AUTOTUNE, AutotuneLevel.FORCE_AUTOTUNE]:
736736
return
737737

738738
torch.distributed.barrier()

0 commit comments

Comments
 (0)