[Bug] GLM5模型转megatron报错
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 8.5k
- Forks
- 1.3k
- Avg merge
- 5h 36m
- Merged PRs (30d)
- 22
Description
Bug Description
当前提供的镜像及megatron core版本,无法支持GLM5模型hf转torch_dist,GLM5的架构还未支持。但是怎么本项目中能提供训练脚本?
Steps to Reproduce
当前提供的镜像及megatron core版本,无法支持GLM5模型hf转torch_dist,GLM5的架构还未支持。但是怎么本项目中能提供训练脚本?
Expected Behavior
正常转换GLM5
Actual Behavior
转换报错
Environment
- slime version:
- Python version:
- PyTorch version:
- CUDA/ROCm version:
- GPU type and count:
- OS:
- SGLang version (if relevant):
- Megatron-LM version (if relevant):
Logs
Additional Context
No response
Pre-submission Checklist
- I have read the CONTRIBUTING.md and understand the collaboration scope.
- I have read the documentation and my issue is not addressed there.
- I have searched for existing issues and this is not a duplicate.
- I have provided a minimal, reproducible example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the GLM5 HF-to-torch_dist conversion with the provided image and Megatron Core version. Inspect where GLM5 architecture support is missing and compare that with the available training script. Done means GLM5 converts successfully and the corresponding training path is usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100