THUDM / THUDM/slime

[Question] GLM5----MTP training support

Open
#1,870 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
8.5k
Forks
1.3k
Avg merge
5h 36m
Merged PRs (30d)
22

Description

Your Question

Any plan to support training the MTP layers jointly with the main model for GLM-5?

MTP training is incompatible with allgather_cp
https://github.com/THUDM/slime/blob/f65c6e8191044cc71291a1a87431f752420ffe91/scripts/models/glm5-744B-A40B.sh#L54

What I've Tried
Environment (if relevant)
  • slime version:
  • Python version:
  • PyTorch version:
  • CUDA/ROCm version:
  • GPU type and count:
  • OS:
Additional Context

No response

Pre-submission Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts/models/glm5-744B-A40B.sh at the referenced line, then trace how MTP training and allgather_cp are configured for GLM-5. No test or implementation entry point is identified; done would require a clarified scope and a maintainer-approved support plan or implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.