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

[Paddle] Update _backends.py to support pir.Value #353

Conversation

HydrogenSulfate
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate commented Dec 16, 2024

Use paddle.is_tensor instead of isinstance to support pir.Value type when exporting model which use einops in computation
image

Related issue: PaddlePaddle/PaddleScience#1035

"use paddle.is_tensor instead of isinstance to support pir.Value type"
Copy link
Contributor

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

LGTM

@arogozhnikov arogozhnikov merged commit 1bee724 into arogozhnikov:main Dec 16, 2024
5 checks passed
@HydrogenSulfate HydrogenSulfate deleted the HydrogenSulfate/support_pir_Value branch December 17, 2024 05:04
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.

3 participants