qwen2vl fix bug for #1971 #1897 (#1984)

This commit is contained in:
yizhang2077
2024-11-11 00:10:45 +08:00
committed by GitHub
parent 47ffe7af81
commit a8aad9357d
3 changed files with 8 additions and 14 deletions

View File

@@ -649,8 +649,6 @@ class Qwen2VLForConditionalGeneration(nn.Module):
]
image_embeds_offset += num_image_tokens
input_ids = None
hidden_states = self.model(
input_ids=input_ids,
positions=positions,