Comfy-Org / Comfy-Org/ComfyUI

error launching with integrated graphics

Open
#2,602 1 comment 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

```
$ python main.py
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
```

I'm using the CPU edition of pytorch (`pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu`), on Ubuntu Jammy.

**Update**

I found the `--cpu` command line flag, which is then able to launch the service. Something in the graphics variant detection logic was defaulting to CUDA, even though no CUDA capable graphics card is installed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.