Skip to content

[cuda.compute]: Add ci matrix entry for minimal ft testing on windows - #9887

Merged
NaderAlAwar merged 15 commits into
NVIDIA:mainfrom
NaderAlAwar:add-windows-minimal-ft
Jul 25, 2026
Merged

[cuda.compute]: Add ci matrix entry for minimal ft testing on windows#9887
NaderAlAwar merged 15 commits into
NVIDIA:mainfrom
NaderAlAwar:add-windows-minimal-ft

Conversation

@NaderAlAwar

@NaderAlAwar NaderAlAwar commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

@copy-pr-bot

copy-pr-bot Bot commented Jul 16, 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.

@github-project-automation github-project-automation Bot moved this to Todo in CCCL Jul 16, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Progress in CCCL Jul 16, 2026
@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

/ok to test d866731

@github-actions

This comment has been minimized.

@NaderAlAwar
NaderAlAwar marked this pull request as ready for review July 21, 2026 13:11
@NaderAlAwar
NaderAlAwar requested a review from a team as a code owner July 21, 2026 13:11
@NaderAlAwar
NaderAlAwar requested a review from jrhemstad July 21, 2026 13:11
@cccl-authenticator-app cccl-authenticator-app Bot moved this from In Progress to In Review in CCCL Jul 21, 2026
@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

/ok to test c1ec0d8

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 22705e81-615b-4d5b-8f3e-61d87f5d026d

📥 Commits

Reviewing files that changed from the base of the PR and between f86d95b and bf971dc.

📒 Files selected for processing (1)
  • ci/windows/build_cuda_cccl_python.ps1

📝 Walkthrough

Summary by CodeRabbit

  • Tests
    • Expanded CUDA minimal Python CI for free-threaded runs to also cover MSVC 2022 (mirrored in nightly), while keeping the non-free-threaded minimal lane on GCC 13.
    • Added/updated Windows CUDA compute minimal Python CI to run distributed pytest and, for free-threaded Python, additional stress/serialization and GIL-free validation checks.
    • Standardized fail-fast error handling for CUDA build/test scripts to reliably stop on native command failures.
  • Documentation
    • Updated free-threaded Python support docs to remove Linux-only wording and clarify validation is performed using minimal-cu12/minimal-cu13 (not cu12/cu13).

Walkthrough

Changes

Adds Windows CUDA Python minimal-test execution with free-threading validation, expands Python 3.14t CI coverage to MSVC 2022, standardizes native-command failure handling, and updates documentation for validated minimal CUDA extras.

CUDA Python minimal testing

Layer / File(s) Summary
Shared checked-command execution
ci/windows/build_common.psm1, ci/windows/build_cuda_cccl_python.ps1, ci/windows/test_cuda_cccl_examples_python.ps1, ci/windows/test_cuda_cccl_headers_python.ps1, ci/windows/test_cuda_compute_python.ps1
Adds exported Invoke-Checked and uses it for native build, upload, installation, and test commands.
Windows minimal-test execution
ci/windows/test_cuda_compute_minimal_python.ps1
Adds validated Python-version input, CUDA wheel setup, distributed test_no_numba.py execution, and free-threading stress, serialization, GIL-free, and parallel-thread validation for Python 3.14t.
Free-threaded CI compiler coverage
ci/matrix.yaml
Adds msvc2022 alongside gcc13 in the pull-request and nightly Python 3.14t CUDA compute minimal lanes.
Free-threading support documentation
docs/python/compute/developer_overview.rst, docs/python/compute/index.rst, docs/python/setup.rst
Removes the Linux qualifier and identifies minimal-cu12 and minimal-cu13 as the validated free-threaded configurations.

Assessment against linked issues

Objective Addressed Explanation
Test Python 3.14 free threading on Windows [#9648]

Out-of-scope changes

Code Change Explanation
Shared Invoke-Checked adoption in CUDA build and upload flows (ci/windows/build_cuda_cccl_python.ps1:227,285,360-368,417) These changes alter build, wheel merge, Docker, and artifact-upload error handling rather than adding Windows Python 3.14 free-threading tests.

Suggested reviewers: jrhemstad, gonidelis


Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 5bb3a2fa-8b01-449e-8bda-ab5261682b72

📥 Commits

Reviewing files that changed from the base of the PR and between 1823f19 and c1ec0d8.

📒 Files selected for processing (2)
  • ci/matrix.yaml
  • ci/windows/test_cuda_compute_minimal_python.ps1

Comment thread ci/matrix.yaml
Comment thread ci/windows/test_cuda_compute_minimal_python.ps1 Outdated
@NaderAlAwar
NaderAlAwar requested a review from a team as a code owner July 21, 2026 13:39
@NaderAlAwar
NaderAlAwar requested a review from gonidelis July 21, 2026 13:39
@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

/ok to test 8a8344c

@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

The fix for CI is in #10049

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

/ok to test bc2166c

@Jacobfaib
Jacobfaib requested a review from wmaxey July 22, 2026 13:27
@github-actions

This comment has been minimized.

Comment thread ci/windows/test_cuda_compute_minimal_python.ps1 Outdated
@github-actions

This comment has been minimized.

@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

/ok to test f86d95b

@NaderAlAwar
NaderAlAwar enabled auto-merge (squash) July 24, 2026 20:42

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci/windows/build_cuda_cccl_python.ps1 (1)

1-1: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

suggestion: Write this PowerShell file with a UTF-8 BOM; it contains non-ASCII comments, and Windows PowerShell can misdecode them without one.

Source: Linters/SAST tools


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: cda7aa4b-d954-4120-a7f9-64f4328f0b06

📥 Commits

Reviewing files that changed from the base of the PR and between cb39ee8 and f86d95b.

📒 Files selected for processing (7)
  • ci/matrix.yaml
  • ci/windows/build_common.psm1
  • ci/windows/build_cuda_cccl_python.ps1
  • ci/windows/test_cuda_cccl_examples_python.ps1
  • ci/windows/test_cuda_cccl_headers_python.ps1
  • ci/windows/test_cuda_compute_minimal_python.ps1
  • ci/windows/test_cuda_compute_python.ps1
🚧 Files skipped from review as they are similar to previous changes (2)
  • ci/matrix.yaml
  • ci/windows/test_cuda_compute_minimal_python.ps1

@NaderAlAwar

Copy link
Copy Markdown
Contributor Author

/ok to test bf971dc

@github-actions

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 3h 05m: Pass: 100%/522 | Total: 9d 15h | Max: 2h 43m | Hits: 57%/1259740

See results here.

@NaderAlAwar
NaderAlAwar merged commit 3614b03 into NVIDIA:main Jul 25, 2026
602 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in CCCL Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[cuda.compute]: Test Python 3.14 free threading on windows

2 participants