Skip to content

Conversation

@mdboom
Copy link
Contributor

@mdboom mdboom commented Nov 17, 2025

The NVML bindings are so large that they are hitting this bug, which was fixed in Cython 3.2. I'm upgrading to Cython 3.2 here to see if that breaks anything in our CI.

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Nov 17, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@mdboom
Copy link
Contributor Author

mdboom commented Nov 17, 2025

/ok to test

@github-actions

This comment has been minimized.

@mdboom
Copy link
Contributor Author

mdboom commented Nov 17, 2025

From another conversation with @vyasr, Cython 3.2 may have a bug affecting free-threaded builds, fixed by this PR, not yet released. The cuda-bindings CI is unlikely to pick up this bug, which still may have real consequences for our users if they are unlucky.

@mdboom
Copy link
Contributor Author

mdboom commented Nov 17, 2025

Another note -- the workaround suggested by the Cython team (to increase sys.maxrecursionlimit) doesn't work for the NVML bindings -- they are too large. So I do think we need this fixed "the right way".

@cpcloud
Copy link
Contributor

cpcloud commented Nov 17, 2025

Re free threaded builds, is there anything we can do other than simply wait for the fix to land? I suspect we have zero user using our free-threaded builds at the moment.

@mdboom
Copy link
Contributor Author

mdboom commented Nov 17, 2025

Re free threaded builds, is there anything we can do other than simply wait for the fix to land? I suspect we have zero user using our free-threaded builds at the moment.

Yeah, given we don't expect it to affect many, we could put a note in the "known issues". I'm not sure how best to word it -- it's sort of "if you are using a lot of threads on a free threaded build, it could segfault", but that's kind of par for the course anyway right now...?

@cpcloud cpcloud merged commit 27b869e into NVIDIA:main Nov 17, 2025
57 checks passed
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

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