mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #47] [MERGED] Handle Linux integrated GPU memory budgeting (CORE-128) #82
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#82
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/47
Author: @rattus128
Created: 5/7/2026
Status: ✅ Merged
Merged: 5/12/2026
Merged by: @alexisrolland
Base:
master← Head:dev/unified-headroom📝 Commits (1)
159abbeHandle Linux integrated GPU memory budgeting📊 Changes
6 files changed (+91 additions, -0 deletions)
View changed files
📝
src-cuda/dispatch.c(+1 -0)📝
src/control.c(+78 -0)📝
src/control.h(+4 -0)📝
src/gpu_abi.h(+4 -0)📝
src/gpu_dispatch.h(+3 -0)📝
src/plat.h(+1 -0)📄 Description
Detect integrated CUDA devices and reserve RAM headroom based on total shared memory. For Linux integrated GPUs, poll /proc/meminfo MemAvailable instead of cuMemGetInfo so eviction decisions respect system RAM pressure.
Contribution Agreement
This adds proper support for GDX spark.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.