From ca5a0a2b56b5bf92f1f514e7828206b933938e77 Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 25 Jun 2025 16:20:27 +0200 Subject: [PATCH] nit --- src/transformers/integrations/executorch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transformers/integrations/executorch.py b/src/transformers/integrations/executorch.py index 5fdde975914..171522bf75f 100644 --- a/src/transformers/integrations/executorch.py +++ b/src/transformers/integrations/executorch.py @@ -314,6 +314,7 @@ class TorchExportableModuleWithStaticCache(torch.nn.Module): kwargs = { "input_ids": input_ids, "position_ids": position_ids, + "attention_mask": None, "cache_position": cache_position, "past_key_values": past_key_values, "use_cache": True,