Skip to content

Patch 12.6.2 - #217

Merged
vzhurba01 merged 2 commits into
NVIDIA:mainfrom
vzhurba01:patch-12.6.2
Nov 6, 2024
Merged

Patch 12.6.2#217
vzhurba01 merged 2 commits into
NVIDIA:mainfrom
vzhurba01:patch-12.6.2

Conversation

@vzhurba01

Copy link
Copy Markdown
Contributor

No description provided.

@vzhurba01vzhurba01 self-assigned this Nov 6, 2024
@copy-pr-bot

Copy link
Copy Markdown
Contributor

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.

@vzhurba01
vzhurba01 merged commit 930e77b into NVIDIA:mainNov 6, 2024
@vzhurba01

Copy link
Copy Markdown
ContributorAuthor

Bypassing branch protection since @leofang already +1nd the internal pull request. Merging.

Comment on lines 302 to 309
setup(
version=versioneer.get_version(),
ext_modules=do_cythonize(extensions),
packages=find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings._internal", "tests"]),
packages=find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
package_data=dict.fromkeys(
find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings._internal", "tests"]),
find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
["*.pxd", "*.pyx", "*.py", "*.h", "*.cpp"],
),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@vzhurba01 I guess I missed this during review -- were these changes needed as part of the hot fix?

In any case, I think this might have to do with the package_data issue that you hit in #215 (comment). I had a similar observation for cuda.core, and the solution was highlighted here: #171 (comment). I think we have two ways:

  1. Revert the changes in setup.py (given that it built fine in the previous patch release)
  2. Apply the same treatment in cuda.core here.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

(1) isn't quite true. While that build did work, the posted Windows packages for 11.8.4 and 12.6.1 are both missing all the wildcard files.

(2) Thanks for the pointer. I tried an iteration of something similar, but with whatever I tried I couldn't quite get it to stick. It wasn't identical to what you have there, so I'll try again as soon as I get the chance! 🙏

@leofangleofang added this to the cuda-python 12.6.2 & 11.8.5 milestone Nov 6, 2024
@leofangleofang added bug Something isn't working P0 High priority - Must do! cuda.bindings Everything related to the cuda.bindings module labels Nov 6, 2024
@leofangleofang linked an issue Nov 6, 2024 that may be closed by this pull request
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingcuda.bindingsEverything related to the cuda.bindings moduleP0High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: module 'cuda.ccudart' has no attribute '__pyx_capi__'

2 participants

@vzhurba01@leofang