Skip to content

Fix layer_types type hint for AFMoE and Llama4#44874

Merged
hmellor merged 1 commit intohuggingface:mainfrom
hmellor:fix-layer-type-hint
Mar 20, 2026
Merged

Fix layer_types type hint for AFMoE and Llama4#44874
hmellor merged 1 commit intohuggingface:mainfrom
hmellor:fix-layer-type-hint

Conversation

@hmellor
Copy link
Copy Markdown
Member

@hmellor hmellor commented Mar 20, 2026

Llama4's was incorrect and causing StrictDataclassFieldValidationErrors.

AFMoE's was was fine but now it's more specific.

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor hmellor changed the title Fix layer_types type hint for AFMoE and Llama4 Fix new config validation errors Mar 20, 2026
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: afmoe, llama4

@hmellor hmellor changed the title Fix new config validation errors Fix layer_types type hint for AFMoE and Llama4 Mar 20, 2026
@hmellor hmellor added this pull request to the merge queue Mar 20, 2026
@zucchini-nlp zucchini-nlp mentioned this pull request Mar 20, 2026
Merged via the queue into huggingface:main with commit 1229e90 Mar 20, 2026
37 checks passed
@hmellor hmellor deleted the fix-layer-type-hint branch March 20, 2026 12:03
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