Skip to content

[Bugfix] Fix GLM5 config#48711

Open
jeejeelee wants to merge 2 commits into
mainfrom
fix-glm5-config
Open

[Bugfix] Fix GLM5 config#48711
jeejeelee wants to merge 2 commits into
mainfrom
fix-glm5-config

Conversation

@jeejeelee

@jeejeelee jeejeelee commented Jul 15, 2026

Copy link
Copy Markdown
Member

Purpose

Fix the following error when running nvidia/GLM-5.2-NVFP4on the latest main branch.

(APIServer pid=2336576)     raise StrictDataclassClassValidationError(validator=validator.__name__, cause=e) from e
(APIServer pid=2336576) huggingface_hub.errors.StrictDataclassClassValidationError: Class validation error for validator 'validate_layer_type':
(APIServer pid=2336576)     ValueError: The `layer_types` entries must be in ('full_attention', 'sliding_attention', 'chunked_attention', 'linear_attention', 'conv', 'mamba', 'attention', 'sparse', 'dense', 'hybrid', 'moe') but got ['deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention', 'deepseek_sparse_attention']

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

Signed-off-by: Jee Jee Li <jeejeelee@inferact.ai>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@mergify mergify Bot added the bug Something isn't working label Jul 15, 2026
@jeejeelee jeejeelee added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 15, 2026
@jeejeelee jeejeelee enabled auto-merge (squash) July 15, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants