mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-21 17:01:53 +00:00
fix warnings with qwen processor kwargs
This commit is contained in:
committed by
Maximellerbach
parent
5317cbb97a
commit
6657be734c
@@ -80,10 +80,9 @@ class Qwen3VLInterface(torch.nn.Module):
|
|||||||
batch_inputs = self.processor.apply_chat_template(
|
batch_inputs = self.processor.apply_chat_template(
|
||||||
messages,
|
messages,
|
||||||
tokenize=True,
|
tokenize=True,
|
||||||
padding=True,
|
|
||||||
add_generation_prompt=True,
|
add_generation_prompt=True,
|
||||||
return_dict=True,
|
return_dict=True,
|
||||||
return_tensors="pt",
|
processor_kwargs={"padding": True, "return_tensors": "pt"},
|
||||||
)
|
)
|
||||||
return batch_inputs.to(self.model.device)
|
return batch_inputs.to(self.model.device)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user