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

[Split Build] add option to create a libtorch wheel #125249

Closed
wants to merge 10 commits into from
Closed

Conversation

PaliC
Copy link
Contributor

@PaliC PaliC commented Apr 30, 2024

Fixes #ISSUE_NUMBER

Copy link

pytorch-bot bot commented Apr 30, 2024

🔗 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 Failures

As of commit 3799254 with merge base ad7b5d3 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@PaliC PaliC requested a review from eqy as a code owner May 4, 2024 01:04
Copy link
Contributor

@malfet malfet left a 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

Comment on lines +12 to +16
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()
Copy link
Contributor

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}

Suggested change
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)

Comment on lines +25 to +37
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
)
Copy link
Contributor

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)

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

Successfully merging this pull request may close these issues.

None yet

2 participants