Skip to content

Conversation

mohiso22
Copy link
Contributor

No description provided.

@mohiso22 mohiso22 force-pushed the qwen2vl branch 2 times, most recently from c6f7151 to e0c5d4e Compare September 12, 2025 10:30
Mohit Soni added 10 commits October 14, 2025 19:24
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Signed-off-by: Mohit Soni <[email protected]>
Mohit Soni and others added 2 commits October 14, 2025 19:39

## For AWQ model update pytorch version to 2.8.*
model_id = "Qwen/Qwen2.5-VL-32B-Instruct"
config = AutoConfig.from_pretrained(model_id)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to pass the config?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we can't in this transformer version

return_tensors="pt",
)

pos_ids, rope_deltas = qeff_model.model.get_rope_index(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do this part of the modelling file? Do we need to expose this to the user?


inputs["position_ids"] = torch.arange(input_ids_length).view(1, 1, input_ids_length).expand(-1, batch_size, -1)

pos_ids, rope_deltas = qeff_model.model.model.get_rope_index(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

patch_size = self.config.vision_config.patch_size
temporal_patch_size = self.config.vision_config.temporal_patch_size

IMAGE_FACTOR = 28
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this to constants file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok sure

@@ -0,0 +1,10 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will delete this

@quic-rishinr
Copy link
Contributor

can we add the tests for qwen 2.5

@quic-hemagnih
Copy link
Contributor

CI is passed

@quic-rishinr quic-rishinr merged commit a379e6e into quic:main Oct 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants