We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
head_dim
transformers/src/transformers/models/qwen2_moe/modeling_qwen2_moe.py
Line 317 in 81aa9b2
For qwen2 moe, head_dim is now forced to be hidden_size // num_heads.
hidden_size // num_heads
manual head_dim setting support in llama, mistal, mixtral modeling
PR
The text was updated successfully, but these errors were encountered:
hi @yunju63, won't the reshape in the attention layer fail if we set self.head_dim to any value other than self.hidden_size // self.num_heads?
self.head_dim
self.hidden_size // self.num_heads
Sorry, something went wrong.
No branches or pull requests
Feature request
transformers/src/transformers/models/qwen2_moe/modeling_qwen2_moe.py
Line 317 in 81aa9b2
For qwen2 moe,
head_dim
is now forced to behidden_size // num_heads
.Motivation
manual
head_dim
setting support in llama, mistal, mixtral modelingYour contribution
PR
The text was updated successfully, but these errors were encountered: