Error trying to run Comfy UI for Amd
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Run Comfy locally
### Actual Behavior
I tried to run Comfy Windows Portable AMD and it didn't work. I got an error message referring to this invalid path in my local environment I think it is hard coded or issues with path generation.
D:\a\ComfyUI\python_embeded\python.exe
### Steps to Reproduce
Run run_amd_gpu.bat
### Debug Logs
```powershell
C:\ai-image-gen\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
setup plugin alembic.autogenerate.schemas
setup plugin alembic.autogenerate.tables
setup plugin alembic.autogenerate.types
setup plugin alembic.autogenerate.constraints
setup plugin alembic.autogenerate.defaults
setup plugin alembic.autogenerate.comments
Fatal error in launcher: Unable to create process using '"D:\a\ComfyUI\python_embeded\python.exe" "C:\ai-image-gen\ComfyUI_windows_portable\python_embeded\Scripts\offload-arch.exe" ': El sistema no puede encontrar el archivo especificado.
[WARNING] offload-arch failed with return code 1
[stderr]
Windows fatal exception: access violation
Stack (most recent call first):
File "C:\ai-image-gen\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda\__init__.py", line 182 in is_available
File "C:\ai-image-gen\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_kitchen\backends\cuda\__init__.py", line 639 in _register
File "C:\ai-image-gen\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:\ai-image-gen\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:\ai-image-gen\ComfyUI_windows_portable\ComfyUI\comfy\quant_ops.py", line 7 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:\ai-image-gen\ComfyUI_windows_portable\ComfyUI\comfy\memory_management.py", line 8 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:\ai-image-gen\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 25 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:\ai-image-gen\ComfyUI_windows_portable\ComfyUI\main.py", line 204 in
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.