Skip to content

CI: Always fetch the compute-sanitizer from the CTK 12.8.0 - #593

Merged
leofang merged 3 commits into
NVIDIA:mainfrom
carterbox:dching/latest-sanitizer
May 1, 2025
Merged

CI: Always fetch the compute-sanitizer from the CTK 12.8.0#593
leofang merged 3 commits into
NVIDIA:mainfrom
carterbox:dching/latest-sanitizer

Conversation

@carterbox

@carterboxcarterbox commented Apr 30, 2025

Copy link
Copy Markdown
Contributor

Description

We want to always use the latest compute-sanitizer because there could be bug fixes for the compute-sanitizer, and it is OK to use the newest compute-sanitizer on programs running with old CTK versions.

closes#594

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@copy-pr-bot

Copy link
Copy Markdown
Contributor

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.

@carterbox

Copy link
Copy Markdown
ContributorAuthor

/ok to test b86f71c

@carterbox

Copy link
Copy Markdown
ContributorAuthor

Probably need to change the modules list so that we have a cache miss.

@carterbox

Copy link
Copy Markdown
ContributorAuthor

/ok to test b22711c

@carterbox

Copy link
Copy Markdown
ContributorAuthor

Closing in favor of different approach #594

@github-actions

This comment has been minimized.

@leofang

Copy link
Copy Markdown
Member

Let me reopen this and look into it further

@leofangleofang reopened this May 1, 2025

@leofangleofang 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.

Let me purge the cache again and try this.

Comment thread.github/actions/fetch_ctk/action.yml Outdated
Comment thread.github/actions/fetch_ctk/action.yml Outdated
@leofang

Copy link
Copy Markdown
Member

/ok to test 28b585b

@leofangleofang added enhancement Any code-related improvements P0 High priority - Must do! CI/CD CI/CD infrastructure labels May 1, 2025
@leofang
leofang requested a review from rwgkMay 1, 2025 17:08
rwgk
rwgk approved these changes May 1, 2025

@rwgkrwgk 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.

LGTM — I will try this in combination with #578 right now, if you want to wait for the outcome.

Comment thread.github/actions/fetch_ctk/action.yml
@leofang

Copy link
Copy Markdown
Member

Let's merge for now.

@leofang
leofang merged commit bd770e1 into NVIDIA:mainMay 1, 2025
@leofangleofang changed the title CI: Always fetch the compute-sanitizer from the CTK 12.8.1CI: Always fetch the compute-sanitizer from the CTK 12.8.0May 1, 2025
@leofangleofang added this to the cuda-python 12.9.0 & 11.8.7 milestone May 1, 2025
@github-actions

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

leofang added a commit to carterbox/cuda-python that referenced this pull request May 2, 2025
…nitizer"
This reverts commit bd770e1, reversing
changes made to 19df0d9.
leofang added a commit that referenced this pull request May 3, 2025
* CI: Install latest compute-sanitizer separately from CTK
* Use mkdir -p to reuse CUDA_PATH
* BUG: Always start with clean CUDA_PATH when building cache
* REF: Setup CUDA component cache in TMP directory
Prevent collision with components already installed to the CUDA_PATH
* DEV: Skip non python-3.12 for debugging
* fix
* Revert "Merge pull request #593 from carterbox/dching/latest-sanitizer"
This reverts commit bd770e1, reversing
changes made to 19df0d9.
* use guess_latest.sh to get the latest CTK ver
* fix cache restoration
* fix cache restoration
* guess_latest needs wget
* dunno what I was thinking
* not sure if this would work on git for windows...
* fix
* give rsync a shot
* debug
* trailing slash, it's always the trailing slash
* for some reason --strip-components=1 does not work...
* the test runners do not have rsync
* restore full matrix
* move
* avoid rsync...
* fix
* add inline comments
---------
Co-authored-by: Leo Fang <leof@nvidia.com>
Co-authored-by: Leo Fang <leo80042@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CDCI/CD infrastructureenhancementAny code-related improvementsP0High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@carterbox@leofang@rwgk