mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #126] [MERGED] Add ability for aimdo to write VBAR contents back to RAM on eviction #127
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-aimdo#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-aimdo/pull/126
Author: @rattus128
Created: 10/20/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @rattus128
Base:
master← Head:prs/vbar-writeback📝 Commits (4)
15af197Add whole-tensor descriptor writes through the transfer queue62e1be7Propagate VBAR failures through allocation APIsd96e0e7Let owners complete writeback before VBAR evictionff46043Test whole-tensor pageout and failed writeback retention📊 Changes
17 files changed (+415 additions, -80 deletions)
View changed files
📝
comfy_aimdo/host_buffer.py(+19 -0)📝
comfy_aimdo/model_vbar.py(+32 -8)📝
src-cuda/dispatch.c(+1 -0)📝
src-hip/dispatch.c(+1 -0)📝
src-posix/xfer-file-plat.c(+18 -6)📝
src-win/xfer-file-plat.c(+18 -7)📝
src/gpu_abi.h(+1 -0)📝
src/gpu_dispatch.h(+3 -0)📝
src/hostbuf-file-reader.c(+42 -16)📝
src/malloc-graph.c(+22 -5)📝
src/model-vbar.c(+68 -24)📝
src/plat.h(+3 -2)📝
src/pyt-cu-plug-alloc-async.c(+16 -6)📝
src/vrambuf.c(+6 -2)📝
src/xfer-file.c(+16 -4)📝
src/xfer-file.h(+5 -0)➕
tests/vbar-pageout-cuda.py(+144 -0)📄 Description
This extends comfy-aimdo to be able to dynamically manage writable data (like KV caches).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.