mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #22] [MERGED] Dev/host mm #67
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#67
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/22
Author: @rattus128
Created: 3/13/2026
Status: ✅ Merged
Merged: 3/13/2026
Merged by: @rattus128
Base:
master← Head:dev/host-mm📝 Commits (2)
f34b782model-mmap: introduce3d8cb64Add hostbuf API📊 Changes
8 files changed (+328 additions, -3 deletions)
View changed files
📝
.github/workflows/build-wheels.yml(+2 -2)📝
build-linux-docker(+1 -1)➕
comfy_aimdo/host_buffer.py(+28 -0)➕
comfy_aimdo/model_mmap.py(+38 -0)📝
comfy_aimdo/torch.py(+4 -0)➕
src-posix/model-mmap.c(+95 -0)➕
src-win/model-mmap.c(+134 -0)➕
src/hostbuf.c(+26 -0)📄 Description
Contribution Agreement
Implement hostbuf allocator for pinned memory - so we don't have to use the pyt allocator.
Implement bouncable mmap - so we can free RAM on windows in giant massive chunks with pretty much no consequence.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.