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

Backend paddle: allow enable prim to accelerate running #1948

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lijialin03
Copy link
Contributor

’prim‘ is a function in the paddle framework.
when running the code, high-order (K) operators can be disassembled into a combination of K-1 order operators and K-th order operators in the mode.
This mode can speed up the operation of some operators or support more operators to run on specific hardware devices.

This PR add a part of code which allow users to enable prim mode by using 'PRIM=1'. If enable i, the entire command become 'PRIM DDE_BACKEND=paddle python fractional_diffusion_1d.py'.

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.

1 participant