Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI: Introduce per-PR kernel cache#9234

Merged
kmaehashi merged 6 commits into
cupy:mainfrom
kmaehashi:per-pr-cache
Jul 12, 2025
Merged

CI: Introduce per-PR kernel cache#9234
kmaehashi merged 6 commits into
cupy:mainfrom
kmaehashi:per-pr-cache

Conversation

@kmaehashi

@kmaehashi kmaehashi commented Jul 11, 2025

Copy link
Copy Markdown
Member

This PR introduces kernel caching for PRs.

Previously CI cache has only one layer. Cache is used for every PR but only updated after PR got merged. This made it difficult for PRs to complete CI within timeout if the PR's change contains cache-breaking changes, e.g. when modifying cupy/_core/_include.

This PR try to solve this problem by adding a second layer of cache - per-PR kernel cache. When testing PRs, both "main" cache (which is only updated after PR got merged) and "per-PR" cache are downloaded. After running CI in PRs, cache will be uploaded to "per-PR" cache.

@kmaehashi kmaehashi added cat:test Test code / CI prio:high labels Jul 11, 2025
@kmaehashi kmaehashi added the to-be-backported Pull-requests to be backported to stable branch label Jul 12, 2025
@kmaehashi kmaehashi self-assigned this Jul 12, 2025
@kmaehashi kmaehashi added this to the v14.0.0a2 milestone Jul 12, 2025
@kmaehashi kmaehashi marked this pull request as ready for review July 12, 2025 11:38
@kmaehashi kmaehashi merged commit 614281c into cupy:main Jul 12, 2025
7 of 8 checks passed
@kmaehashi kmaehashi deleted the per-pr-cache branch July 12, 2025 11:47
chainer-ci pushed a commit to chainer-ci/cupy that referenced this pull request Jul 12, 2025
gpinkert pushed a commit to ROCm/cupy that referenced this pull request Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:test Test code / CI prio:high to-be-backported Pull-requests to be backported to stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant