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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wence-
Copy link

@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
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.

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.

1 participant