Comfy-Org / Comfy-Org/ComfyUI

Slowness with lora and control net (any control net model) for Flux

Open
#4,757 12 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Expected Behavior

No high VRAM usage, and no extreme slowness with controlnet

### Actual Behavior

Technical details : latest version of comfy ui, 3090, pytorch 2.1 cuda 12.1, windows.

I currently use Comfy UI in production and this is really blocking because using multiple more than 32 rank lora on top of flux is extremely VRAM hungry, and using any control net with ControlNetApplyAdvanced or even the one for SD3/Hyuandit is extremely slow.

Comfy UI is currently not stable with my current configuration (windows is not a choice).

In case using GGUF doesnt help at all since speed is 1.8 times slower and control net support is not working for all models.

### Steps to Reproduce

Technical details : latest version of comfy ui, 3090, pytorch 2.1 cuda 12.1, windows.

Just use any control net, or high rank lora stacked.

### Debug Logs

```powershell
None
```

### Other

None

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.