Skip to content

Conversation

@CISC
Copy link
Collaborator

@CISC CISC commented Nov 18, 2025

Use self.block_count everywhere instead of reading hparams which may or may not be correct any more.

Fixes #17358

@CISC
Copy link
Collaborator Author

CISC commented Nov 19, 2025

@ngxson gentle ping

@CISC CISC merged commit 07b0e7a into master Nov 19, 2025
10 checks passed
@CISC CISC deleted the cisc/convert-use-self-block-count-everywhere branch November 19, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

convert_hf_to_gguf.py incorrectly falls back to num_hidden_layers, causing KeyError on ChatGLM3 (num_layers present)

3 participants