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

Add option for running polars-gpu engine #137

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Sep 26, 2024

This adds settings for running the benchmarks with the polars GPU engine.

If the environment is appropriately set up make run-polars-gpu-no-env will run both the polars CPU engine and then the GPU engine on the same dataset.

Requirements for the GPU engine are encoded in requirements-polars-gpu.txt. Note that I need to restrict the polars version to <1.8.2 to avoid the optimiser inserting IEJoin nodes which the GPU engine does not (yet) support.

Comment on lines +84 to +87
if version.parse(cudf_polars.__version__) < version.Version("24.10"):
import cudf._lib.pylibcudf as plc
else:
import pylibcudf as plc
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Once rapids 24.10 is released we can remove this conditional.

@ritchie46 ritchie46 merged commit 6e3fefc into pola-rs:main Oct 2, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants