add transformers module to cleanup
This commit is contained in:
@@ -138,6 +138,7 @@ def cleanup_monkeypatches():
|
||||
|
||||
# Reset other known monkeypatches
|
||||
modules_to_reset: list[tuple[str, list[str]]] = [
|
||||
("transformers",),
|
||||
("transformers.models.llama.modeling_llama", ["LlamaFlashAttention2"]),
|
||||
("transformers.trainer", ["Trainer"]),
|
||||
("transformers.loss.loss_utils",),
|
||||
|
||||
Reference in New Issue
Block a user