Skip to content

cuda.core: fix some type signatures that are too generic - #2670

Open
juenglin wants to merge 2 commits into
NVIDIA:mainfrom
juenglin:options-typing
Open

cuda.core: fix some type signatures that are too generic#2670
juenglin wants to merge 2 commits into
NVIDIA:mainfrom
juenglin:options-typing

Conversation

@juenglin

@juenglin juenglin commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Fix options parameter type annotations that were typed as object instead of their proper options types (StreamOptions, TensorMapDescriptorOptions).

Closes #2248.

@copy-pr-bot

copy-pr-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

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

Contributors can view more details about this message here.

@juenglin juenglin self-assigned this Aug 18, 2026
@juenglin juenglin added cuda.core Everything related to the cuda.core module bug Something isn't working documentation Improvements or additions to documentation labels Aug 18, 2026
@juenglin juenglin added this to the cuda.core 1.2.0 milestone Aug 18, 2026

@juenglin juenglin Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Using StreamOptions has become necessary with this change because StreamOptions is a "cdef dataclass".

See related discussion in PR #2634.

@juenglin
juenglin requested a review from leofang August 18, 2026 22:20
@juenglin

Copy link
Copy Markdown
Contributor Author

/ok to test 4a7cd59

@github-actions

Copy link
Copy Markdown

@juenglin
juenglin marked this pull request as ready for review August 18, 2026 23:28
@juenglin
juenglin enabled auto-merge (squash) August 19, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cuda.core Everything related to the cuda.core module documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC]: cuda.core docs/type hints understate option params since dict is accepted at runtime but not documented

1 participant