Skip to content

fix attention in qwen model #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2025
Merged

fix attention in qwen model #222

merged 1 commit into from
Jul 25, 2025

Conversation

atticusg
Copy link
Collaborator

Description

A quick bugfix where the qwen file referenced "head_dim" which does not exist and is now replaced with "num_attention_heads/hidden_size"

Testing Done

This allowed my pyvene code with qwen to work

Checklist:

  • My PR title strictly follows the format: [Your Priority] Your Title
  • I have attached the testing log above
  • I provide enough comments to my code
  • I have changed documentations
  • I have added tests for my changes

@aryamanarora aryamanarora merged commit 3c6cb78 into stanfordnlp:main Jul 25, 2025
2 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.

3 participants