Skip to content

CI: pin ml-dtypes below 0.7 in the cuda.core test dependencies - #3476

Closed
Andy-Jost wants to merge 1 commit into
NVIDIA:mainfrom
Andy-Jost:ajost/pin-ml-dtypes
Closed

Andy-Jost wants to merge 1 commit into
NVIDIA:mainfrom
Andy-Jost:ajost/pin-ml-dtypes

Conversation

@Andy-Jost

Copy link
Copy Markdown
Contributor

ml-dtypes 0.7.0 (released 2026-11-16) registers DLPack support for its types on NumPy 2.5 and later. test_dlpack_export_roundtrip_dtypes[bfloat16] used to skip, because NumPy could not export bfloat16. It now runs and fails, because cuda.core's exporter does not handle bfloat16 yet (#3337). Every CI run since the release fails on this test.

This pins ml-dtypes<0.7 in the test dependencies so that CI is usable again. #3359 has the fix for #3337. Remove the pin when it merges.

The same pin is needed on release/cuda-core-v1.3.x for cuda.core 1.3.1 (#3474).

🤖 Generated with Claude Code

ml-dtypes 0.7.0 registers DLPack support for its types on NumPy 2.5 and
later, so test_dlpack_export_roundtrip_dtypes[bfloat16] no longer skips
and fails on NVIDIA#3337. Pin the test dependency group until NVIDIA#3359 merges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Andy-Jost Andy-Jost added this to the cuda.core 1.3.1 milestone Nov 16, 2026
@Andy-Jost Andy-Jost added P0 High priority - Must do! CI/CD CI/CD infrastructure test Improvements or additions to tests cuda.core Everything related to the cuda.core module to-be-backported Trigger the bot to raise a backport PR upon merge labels Nov 16, 2026
@Andy-Jost Andy-Jost self-assigned this Nov 16, 2026
@Andy-Jost

Copy link
Copy Markdown
Contributor Author

Closing: #3359 has the fix for #3337 and is about to merge, so the pin is not needed. I'll reopen this if #3359 stalls.

@Andy-Jost Andy-Jost closed this Nov 16, 2026
@Andy-Jost
Andy-Jost deleted the ajost/pin-ml-dtypes branch November 16, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure cuda.core Everything related to the cuda.core module P0 High priority - Must do! test Improvements or additions to tests to-be-backported Trigger the bot to raise a backport PR upon merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant