mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
rm comment
Former-commit-id: 80b58eaaec1996571d24b2dc2b73859cc28911a1
This commit is contained in:
parent
5440ebbae6
commit
30d7f6a22e
@ -510,7 +510,6 @@ class PixtralPlugin(BasePlugin):
|
||||
) -> Dict[str, Union[List[int], "torch.Tensor"]]:
|
||||
self._validate_input(images, videos)
|
||||
mm_inputs = self._get_mm_inputs(images, videos, processor)
|
||||
# hack for hf engine
|
||||
if mm_inputs.get("pixel_values"):
|
||||
mm_inputs["pixel_values"] = mm_inputs["pixel_values"][0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user