Can`t start ComfyUI windows portable for AMD gpu

C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
comfy-aimdo failed to load: Could not find module ‘C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_aimdo\aimdo.dll’ (or one of its dependencies). Try using the full path with constructor syntax.
NOTE: comfy-aimdo is currently only support for Nvidia GPUs
Fatal error in launcher: Unable to create process using '“D:\a\ComfyUI\python_embeded\python.exe” “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\python_embeded\Scripts\offload-arch.exe” ': ?? ??? ??? ??? ???.

[WARNING] offload-arch failed with return code 1

stderr

Windows fatal exception: access violation

Stack (most recent call first):
File “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda_init_.py”, line 182 in is_available
File “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_kitchen\backends\cuda_init_.py”, line 639 in register
File "C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_kitchen\backends\cuda_init
.py", line 650 in
File “”, line 488 in _call_with_frames_removed
File “”, line 999 in exec_module
File “”, line 935 in _load_unlocked
File “”, line 1331 in _find_and_load_unlocked
File “”, line 1360 in _find_and_load
File “”, line 488 in _call_with_frames_removed
File “”, line 1415 in handle_fromlist
File "C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_kitchen_init
.py", line 3 in
File “”, line 488 in _call_with_frames_removed
File “”, line 999 in exec_module
File “”, line 935 in _load_unlocked
File “”, line 1331 in _find_and_load_unlocked
File “”, line 1360 in _find_and_load
File “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\ComfyUI\comfy\quant_ops.py”, line 5 in
File “”, line 488 in _call_with_frames_removed
File “”, line 999 in exec_module
File “”, line 935 in _load_unlocked
File “”, line 1331 in _find_and_load_unlocked
File “”, line 1360 in _find_and_load
File “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\ComfyUI\comfy\memory_management.py”, line 5 in
File “”, line 488 in _call_with_frames_removed
File “”, line 999 in exec_module
File “”, line 935 in _load_unlocked
File “”, line 1331 in _find_and_load_unlocked
File “”, line 1360 in _find_and_load
File “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\ComfyUI\comfy\utils.py”, line 23 in
File “”, line 488 in _call_with_frames_removed
File “”, line 999 in exec_module
File “”, line 935 in _load_unlocked
File “”, line 1331 in _find_and_load_unlocked
File “”, line 1360 in _find_and_load
File “C:\Users\user\Desktop\ComfyUI_windows_portable_amd\ComfyUI_windows_portable\ComfyUI\main.py”, line 194 in

the comfy-aimdo warning is expected on AMD — that module is nvidia-only and should be harmless. the actual crash is the access violation in torch.cuda.is_available(), which usually means the HIP/ROCm runtime libraries aren’t being found.

the offload-arch error also suggests a path issue — it’s looking for python in D:\a\ComfyUI\ which looks like a CI build path, not your actual install path.

which AMD GPU do you have and do you have the HIP SDK installed? the AMD portable build needs the system HIP runtime to be present. if you’re on RDNA3 or newer, the latest AMD HIP SDK 7.x from amd.com should work.

That’s a so far unfixed bug in the portable amd version of ComfyUI. The path to python is hardcoded. And then Python is not found.

The fix is not this easy as this hardcoded path spreads across several lots of files and is in the binary itself, so not changeable. Which most probably explains why this isn’t fixed yet. No takers …

The current workaround is to create a ComfyUI folder in a folder called a at drive D (hopefully you have a drive with this letter), means: D:\a\ComfyUI, and copy over the python_embeded folder from the portable to this location. Then the AMD portable version should finally start fine.