fix the input_ids is None error (#4144)

This commit is contained in:
shimin authored and GitHub committed 2025-03-10 01:38:37 -07:00
1 parent aa957102a9
commit ac69885056
1 file changed
-1
-1
View File
@@ -678,7 +678,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
)
image_embeds_offset += num_image_tokens
input_ids = None
hidden_states = self.model(
input_ids=input_ids,
positions=positions,