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

fix: include _kernel_signatures.py in package #2819

Merged
merged 10 commits into from
Nov 15, 2023

Conversation

agoose77
Copy link
Collaborator

@agoose77 agoose77 commented Nov 15, 2023

I'm creating a Docker container to run our GPU tests using systemd, with the intention that errors can be reported as GitHub issues.

In doing so, I noticed that we weren't including the CUDA kernel signatures in our built packages, so non-development installs weren't getting these. Another problem associated with not testing our installs :(

This PR also fixes an API breakage in the traceback module that is not super-clear from the docs — the base image I'm using from NVidia uses Python 3.8 which surfaced our misusage in the CUDA tests.

@agoose77 agoose77 requested a review from jpivarski November 15, 2023 10:29
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #2819 (c37454a) into main (e3e4874) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@agoose77 agoose77 changed the title fix: include _kernel_signatures.py in package fix: include _kernel_signatures.py in package Nov 15, 2023
@agoose77
Copy link
Collaborator Author

I fully tested this on a private repo, but a subtle configuration difference meant that when switching to scikit-hep/awkward for committing the service files to this branch, the service restarted on exit. This has lead to many (now closed) issues being filed here. Sorry! I don't have the necessary privileges to delete them, apparently.

Copy link
Member

@jpivarski jpivarski left a comment

Choose a reason for hiding this comment

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

I haven't personally tested this (I don't currently have Docker), but it doesn't affect mainline Awkward and can be fixed later if it needs to be generalized beyond the one computer where it was tested (@agoose77's).

The pyproject.toml is changed, but these are corrections (including /src/awkward/_connect/cuda/_kernel_signatures.py).

Go ahead and merge!

@agoose77 agoose77 merged commit 062deb3 into main Nov 15, 2023
37 checks passed
@agoose77 agoose77 deleted the agoose77/fix-cuda-kernel-inclusion branch November 15, 2023 15:46
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