From 7368a0085a9d1b8d4339fcadd531d763c12c4e66 Mon Sep 17 00:00:00 2001 From: Maxime Ellerbach Date: Wed, 13 May 2026 08:34:38 +0000 Subject: [PATCH] fix warnings with qwen processor kwargs --- src/lerobot/policies/vla_jepa/qwen_interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lerobot/policies/vla_jepa/qwen_interface.py b/src/lerobot/policies/vla_jepa/qwen_interface.py index 592ecad93..c4cf64ab9 100644 --- a/src/lerobot/policies/vla_jepa/qwen_interface.py +++ b/src/lerobot/policies/vla_jepa/qwen_interface.py @@ -80,10 +80,9 @@ class Qwen3VLInterface(torch.nn.Module): batch_inputs = self.processor.apply_chat_template( messages, tokenize=True, - padding=True, add_generation_prompt=True, return_dict=True, - return_tensors="pt", + processor_kwargs={"padding": True, "return_tensors": "pt"}, ) return batch_inputs.to(self.model.device)