Skip to content

AMD Support#35

Merged
rattus128 merged 32 commits into
masterfrom
dev/linkless-hip
Apr 21, 2026
Merged

AMD Support#35
rattus128 merged 32 commits into
masterfrom
dev/linkless-hip

Conversation

@rattus128
Copy link
Copy Markdown
Collaborator

Contribution Agreement

  • I agree that my contributions are licensed under the GPLv3.
  • I grant Comfy Org the rights to relicense these contributions as outlined in CONTRIBUTING.md.

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.

asagi4 and others added 30 commits March 18, 2026 20:17
These are deprecated on HIP. Apparently you're supposed to use device and stream APIs
Instead of building with the nvidia SDK, use the runtime function
getting and a ducktype header to eliminate the dependency.
The hip way was correct and cuda needed to catch up. Factor it out
to get the os stuff split down OS and dedup the core in dispatch.
@rattus128 rattus128 changed the title Dev/linkless hip AMD Support Apr 20, 2026
@0xDELUXA
Copy link
Copy Markdown

0xDELUXA commented Apr 20, 2026

I thought I had some commits here as well, but GitHub says "Think again" XD

I must have an alter ego that shows up in https://github.com/Comfy-Org/comfy-aimdo/pull/35/commits.

@asagi4 asagi4 mentioned this pull request Apr 20, 2026
2 tasks
@asagi4
Copy link
Copy Markdown
Contributor

asagi4 commented Apr 21, 2026

I tried this and things seem to be working fine, so at least immediately I'm not seeing this causing any regressions and model switching behaviour is improved, compared to without aimdo.

@rattus128 rattus128 merged commit b8ed596 into master Apr 21, 2026
8 checks passed
@rattus128 rattus128 deleted the dev/linkless-hip branch April 28, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants