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

Stop instantiate GPU objects in the parametrize test args #15652

Draft
wants to merge 2 commits into
base: branch-24.06
Choose a base branch
from

Conversation

er-eis
Copy link
Contributor

@er-eis er-eis commented May 4, 2024

Description

Closes #15651

GPU object instantiation within the parametrize arguments results in the test suite being slower to launch. We should refactor tests to prevent this.

This PR is based off b5b9116

Checklist

@er-eis er-eis requested a review from a team as a code owner May 4, 2024 05:01
@er-eis er-eis requested review from wence- and bdice May 4, 2024 05:01
Copy link

copy-pr-bot bot commented May 4, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added the cuDF (Python) Affects Python cuDF API. label May 4, 2024
@er-eis er-eis marked this pull request as draft May 4, 2024 05:01
Comment on lines +2002 to +2003
_dict = {k: c(**v) for k, (c, v) in d.items()}
cudf.concat(_dict, axis=1)
Copy link
Contributor

Choose a reason for hiding this comment

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

It's probably okay to overwrite the input variable name here.

Suggested change
_dict = {k: c(**v) for k, (c, v) in d.items()}
cudf.concat(_dict, axis=1)
d = {k: c(**v) for k, (c, v) in d.items()}
cudf.concat(d, axis=1)

@github-actions github-actions bot added the ci label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci cuDF (Python) Affects Python cuDF API.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[BUG] test_concat file instantiates GPU objects in the parametrize arguments
2 participants