Skip to content

Conversation

@piDack
Copy link
Contributor

@piDack piDack commented Dec 10, 2025

Make sure to read the contributing guidelines before submitting a PR

This PR adds support for the GLM-ASR architecture, specifically validating with the zai-org/GLM-ASR-Nano-2512 model.

Key Changes:

  • Model Support: Implemented necessary logic to support GLM-ASR models.
  • Conversion Script: Updated convert_hf_to_gguf.py to handle dynamic configuration keys (glm-asr use "lm_config" instead of text_config). It now correctly identifies the config section by checking:
    llm_config_key = "lm_config" if "lm_config" in self.hparams else "text_config"

Result

img_v3_02sr_36e8953d-e10a-4165-b587-5759da7d2deg

@piDack piDack changed the title [model] add glm-asr support model: add glm-asr support Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant