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

Add initial support for PaddlePaddle #68

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

mvasiljevicTT
Copy link

Add initial support for compiling PaddlePaddle modules, following the PyTorch approach for module compilation.

The main logic is in compile_paddle_for_forge - preparing inputs and outputs and extracting paddle.nn.TranslatedLayer needed for TVM Relay. Paddle models is a TranslayedLayer if it is loaded from files, otherwise is a paddle.nn.Layer.

The rest follows the PyTorch workflow.

@mvasiljevicTT mvasiljevicTT changed the title Add support for PaddlePaddle Add initial support for PaddlePaddle Feb 26, 2025
Copy link
Member

@vkovinicTT vkovinicTT left a comment

Choose a reason for hiding this comment

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

Minor changes, some of the comments are just my questions 😅

@nvukobratTT
Copy link
Contributor

Isn't this change already on main? If yes, let's close this PR :))

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.

4 participants