Skip to content

refactor: Move the new state hooks to Cache #1152 - #1226

Merged
akihironitta merged 2 commits into
codex/autoresearch-cache-pinningfrom
aki/refactor-1152
Oct 22, 2026
Merged

akihironitta merged 2 commits into
codex/autoresearch-cache-pinningfrom
aki/refactor-1152

Conversation

@akihironitta

@akihironitta akihironitta commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Targeted to #1152.

@copy-pr-bot

copy-pr-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown

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.

@autumnust

Copy link
Copy Markdown
Collaborator

bascially rehome the cache persistency related code and its tests? that looks reasonable to me.

Comment thread test/test_cache.py Outdated
else torch.arange(3)
)
cache = Cache(
entry=KVCacheEntry(key=pinned, value=torch.arange(4)),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this kind of hybrid pinning a realistic case in runtime?

@akihironitta
akihironitta merged commit 88e8ab0 into codex/autoresearch-cache-pinning Oct 22, 2026
5 checks passed
@akihironitta
akihironitta deleted the aki/refactor-1152 branch October 22, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants