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

Support chatglm-6b #2223

Merged
merged 6 commits into from
Oct 10, 2023
Merged

Support chatglm-6b #2223

merged 6 commits into from
Oct 10, 2023

Conversation

jiangjiajun
Copy link
Collaborator

PR types(PR类型)

Description

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ jiangjiajun
❌ root


root seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

#TODO JiangJiajun
attention_mask = paddle.zeros(
shape=(args.batch_size, 1, args.max_seq_len + args.max_dec_len,
args.max_seq_len + args.max_dec_len),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需确认下是否只需要shape=(args.batch_size, 1, args.max_seq_len, args.max_seq_len)即可

@jiangjiajun jiangjiajun merged commit 30a3beb into llm Oct 10, 2023
1 of 2 checks passed
@jiangjiajun jiangjiajun deleted the chatglm-6b branch October 11, 2023 08:44
DefTruth added a commit to DefTruth/FastDeploy that referenced this pull request Oct 11, 2023
* Support chatglm-6b (PaddlePaddle#2223)

* Support chatglm-6b

* Update README.md

* support dynamic batching

* support dynamic batching

* fix dybatch

* Disable dynamic batching for chatglm

---------

Co-authored-by: root <root@bddwd-inf-hic-k8s-a100-a12ni6-0099.bddwd.baidu.com>

* Support bloom (PaddlePaddle#2232)

---------

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bddwd-inf-hic-k8s-a100-a12ni6-0099.bddwd.baidu.com>
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.

None yet

2 participants