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

ModuleNotFoundError: No module named 'paddle.base' #62855

Open
kuhaku9527 opened this issue Mar 19, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'paddle.base' #62855

kuhaku9527 opened this issue Mar 19, 2024 · 2 comments
Assignees
Labels

Comments

@kuhaku9527
Copy link

请提出你的问题 Please ask your question

/home/aistudio/PaddleNLP/llm
Traceback (most recent call last):
File "/home/aistudio/PaddleNLP/llm/predictor.py", line 29, in
from paddle.base.framework import in_cinn_mode, in_pir_executor_mode
ModuleNotFoundError: No module named 'paddle.base'

@Birdylx
Copy link

Birdylx commented Mar 19, 2024

@kuhaku9527 请检查下你的paddle版本是否符合PaddleNLP的requirements,同时你也可以在PaddleNLP仓库中询问该问题

@paddle-bot paddle-bot bot added status/following-up 跟进中 and removed status/new-issue 新建 labels Mar 22, 2024
@DrownFish19
Copy link
Contributor

DrownFish19 commented Mar 29, 2024

cinn_mode是paddle新功能,当前paddel 2.6.1中为引入,在paddle-develop版本中引入。

paddlenlp-2.7.2对应paddle-2.6.1
paddlenlp-develop对应paddle-develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants