Unverified Commit ac698850 authored by shimin's avatar shimin Committed by GitHub
Browse files

fix the input_ids is None error (#4144)

parent aa957102
...@@ -678,7 +678,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module): ...@@ -678,7 +678,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
) )
image_embeds_offset += num_image_tokens image_embeds_offset += num_image_tokens
input_ids = None
hidden_states = self.model( hidden_states = self.model(
input_ids=input_ids, input_ids=input_ids,
positions=positions, positions=positions,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment