mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #55] [MERGED] Dev/direct read #89
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#89
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/55
Author: @rattus128
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @rattus128
Base:
master← Head:dev/direct-read📝 Commits (5)
31aceedadd events APIs0b1a288hostbuf: added buffered direct file reader41e8585mmap: Implement linux bounce as MADV_DONTNEED13a4bb0hostbuf: Add async decommitment and reservationf7fa832mmap: return file handle📊 Changes
14 files changed (+371 additions, -7 deletions)
View changed files
📝
comfy_aimdo/host_buffer.py(+24 -0)📝
comfy_aimdo/model_mmap.py(+6 -0)📝
src-cuda/dispatch.c(+4 -0)📝
src-hip/dispatch.c(+4 -0)📝
src-posix/model-mmap.c(+13 -1)📝
src-win/model-mmap.c(+11 -1)📝
src/control.c(+3 -0)📝
src/gpu_abi.h(+5 -0)📝
src/gpu_dispatch.h(+8 -0)➕
src/hostbuf-decommit.c(+107 -0)➕
src/hostbuf-decommit.h(+44 -0)➕
src/hostbuf-file-reader.c(+114 -0)📝
src/hostbuf.c(+24 -5)📝
src/plat.h(+4 -0)📄 Description
Contribution Agreement
Implemented direct read from file -> GPU via ring buffer
Make decommit queue async
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.