Skip to content

Conversation

@fxyfxy777
Copy link
Contributor

PR Docs

PR APIs

PaddlePaddle/Paddle#77467

@paddle-bot
Copy link

paddle-bot bot commented Jan 21, 2026

Thanks for your contribution!

pytorch_result = str(pytorch_result)
if pytorch_result == "cuda":
pytorch_result = "cuda:0"
pytorch_result = "cuda:" + str(paddle.device.current_device())
Copy link
Collaborator

@zhwesky2010 zhwesky2010 Jan 21, 2026

Choose a reason for hiding this comment

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

CPU对不齐符合预期,GPU我感觉能做到完全对齐。看看DeviceAPIBase里对GPU结果的操作能否清理掉,这样能保证对得更齐

Copy link
Contributor Author

Choose a reason for hiding this comment

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

update

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.

2 participants