Haidra-Org / horde-worker-reGen

The default client software to create images for the AI-Horde
https://aihorde.net/
GNU Affero General Public License v3.0
93 stars 42 forks source link

Initial AMD GPU Support #223

Closed niales closed 4 months ago

niales commented 4 months ago

This pr contains initial amd support. There are rocm versions of the main shell scripts that mirror the original but will setup and execute the app using rocm versions.

There are several ways to go about this so I'm open to rewriting this with the preferred design. For example modifying the base horde-bridge.sh to auto detect amd vs nvidia. Or even having a fork for the amd version.

There is one file updated to pass "--use-pytorch-cross-attention" to ComfyUI. There is one node added to speed up amd processing, the rest are shell scripts and environment files.

If nothing else I figure this will help show the changes that gets amd cards running.