Comments (5)
烦请pull下最新的代码再试试:https://github.com/alibaba/Pai-Megatron-Patch
from pai-megatron-patch.
烦请pull下最新的代码再试试:https://github.com/alibaba/Pai-Megatron-Patch
hf2mcore似乎还是不支持pp>1。
from pai-megatron-patch.
hf2mcore_1.5_v1.py版本其实是支持。v2和v1的区别是转换代码更容易维护且带精度校验功能
from pai-megatron-patch.
hf2mcore_1.5_v1.py版本其实是支持。v2和v1的区别是转换代码更容易维护且带精度校验功能
好的谢谢,那我去试一下v1的。
from pai-megatron-patch.
hf2mcore_1.5_v1.py版本其实是支持。v2和v1的区别是转换代码更容易维护且带精度校验功能
@jerryli1981 hf2mcore_1.5_v1.py
似乎不支持PP>1同时如QWen1.5-32B一样有GQA的情况,在这里会出错:
Traceback (most recent call last):
File "/Pai-Megatron-Patch/toolkits/model_checkpoints_convertor/qwen/hf2mcore_1.5_v1.py", line 546, in <module>
main()
File "/Pai-Megatron-Patch/toolkits/model_checkpoints_convertor/qwen/hf2mcore_1.5_v1.py", line 542, in main
convert_checkpoint_from_transformers_to_megatron(args)
File "/Pai-Megatron-Patch/toolkits/model_checkpoints_convertor/qwen/hf2mcore_1.5_v1.py", line 448, in convert_checkpoint_from_transformers_to_megatron
params = transformers_to_megatron_fix_query_key_value_ordering(
File "/Pai-Megatron-Patch/toolkits/model_checkpoints_convertor/qwen/hf2mcore_1.5_v1.py", line 242, in transformers_to_megatron_fix_query_key_value_ordering
param = param.view(*current_shape)
RuntimeError: shape '[3, 40, 128, 5120]' is invalid for input of size 36700160
from pai-megatron-patch.
Related Issues (20)
- bigcode-evaluation-harness 这个仓库应该是没有了 HOT 2
- OSError: [Errno 28] No space left on device 请教 HOT 2
- Missing key(s) in state_dict llama3 mcore转换后权重不匹配 HOT 5
- 钉钉群满了 HOT 5
- [rank31]: OSError: error stat()ing file 数据集map问题
- 是否支持sharegpt格式数据?或者带"history"字段的多轮对话数据? HOT 1
- 打扰了,提个关于多机训练的issues HOT 2
- Flash-Attn 3的支持 HOT 1
- 群满了 HOT 3
- optimizer offloading 太强了 HOT 1
- Mcore是不支持pp吗? HOT 3
- starcoder依赖哪个版本的megatron-lm? HOT 3
- 保存的checkpoints中缺少distrib_optim.pt
- Channel Loss支持 HOT 1
- 断点续训问题 HOT 1
- 关于使用idxmap格式finetune qwen2 HOT 2
- mmap数据格式问题 HOT 1
- 安装pyarrow失败 HOT 1
- mcore 权重转换不支持pp>1 HOT 2
- 使用flash-attn训练Qwen1.5 1.8B 加速效果不明显 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pai-megatron-patch.