Skip to content

Fix stripping of apis from the final .so #20

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

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

narendasan
Copy link
Collaborator

When the library is full built the actual apis were getting stripped. Use alwayslink for both the core top level and api level to make sure they make it into the final .so

Thanks @bddppq for the pointer

fix (Thanks @bddppq for the pointer)

Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
@narendasan narendasan added component: api Issues re: API (both TRTorch and future pytorch integration) component: core Issues re: The core compiler labels Mar 20, 2020
@narendasan narendasan merged commit 31e3964 into pytorch:master Mar 20, 2020
@narendasan narendasan deleted the fix-stripped-apis branch March 20, 2020 19:05
frank-wei pushed a commit that referenced this pull request Jun 4, 2022
Summary:
Pull Request resolved: pytorch/fx2trt#20

Adding the initial version of dispatch tracer for fx2trt.

Mostly copied from functorch.

Added leaf module support
Removed decomposition support for this version for simplicity. Will add it.
This version doesn't support trace size() as a node.

Reviewed By: wushirong

Differential Revision: D34868356

fbshipit-source-id: 52b34d8e3a34fd9209cd713363016259a735b866
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: api Issues re: API (both TRTorch and future pytorch integration) component: core Issues re: The core compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant