mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #35] [MERGED] AMD Support #74
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#74
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/35
Author: @rattus128
Created: 4/20/2026
Status: ✅ Merged
Merged: 4/21/2026
Merged by: @rattus128
Base:
master← Head:dev/linkless-hip📝 Commits (10+)
639124dAdd platform-specific defines to enable compilation with HIP659b3dcHIP async support needs access to the original functions on Linux3bff535Simultaneous cuda+rocm supportd53839bAssume nvidia if autodetection fails34557d9ROCm build scripta81e95fHIP: Windows support349e73bAdd Windows ROCm build script7421008Safely handle lib cleanup in model_vbarc6b8f27Improve validation and error handling in Windows ROCm build scriptfaea564Fix windows build script📊 Changes
19 files changed (+688 additions, -94 deletions)
View changed files
📝
.github/workflows/build-wheels.yml(+11 -20)📝
comfy_aimdo/control.py(+45 -6)📝
docker/cuda-on-manylinux.Dockerfile(+1 -11)📝
scripts/build-linux-aimdo.sh(+16 -9)➕
src-cuda/dispatch.c(+124 -0)➕
src-hip/dispatch.c(+133 -0)📝
src-posix/cuda-funchooks.c(+7 -19)➕
src-posix/module-load.c(+43 -0)📝
src-win/cuda-detour.c(+9 -15)➕
src-win/module-load.c(+16 -0)📝
src-win/shmem-detect.c(+48 -3)📝
src/control.c(+14 -1)📝
src/control.h(+1 -1)📝
src/cuda-hooks-shared.h(+7 -6)➕
src/gpu_abi.h(+90 -0)➕
src/gpu_dispatch.h(+77 -0)📝
src/model-vbar.c(+1 -0)📝
src/plat.h(+39 -2)📝
src/vrambuf.c(+6 -1)📄 Description
Contribution Agreement
Refactor Nvidia to link everything at runtime via libdl (and windows equivalents, and then implement AMD support via HIP the same way.
PR #2 is merged in with a conflict resolution and the basic rework for the runtime linkage.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.