[GH-ISSUE #47] Spill kv-cache to nvme #26

Closed
opened 2026-11-04 01:39:08 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @maedoc on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/47

(hi first thx for this project, i'd not dreamed I could run such a model on a 2yo GPU!)

I've had some success with the ninfer 4090 project tiering kv cache to nvme, and on my system, there's no enough main RAM for keeping full kv cache, so I'm wondering if it would make sense to enable spilling kv cache out to an nvme ssd, so that across many different long agent sessions, refills stay rare. I'm thinking of taking a stab at it and sending a PR, but if you have initial thoughts I'd be happy to have them.

Originally created by @maedoc on GitHub (Sep 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/47 (hi first thx for this project, i'd not dreamed I could run such a model on a 2yo GPU!) I've had some success with the ninfer 4090 project tiering kv cache to nvme, and on my system, there's no enough main RAM for keeping full kv cache, so I'm wondering if it would make sense to enable spilling kv cache out to an nvme ssd, so that across many different long agent sessions, refills stay rare. I'm thinking of taking a stab at it and sending a PR, but if you have initial thoughts I'd be happy to have them.
Author
Owner

@Niko1221 commented on GitHub (Sep 28, 2026):

I will leave this opened. First I need to do some kernel magic and after that, I'll try this as well.

<!-- gh-comment-id:5866628657 --> @Niko1221 commented on GitHub (Sep 28, 2026): I will leave this opened. First I need to do some kernel magic and after that, I'll try this as well.
Author
Owner

@Niko1221 commented on GitHub (Sep 28, 2026):

Keeping this open to track the NVMe tier: it will build on the shared snapshot core from #57 once that's merged (see #52).

<!-- gh-comment-id:5875084491 --> @Niko1221 commented on GitHub (Sep 28, 2026): Keeping this open to track the NVMe tier: it will build on the shared snapshot core from #57 once that's merged (see #52).
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

The NVMe tier is part of the unified plan in #57 now (spill on eviction on the shared snapshot core). Closing in favour of #57.

<!-- gh-comment-id:5910283683 --> @Niko1221 commented on GitHub (Sep 30, 2026): The NVMe tier is part of the unified plan in #57 now (spill on eviction on the shared snapshot core). Closing in favour of #57.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#26
No description provided.