-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[Split Build] add option to create a libtorch wheel #125249
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/125249
Note: Links to docs will display an error until the docs builds have been completed. ❌ 21 New FailuresAs of commit 3799254 with merge base ad7b5d3 (): NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised there are no changes to cmake/Dependencies.cmake
if(BUILD_LIBTORCHLESS) | ||
target_link_libraries(${test_name} ${C10_LIB} gmock gtest gtest_main) | ||
else() | ||
target_link_libraries(${test_name} c10 gmock gtest gtest_main) | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine to just depend on ${C10_LIB}
if(BUILD_LIBTORCHLESS) | |
target_link_libraries(${test_name} ${C10_LIB} gmock gtest gtest_main) | |
else() | |
target_link_libraries(${test_name} c10 gmock gtest gtest_main) | |
endif() | |
target_link_libraries(${test_name} ${C10_LIB} gmock gtest gtest_main) |
set(C10_CUDA_SRCS | ||
CUDAAllocatorConfig.cpp | ||
CUDACachingAllocator.cpp | ||
CUDADeviceAssertionHost.cpp | ||
CUDAException.cpp | ||
CUDAFunctions.cpp | ||
CUDAMallocAsyncAllocator.cpp | ||
CUDAMiscFunctions.cpp | ||
CUDAStream.cpp | ||
impl/CUDAGuardImpl.cpp | ||
impl/CUDATest.cpp | ||
driver_api.cpp | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a separate BE goals, but we should already have filelists for those (as we need them for bazel builds)
Fixes #ISSUE_NUMBER