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

from paddle.utils import flatten, pack_sequence_as, map_structure #99

Open
WenmuZhou opened this issue Aug 25, 2023 · 1 comment
Open

Comments

@WenmuZhou
Copy link
Contributor

WenmuZhou commented Aug 25, 2023

在paddle2.4.2中这句话执行失败,请问有适配2.4.2的padiff吗

@WenmuZhou WenmuZhou changed the title from padiff import assign_weight, create_model cannot import name 'create_model' from 'padiff' Aug 25, 2023
@WenmuZhou WenmuZhou changed the title cannot import name 'create_model' from 'padiff' from paddle.utils import flatten, pack_sequence_as, map_structure Aug 25, 2023
@feifei-111
Copy link
Collaborator

feifei-111 commented Jan 5, 2024

你好,这个本来在 paddle.fluid 目录下面,现在 fluid 已经被清理掉了,建议使用新版本paddle呢。不行的话可以按照下面这样改回去
image

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

2 participants