Skip to content

[doc-only] cuda.core: document how to install nightly (top-of-tree) builds#2175

Merged
leofang merged 3 commits into
NVIDIA:mainfrom
matysanchez:hunter/issue-2166
Jun 8, 2026
Merged

[doc-only] cuda.core: document how to install nightly (top-of-tree) builds#2175
leofang merged 3 commits into
NVIDIA:mainfrom
matysanchez:hunter/issue-2166

Conversation

@matysanchez

Copy link
Copy Markdown
Contributor

Closes #2166

What

Adds an Installing the latest nightly (top-of-tree builds) section to cuda_core/docs/source/install.rst. The section explains how to use gh run download to grab the wheel artifact from the most recent successful CI run on main, with notes for picking your Python version, target platform, and CUDA major version.

Why

Per the issue, the equivalent section already exists in numba-cuda-mlir. The two repos share CI infrastructure, so the recipe transfers directly — only repo name, workflow file (ci.yml), and artifact pattern names needed adapting.

Tested

  • Verified gh run list -R NVIDIA/cuda-python -w ci.yml -b main -s success -L1 resolves cleanly against the live repo (returns the latest successful CI run).
  • Pure additive change — no surrounding content modified. Indentation matches the surrounding RST blocks.

Verification

branch: hunter/issue-2166
files-changed: 1
commit: 6479b7f

…uilds

Adds a new section to the cuda.core installation guide explaining how to
download and install the latest top-of-tree wheel artifacts published by
CI on every push to main, mirroring the workflow used by numba-cuda-mlir.

Closes NVIDIA#2166
@copy-pr-bot

copy-pr-bot Bot commented Jun 7, 2026

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.

@github-actions github-actions Bot added the cuda.core Everything related to the cuda.core module label Jun 7, 2026
@matysanchez

Copy link
Copy Markdown
Contributor Author

@leofang — when you have a moment, would you take a look? No rush.

I picked you based on merged 8 docs PRs in last 6 months; happy to address feedback or re-route to someone better if you're not the right person.

@matysanchez

Copy link
Copy Markdown
Contributor Author

@mdboom — when you have a moment, would you take a look? No rush.

I picked you based on merged 8 docs PRs in last 6 months; happy to address feedback or re-route to someone better if you're not the right person.

@leofang

leofang commented Jun 7, 2026

Copy link
Copy Markdown
Member

Please do not ping individual team members. We'll triage PRs during team sync.

Comment thread cuda_core/docs/source/install.rst Outdated
@leofang leofang added documentation Improvements or additions to documentation P1 Medium priority - Should do labels Jun 8, 2026
Per @leofang's review on NVIDIA#2175: the nightly/top-of-tree install
recipe is a developer concern, not end-user installation. Demote
the section from a top-level Installation subsection to the first
sub-subsection under Development environment (above 'Development
with uv').
@matysanchez

matysanchez commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review, @leofang — pushed c4319d8 moving the section to be the first sub-subsection under Development environment, above Development with uv. Promoted the section underline from --- to ~~~ accordingly.

Also — sincere apology for the cold pings yesterday. I shouldn't have @-mentioned individual team members; I missed the team-triage workflow note. Won't happen again on cuda-python or other NVIDIA repos. Happy to close and resubmit without those comments if you'd prefer, but otherwise I'll just leave it for triage at your team's normal cadence.

@leofang leofang left a comment

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.

Thanks, @matysanchez! If this PR is done, let's un-draft it!

@matysanchez matysanchez marked this pull request as ready for review June 8, 2026 17:50
@matysanchez

Copy link
Copy Markdown
Contributor Author

@leofang thanks Leo

@leofang leofang added this to the cuda.core v1.1.0 milestone Jun 8, 2026
@leofang

leofang commented Jun 8, 2026

Copy link
Copy Markdown
Member

/ok to test df0bb20

@leofang leofang enabled auto-merge (squash) June 8, 2026 19:34
@github-actions

This comment has been minimized.

@leofang leofang merged commit 7e18784 into NVIDIA:main Jun 8, 2026
26 of 27 checks passed
@github-actions

github-actions Bot commented Jun 8, 2026

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

leofang added a commit to leofang/cuda-python that referenced this pull request Jun 9, 2026
…rce" under "Development environment"

Make "Installing from Source" consistently a subsection of
"Development environment" across all three components instead of a
top-level sibling, matching the intent of the developer-workflow group
introduced in NVIDIA#2175.

- cuda.core: drop "Installing from Source" from --- to ~~~ (now under
  Development environment, as a sibling of nightly / uv / pixi).
- cuda.bindings: drop "Installing from Source" from --- to ~~~, and
  drop its "Requirements" and "Editable Install" subsections from ~~~
  to ^^^ accordingly.
- cuda.pathfinder: drop "Installing from Source" from --- to ~~~ in
  the new install.rst added earlier in this branch.

Also bump SPDX copyright headers on touched existing files to
2025-2026; the new cuda_pathfinder install.rst uses 2026.
leofang added a commit that referenced this pull request Jun 10, 2026
…unify "Development environment" structure (#2187)

* [doc-only] cuda.{bindings,pathfinder}: document how to install nightly (top-of-tree) builds

Extends the cuda.core change in #2175 to the remaining cuda-python
components named in #2166 (which also covers cuda.bindings and
cuda.pathfinder).

cuda_bindings:
  - Add a new "Development environment" section to install.rst with a
    "Installing the latest nightly (top-of-tree builds)" subsection,
    matching the cuda.core layout. Artifact pattern includes the CUDA
    major (cuda13*) since cuda-bindings wheels are CUDA-versioned.

cuda_pathfinder:
  - Add a new install.rst (PyPI / Conda / Development environment with
    nightly subsection / Source). cuda.pathfinder previously had no
    standalone install page. Nightly uses the single pure-Python
    cuda-pathfinder-wheel artifact (no python/platform/CUDA selection
    needed).
  - Wire install.rst into the toctree in index.rst.

* [doc-only] cuda.{core,bindings,pathfinder}: nest "Installing from Source" under "Development environment"

Make "Installing from Source" consistently a subsection of
"Development environment" across all three components instead of a
top-level sibling, matching the intent of the developer-workflow group
introduced in #2175.

- cuda.core: drop "Installing from Source" from --- to ~~~ (now under
  Development environment, as a sibling of nightly / uv / pixi).
- cuda.bindings: drop "Installing from Source" from --- to ~~~, and
  drop its "Requirements" and "Editable Install" subsections from ~~~
  to ^^^ accordingly.
- cuda.pathfinder: drop "Installing from Source" from --- to ~~~ in
  the new install.rst added earlier in this branch.

Also bump SPDX copyright headers on touched existing files to
2025-2026; the new cuda_pathfinder install.rst uses 2026.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.core Everything related to the cuda.core module documentation Improvements or additions to documentation P1 Medium priority - Should do

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document how to get the latest nightly in the developer guide

2 participants