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

Building System: Only build one shared library for the user #1243

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

Conversation

chunhuanMeng
Copy link
Contributor

@chunhuanMeng chunhuanMeng commented Jan 3, 2025

This is the second phase of aligning binary distribution with CUDA. Currently, there is only libtorch_xpu.so on both windows and linux, but there are still some differences between win and lin, which we will fix after the sycl compiler is fixed.

Base automatically changed from fy/combine-kernel-lib to main January 9, 2025 02:25
@chunhuanMeng chunhuanMeng changed the title NOT READY AOT BUILD Building System: Only build one shared library for the user Jan 15, 2025
list(APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops)
list(APPEND TORCH_XPU_OPS_LIBRARIES torch_xpu_ops_aten)
else()
add_library(
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add comments why we need split objects into two separate archive libraries on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants