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

Switch over to rapids-cmake patches for thrust #11921

Conversation

robertmaynard
Copy link
Contributor

Description

Now that rapids-cmake supports custom patches we can move cudf over to rapids-cmake for Thrust. This removes the need for custom install rules in cudf for Thrust, as rapids-cmake does that for us.

This also separates out all Thrust patches so that we can better track upstream approval and remove as needed.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Allows us to have better history tracking of thrust changes,
and keep cudf working with rapids-cmake thrust changes
@robertmaynard robertmaynard added feature request New feature or request 0 - Blocked Cannot progress due to external reasons non-breaking Non-breaking change labels Oct 14, 2022
@robertmaynard robertmaynard requested a review from a team as a code owner October 14, 2022 14:11
@github-actions github-actions bot added CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. labels Oct 14, 2022
@robertmaynard
Copy link
Contributor Author

robertmaynard commented Oct 14, 2022

Currently blocked by rapidsai/rapids-cmake#291 and rapidsai/rapids-cmake#292

@robertmaynard
Copy link
Contributor Author

Manually verified that this change hasn't regressed libcudf binary size ( 262MB for single arch ) and compile times are within a couple of seconds of branch-22.12.

branch-22.12  wall clock 12m 37s
this pr       wall clock 12m 49s

@codecov
Copy link

codecov bot commented Oct 14, 2022

Codecov Report

Base: 87.40% // Head: 86.89% // Decreases project coverage by -0.51% ⚠️

Coverage data is based on head (5f534e4) compared to base (f72c4ce).
Patch coverage: 86.61% of modified lines in pull request are covered.

Additional details and impacted files
@@               Coverage Diff                @@
##           branch-22.12   #11921      +/-   ##
================================================
- Coverage         87.40%   86.89%   -0.52%     
================================================
  Files               133      133              
  Lines             21833    21982     +149     
================================================
+ Hits              19084    19101      +17     
- Misses             2749     2881     +132     
Impacted Files Coverage Δ
python/cudf/cudf/core/udf/__init__.py 50.00% <ø> (ø)
python/cudf/cudf/io/orc.py 92.94% <ø> (-0.09%) ⬇️
...thon/dask_cudf/dask_cudf/tests/test_distributed.py 18.86% <ø> (+4.94%) ⬆️
python/cudf/cudf/core/_base_index.py 82.20% <43.75%> (-3.35%) ⬇️
python/cudf/cudf/io/text.py 91.66% <66.66%> (-8.34%) ⬇️
python/strings_udf/strings_udf/__init__.py 84.31% <76.00%> (-12.57%) ⬇️
python/cudf/cudf/core/index.py 92.96% <95.16%> (+0.33%) ⬆️
python/cudf/cudf/__init__.py 90.69% <100.00%> (ø)
python/cudf/cudf/core/column/categorical.py 89.34% <100.00%> (ø)
python/cudf/cudf/core/groupby/groupby.py 91.30% <100.00%> (+0.08%) ⬆️
... and 28 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@robertmaynard robertmaynard added 3 - Ready for Review Ready for review by team and removed 0 - Blocked Cannot progress due to external reasons labels Oct 14, 2022
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

I love this change. It will be so much easier to test and update our patches in the future.

@vyasr vyasr requested review from harrism, bdice and davidwendt October 21, 2022 17:18
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks.

@robertmaynard
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 5a190b9 into rapidsai:branch-22.12 Oct 24, 2022
@robertmaynard robertmaynard deleted the fea/switch_to_rapids_cmake_patches branch October 25, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team CMake CMake build issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants