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

bloom_560m导出mindir模型报错ValueError #15

Open
hql-hql opened this issue Apr 23, 2024 · 0 comments
Open

bloom_560m导出mindir模型报错ValueError #15

hql-hql opened this issue Apr 23, 2024 · 0 comments

Comments

@hql-hql
Copy link

hql-hql commented Apr 23, 2024

mindformers版本:1.0.2
模型:bloom_560m
参考:https://github.com/mindspore-lab/mindformers/blob/r1.0/docs/feature_cards/Inference.md
方式3:针对Configs下已支持模型的导出方式(以bloom_560m为例)
run_bloom_560m.yaml已经文档要求修改。
报错:ValueError: For 'Mul', x.shape and y.shape need to broadcast. The value of x.shape[-1] or y.shape[-1] must be 1 or -1 when they are not the same, but got x.shape = [1, 1024] and y.shape = [1, 512].

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

No branches or pull requests

1 participant