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

got the wrong result when using paconvet #337

Open
GreatV opened this issue Nov 30, 2023 · 3 comments
Open

got the wrong result when using paconvet #337

GreatV opened this issue Nov 30, 2023 · 3 comments
Assignees
Labels
PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc

Comments

@GreatV
Copy link
Contributor

GreatV commented Nov 30, 2023

  • Pytorch
import torch.backends.cudnn as cudnn

cudnn.benchmark = True
  • Paddle
import paddle

False = True
@paddle-bot paddle-bot bot added the PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc label Nov 30, 2023
@RedContritio
Copy link
Contributor

定位分析:这里目前只考虑了 cudnn.benchmark 作为值 (getter) 的用法,尚未处理 setter (operator=) 的操作。

@zhwesky2010
Copy link
Collaborator

zhwesky2010 commented Dec 4, 2023

@RedContritio 因为目前Paddle没有cudnn.benchmark 的操作,属于功能缺失,所以目前只能用一个bool值作占位符,使得转换后的代码形式大体正常。

cudnn.benchmark = True

再请问一下,这个case是具体实际模型中的用法case吗

@GreatV GreatV closed this as completed Feb 5, 2024
@zhwesky2010 zhwesky2010 reopened this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc
Projects
None yet
Development

No branches or pull requests

3 participants