Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 1.0.5, fix resume checkpoint, model save and generation #148

Merged
merged 217 commits into from
Jan 3, 2024
Merged

Conversation

KaiLv69
Copy link
Collaborator

@KaiLv69 KaiLv69 commented Jan 3, 2024

No description provided.

KaiLv69 and others added 27 commits November 10, 2023 20:44
srun 命令中加上 --unbuffered 即可显示进度条
pp时会按照第一个维度切分batch到micro batch,而chatglm2的kvcache第一个维度是seq_len,需要permute一下
之前写法复杂了,实际上generate_batch的输入全是dict就好。返回时候再转换到tuple就行
解决了tp pp同时使用,保存模型会卡死的问题. gather weight_map in pp group
先tp gather再更换名字和cat query_key_value
update kv cache for generation and fix chatglm2
@KaiLv69 KaiLv69 changed the title version 1.0.4, fix resume checkpoint, model save and generation version 1.0.5, fix resume checkpoint, model save and generation Jan 3, 2024
@KaiLv69 KaiLv69 merged commit 5a30412 into main Jan 3, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants