Skip to content

Support ChatGLM model #350

@JoeZhang-0x000

Description

@JoeZhang-0x000

Summary

Split from #332 — add ChatGLM causal LM model support only.

Tasks

  • Add ChatGLM model config adapter (csrc/models/chatglm/)
  • Extend rank_worker.cpp condition to include "chatglm"
  • Register "chatglm" in config_factory.cpp classic_models list
  • Register "chatglm" in python/infinilm/auto_config.py
  • Add ChatGLM weight remapping (key rename + QKV/FFN split) in modeling_utils.py
  • Update examples/jiuge.py for ChatGLM tokenizer special token handling

Depends on: #349 (GLM4)
Parent issue: #332

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions