mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[PR #36] [MERGED] Add aarch64/ARM64 Linux build support #75
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#75
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/36
Author: @digital-shokunin
Created: 4/21/2026
Status: ✅ Merged
Merged: 4/27/2026
Merged by: @rattus128
Base:
master← Head:aarch64-support📝 Commits (1)
ea2daddAdd aarch64/ARM64 Linux build support📊 Changes
1 file changed (+35 additions, -5 deletions)
View changed files
📝
scripts/build-linux-aimdo.sh(+35 -5)📄 Description
Summary
uname -m) and select the appropriate funchook disassembler: capstone for aarch64 (as funchook recommends), distorm for x86_64sbsa-linuxtarget), falling back to sensible defaultsCUDA_INCLUDE_DIRandCUDA_STUB_DIRenv var overrides for non-standard CUDA installationsMotivation
Resolves #33. The
aimdo.sobinary is not included in the pip wheel for aarch64, soinit_device()fails and ComfyUI falls back to the legacy ModelPatcher with unreliable VRAM estimates. This is particularly impactful on unified-memory devices like the NVIDIA DGX Spark (GB10) where the legacy patcher frequently offloads entire models to CPU despite having 120+ GB of usable VRAM.Test environment
Build and runtime output:
Test plan
init_device(0)returnsTruewith active CUDA context🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.