-
Notifications
You must be signed in to change notification settings - Fork 206
Enable Windows shared libary builds by exporting all symbols #1130
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
Conversation
Signed-off-by: cyy <[email protected]>
@sraikund16 FYI |
@cyyever I am not sure this will fix the issue. Have you tried testing it locally? The problem is a linking issue, not an exporting one. It looks like when we are building torch_cpu for windows, the dependency for nvperf_host.lib does not propagate from kineto if using |
I think this might be the appropriate fix: #1133 |
@sraikund16 This PR is not for fixing the PyTorch issue, it is for the Windows shared builds in general. I have tested it locally on Windows, the tests can link to kineto dll and pass. |
@sraikund16 has imported this pull request. If you are a Meta employee, you can view this in D81145587. |
@sraikund16 merged this pull request in 24227d4. |
No description provided.