Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files
src/models/transformers/qwen3vl.py
CHANGED
|
@@ -119,9 +119,8 @@ class Qwen3VLTextModel(Qwen3VLTextModel):
|
|
| 119 |
|
| 120 |
attention_mask = create_causal_mask(
|
| 121 |
config=self.config,
|
| 122 |
-
|
| 123 |
attention_mask=attention_mask,
|
| 124 |
-
cache_position=cache_position,
|
| 125 |
past_key_values=past_key_values,
|
| 126 |
position_ids=text_position_ids,
|
| 127 |
)
|
|
|
|
| 119 |
|
| 120 |
attention_mask = create_causal_mask(
|
| 121 |
config=self.config,
|
| 122 |
+
inputs_embeds=inputs_embeds,
|
| 123 |
attention_mask=attention_mask,
|
|
|
|
| 124 |
past_key_values=past_key_values,
|
| 125 |
position_ids=text_position_ids,
|
| 126 |
)
|