Skip to content

adding head dim since 3.2 has it - #1244

Merged
cbalioglu merged 1 commit into
mainfrom
kulikov/hg_llama_config_fix
Aug 8, 2025
Merged

adding head dim since 3.2 has it#1244
cbalioglu merged 1 commit into
mainfrom
kulikov/hg_llama_config_fix

Conversation

@uralik

@uralik uralik commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

What does this PR do? Please describe:

Our llama config does not have the head dim since we compute it dynamically and default 8B / 70B models didnt have it in HG configs too. However, smaller 3.2 models introduced it so we must save head dim in HG config in order to override the default head dim that is 128.

Prior to this fix the vllm loading of 1B model didnt work due to config bug.

@uralik
uralik requested a review from cbalioglu as a code owner August 8, 2025 02:24
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 8, 2025
@cbalioglu
cbalioglu merged commit b9a8a1e into main Aug 8, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants