Update vision.py
This commit is contained in:
parent
0b95576bc4
commit
cca0d38ab9
1 changed files with 2 additions and 2 deletions
|
|
@ -116,8 +116,8 @@ def unsloth_base_fast_generate(
|
|||
is_vlm = is_vlm or hasattr(self.config, "vision_config")
|
||||
arch = self.config.architectures[0]
|
||||
|
||||
# Remove token_type_ids
|
||||
kwargs.pop("token_type_ids", None)
|
||||
# Remove token_type_ids - WRONG for Gemma 3 since bidirectional attention
|
||||
# kwargs.pop("token_type_ids", None)
|
||||
|
||||
# VLMs do not allow logits_to_keep
|
||||
global NUM_LOGITS_TO_KEEP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue