[2025-02-24 12:51:43.895] [error] from comfy import model_management
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model_management.py”, line 166, in
[2025-02-24 12:51:43.896] [error] total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
[2025-02-24 12:51:43.896] [error]
[2025-02-24 12:51:43.897] [error] ^^^^^^^^^
[2025-02-24 12:51:43.897] [error] ^^^^^^^^^
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model_management.py”, line 129, in get_torch_device
[2025-02-24 12:51:43.898] [error] return torch.device(torch.cuda.current_device())
[2025-02-24 12:51:43.898] [error]
[2025-02-24 12:51:43.898] [error] ^^^
[2025-02-24 12:51:43.898] [error] ^^^^^^^^^^^
[2025-02-24 12:51:43.898] [error] ^^^^^^^^^^^
[2025-02-24 12:51:43.899] [error] ^^
File “/Users/rain/Documents/ComfyUI/.venv/lib/python3.12/site-packages/torch/cuda/init.py”, line 1029, in current_device
[2025-02-24 12:51:43.899] [error] _lazy_init()
[2025-02-24 12:51:43.899] [error]
File “/Users/rain/Documents/ComfyUI/.venv/lib/python3.12/site-packages/torch/cuda/init.py”, line 367, in _lazy_init
raise AssertionError(“Torch not compiled with CUDA enabled”)
[2025-02-24 12:51:43.899] [error]
AssertionError: Torch not compiled with CUDA enabled
To reset your virtual environment:
- Click Troubleshoot
- Click All
- Find Reset virtual environment, then click Reset
- Confirm by clicking the red Reset button
If you are still having issues, it is likely you have an invalid mirror or other user configuration issue. This could be from a previous version, or an interrupted installation.
- Click Troubleshooting
- Click All
- Run the Reinstall task
- Once the app restarts, instead of installing again, close the app
- In Finder, browse to your installation directory
- Rename the user directory - e.g. user.tmp
- Reinstall the app as normal
i run the reinstall again,it still error
Would you be able to upload your log files for us please, so we can take a look and figure out what’s going on?
Log file upload link: https://comfy.org/upload-logs
If you want to add them here instead, log file locations are in the ComfyUI Desktop User Guide.
ok,i uploading
It looks like you are unable to use the selected download mirror. The error below is an access denied error (403 Forbidden).
[2025-02-24 19:15:57.772] [info] error: Failed to unzip wheel: kornia-0.8.0-py2.py3-none-any.whl
Caused by: an upstream reader returned an error: io error occurred: HTTP status client error (403 Forbidden) for url (https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f2/33/7721a4f69dd5f020c30de456d7b948fea8d3897d9f29a51f7538948ee7e2/kornia-0.8.0-py2.py3-none-any.whl)
You’ll need to find a python package download mirror that works at your location.
thanks
Please start a new topic instead.