-
Notifications
You must be signed in to change notification settings - Fork 532
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
CPU/GPU interoperability POC #4874
CPU/GPU interoperability POC #4874
Conversation
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.
This looks really great! I think it covers just about everything that's needed. Only thing I don't love is the name of interoperability.py
, since I'm not sure it would be immediately clear to new developers what that refers to. Maybe device_selection.py
or something else instead?
…tor (rapidsai#4871) Authors: - Dante Gama Dessavre (https://github.com/dantegd) Approvers: - William Hicks (https://github.com/wphicks) - Corey J. Nolet (https://github.com/cjnolet) - Victor Lafargue (https://github.com/viclafargue) URL: rapidsai#4871
…sai#4862) Removes possibility of another projects RAPIDS.cmake being used, and removes need to always download a version. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#4862
For housekeeping, this PR removes unused cuDF imports across a variety of files. It does not refactor any code that currently relies on cuDF. Authors: - Nick Becker (https://github.com/beckernick) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#4873
Import treelite models into FIL in a different precision. - e.g. load float64 treelite models as a float32 FIL model, or vice versa Authors: - Andy Adinets (https://github.com/canonizer) - William Hicks (https://github.com/wphicks) Approvers: - Philip Hyunsu Cho (https://github.com/hcho3) - William Hicks (https://github.com/wphicks) URL: rapidsai#4839
- [x] All points distance membership vector - [x] All points outlier membership vector - [x] All points probability in some cluster - [x] All points membership vector - [x] Tests Authors: - Tarang Jain (https://github.com/tarang-jain) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#4800
Gave this a test locally. It's really smooth! Quick comment:
import cuml
from cuml.common.device_selection import using_device_type, set_global_device_type
from sklearn.datasets import make_regression
X, y = make_regression(
n_samples=100000,
noise=50,
n_features=100,
)
set_global_device_type("cpu")
clf = cuml.linear_model.LinearRegression()
clf.fit(X,y)
print(clf.score(X, y))
print(clf.coef_, clf.intercept_)
0.9451533686273299
None None |
1836994
to
bfe238f
Compare
4f7917c
to
5c03489
Compare
rerun tests |
I'm waiting on the raft packages to deploy to the rapidsai-nightly channel and then we should be able to rerun this PR. |
Should we remove the latest commit? |
Yes. Though it might be easier to revert the commit so you don't have to rebase / force push. |
This reverts commit 09db802.
JFYI: We're still waiting for pylibraft / raft-dask to be deployed to conda, which could take another 25-40mins. I reverted the last commit in the meantime. |
rerun tests |
rerun tests |
Codecov ReportBase: 79.26% // Head: 79.30% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.10 #4874 +/- ##
================================================
+ Coverage 79.26% 79.30% +0.04%
================================================
Files 181 183 +2
Lines 11540 11618 +78
================================================
+ Hits 9147 9214 +67
- Misses 2393 2404 +11
Flags with carried forward coverage won't be shown. Click here to find out 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. |
@viclafargue webare past code freeze for 22.10 and decided to push this to 22.12. Can you base this ok the 22.12 branch? |
d632c60
to
495c676
Compare
rerun tests |
@gpucibot merge |
Authors: - Victor Lafargue (https://github.com/viclafargue) - Dante Gama Dessavre (https://github.com/dantegd) - Robert Maynard (https://github.com/robertmaynard) - Nick Becker (https://github.com/beckernick) - Andy Adinets (https://github.com/canonizer) - Tarang Jain (https://github.com/tarang-jain) - Divye Gala (https://github.com/divyegala) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#4874
No description provided.